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 3 of 3
  1. #1
    TrainReq
    Guest

    Getting a link to open up along with a popunder

    I am trying to get a link to open in target=_blank and have a popunder go on at the same exact time... but in IE... it lets the popunder go through but the target=_blank link gets blocked by the IE popup blocker.... in Firefox it does just fine (pops up the target=_blank URL as well as the popunder)... but IE has such strict popup blockers...

    See at http://nightstarproductions.com/popunder.html

    It is really important that I get the link to go in target=_blank as well as have the pop under go on as soon as they click the link

  • #2
    Senior Coder BarrMan's Avatar
    Join Date
    Feb 2005
    Location
    Israel.
    Posts
    1,644
    Thanks
    69
    Thanked 83 Times in 82 Posts
    Try this:
    Code:
    <html>
    <head>
    <script type="text/javascript">
    function popunder() {
    
    profile = window.open('http://www.yahoo.com','','width=1,height=1,left=1,top=1').blur();
    window.focus();
    setTimeout("profile.close()",1000);
    window.open("http://www.google.com");
    }
    </script>
    </head>
    <body>
    <a href="#" onclick="popunder(); return false;"> CLICK </a>
    </body>
    </html>

  • #3
    TrainReq
    Guest
    it still blocks google.com (and lets the popunder go through)


  •  

    Posting Permissions

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