www.webdeveloper.com
Results 1 to 3 of 3

Thread: window.open / location.href Issue

  1. #1
    Join Date
    Jul 2007
    Posts
    461

    window.open / location.href Issue

    Hi I'm using this Jumpbox script (http://www.davesite.com/webstation/js/theory1jump.shtml) and when I try to get the items to open in a new window, IE's popup-blocker goes off.

    Code:
    window.open(jump1.myjumpbox.options[selectedIndex].value, 'myWindow'); return false;
    ..any suggestions?

    Thank you

  2. #2
    Join Date
    Mar 2007
    Location
    U.K.
    Posts
    1,127
    Quote Originally Posted by theflyingminst View Post
    Hi I'm using this Jumpbox script (http://www.davesite.com/webstation/js/theory1jump.shtml) and when I try to get the items to open in a new window, IE's popup-blocker goes off.
    User-requested popups aren't usually blocked unless configured to do so. Check the settings for the zone you are on.
    Where used, return should be executed unconditionally and always as the last statement in the function.

    That's my signature, it's not part of the damn post!

  3. #3
    Join Date
    Jul 2007
    Posts
    461
    I just ended up doing some IE conditions since after some more research I found that IE isn't very liberal with onchange & url's.

    To be sure of it I tested the same function with an onclick button instead and it was fine.

    Thanks much!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles