![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Hardcore 4 Life™
Join Date: Mar 2003
Location: Everett, WA
Posts: 2,553
|
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Oct 2003
Location: The White House
Posts: 150
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Hardcore 4 Life™
Join Date: Mar 2003
Location: Everett, WA
Posts: 2,553
|
Quote:
Also, keep in mind that I don't want it to focus, I want it to stay behind the other windows. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Nov 2001
Location: Poland
Posts: 219
|
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] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Aug 2002
Posts: 5,235
|
hit Google with
popunder tons of free scripts |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Hardcore 4 Life™
Join Date: Mar 2003
Location: Everett, WA
Posts: 2,553
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
So Fucking Banned
Join Date: Oct 2003
Location: The White House
Posts: 150
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Feb 2003
Location: Right Here. Right Now.
Posts: 596
|
on the actual popup page code make the last code statement ( or use an onload="" ) --self.blur();
__________________
Need a Dedicated Box with BALLS ? How about a Dedicated Server starting at just $49 per month. |
![]() |
![]() ![]() ![]() ![]() ![]() |