Posted By

daipratt on 09/03/10


Tagged

popup pop-up popunder pop-under


Versions (?)

Launch a popunder using Javascript that has a default browser setup


 / Published in: JavaScript
 

URL: http://daipratt.co.uk

  1. //Get required href
  2. sHref = "http://zoocha.com";
  3.  
  4. //Open window and then blur
  5. window.open(sHref,"_blank","toolbar=1,location=1,directories=1,scrollbars=1,resizable=1,status=1,menubar=1").blur();
  6.  
  7. //Forces current window to stay on top
  8. window.focus();

Report this snippet  

You need to login to post a comment.