Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    window.open works in Firefox but not IE

    I have the following in my page:

    <a href='#' onClick='window.open("viewimage.php?photo=$photo_id", "Photo Viewer" , "toolbar=no, location=no, menubar=no, resizable=yes, scrollbars=yes, width=600, height=600")'> x </a>

    this works in Firefox, but not IE....


    any ideas why?

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Posts
    679
    Thanks
    0
    Thanked 16 Times in 15 Posts
    IE chokes saying it is an invalid argument. It is because it does not like the empty space in the title "Photo Viewer" , change it to "Photo_Viewer".

    /Bob

  • #3
    Regular Coder Ranger56's Avatar
    Join Date
    Mar 2005
    Location
    Kent, WA.
    Posts
    783
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Because IE sucks...maybe...

  • #4
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Ranger56
    Because IE sucks...maybe...
    amen, brutha.


    jeez I was beating myself up... I couldn't figure this one out. Thanks a bunch! I am glad to know that it is a small fix.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •