Jump to content

Popunder


dr.pepper

Recommended Posts

I know it's a bad idea but i've been asked by a client to develop a popunder. This means the window will pop up under (behind) the current window. When googling i've found a lot which don't do this and only pop up over the current window. Does anyone know of a script which works in this way and works in all browsers? The most common script seems the be the one below but this only pops up and not under.

 

var popunder="http://www.yahoo.com"
var winfeatures="width=800,height=510,scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=1,directories=0"

win2=window.open(popunder,"",winfeatures)
win2.blur()
window.focus()

Link to comment
Share on other sites

Most pop-ups are blocked by pop-up blockers or people have them set to open in new tabs instead.

 

There is no way of doing this reliably.

 

Thanks for your quick response. Say someone didn't have a pop-up blocker or to open in new tabs, is there a way to do it?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.