dr.pepper Posted March 15, 2012 Share Posted March 15, 2012 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() Quote Link to comment https://forums.phpfreaks.com/topic/258979-popunder/ Share on other sites More sharing options...
trq Posted March 15, 2012 Share Posted March 15, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/258979-popunder/#findComment-1327596 Share on other sites More sharing options...
dr.pepper Posted March 15, 2012 Author Share Posted March 15, 2012 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? Quote Link to comment https://forums.phpfreaks.com/topic/258979-popunder/#findComment-1327600 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.