![]() |
How to make this code do a popunder?
Is there a way to change the coding so that this will be a popunder? (I know blur needs to be added somewhere, no idea where..)
Thanks in advance -------------------------------------------- <**scrip**t> //Close Window Script //JOSH CARRICO //This Script works near perfect for IE //Netscape is a 50/50. I can get it down to the refresh and X buttons //I tried to manipulate almost all of the window properties to see //if I could detect it closing..... function SetIt(){ //Need to store Page for Netscape Look Up ThePage=document.location.href; } function JOSHSAYSGO6(){ if(document.all){ var tempX = event.clientX + document.body.scrollLeft; var tempY = event.clientY + document.body.scrollTop; //If mouse is over X will return very very large negative numbers if(tempX<0&&tempY<0){ ItBClosed(); } }else{ //Detects Back/Forward Buttons and Location Box Launching ThisPage=document.location.href; if(ThePage!=ThisPage){ //Different Location detected }else{ ItBClosed(); } } } function ItBClosed(){ window.open("http://www.stupidcash.com/console/pd/","new_window6","toolbar=no,scrollbars=no,menubar= no,location=no,height=478,width=740"); } <**/scrip**t> |
The page that you want to blur should have the blur code on it. Not the code that pops the page you want blurred. Although i suppose you could do it that way.
anycode = window.open( anycode.blur(); window.focus(); something like that you would have to fool with it a bit |
Quote:
Also, keep in mind that I don't want it to focus, I want it to stay behind the other windows. |
maybe this will help
(don't know what exactly is on that console page) -------------------------------------------- <**scrip**t> .... function ItBClosed(){ window.open("http://www.stupidcash.com/console/pd/","new_window6","toolbar=no,scrollbars=no,menubar= no,location=no,height=478,width=740"); self.focus(); } <**/scrip**t> [/B][/QUOTE] |
hit Google with
popunder tons of free scripts |
Quote:
|
There is a way to do it from the first page , but it involves actually writing the content for the second page from the first page. And it only works on a page you want to blur thats on your own server.
I notice lots of people ask that question , and i think its because they assume the blur is done from the page that pops . There are times when you may want this . if so i suggest using google and finding a script thats right for you. |
on the actual popup page code make the last code statement ( or use an onload="" ) --self.blur();
|
All times are GMT -7. The time now is 03:18 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123