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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-06-2003, 02:53 PM   #1
Hardcore J
Hardcore 4 Life™
 
Hardcore J's Avatar
 
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>
Hardcore J is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2003, 03:35 PM   #2
George Bush Jr.
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
George Bush Jr. is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2003, 09:14 PM   #3
Hardcore J
Hardcore 4 Life™
 
Hardcore J's Avatar
 
Join Date: Mar 2003
Location: Everett, WA
Posts: 2,553
Quote:
Originally posted by George Bush Jr.
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
How would I put that into a ja-va scr*pt ?? I'm not very good at any coding languages other than HTML..

Also, keep in mind that I don't want it to focus, I want it to stay behind the other windows.

Last edited by Hardcore J; 10-06-2003 at 09:19 PM..
Hardcore J is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2003, 09:19 PM   #4
Anothers
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]
Anothers is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2003, 09:21 PM   #5
sumphatpimp
Confirmed User
 
Join Date: Aug 2002
Posts: 5,235
hit Google with

popunder

tons of free scripts
sumphatpimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2003, 09:46 PM   #6
Hardcore J
Hardcore 4 Life™
 
Hardcore J's Avatar
 
Join Date: Mar 2003
Location: Everett, WA
Posts: 2,553
Quote:
Originally posted by George Bush Jr.
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
Looks like this was correct, in the body on the page that I wanted to blur I put in onload="window.blur();" and it works perfectly.
Hardcore J is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2003, 11:18 PM   #7
George Bush Jr.
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.
George Bush Jr. is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-06-2003, 11:40 PM   #8
berg.the.red
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.
berg.the.red is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.