GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   java Problemow! (https://gfy.com/showthread.php?t=89407)

Darren 11-21-2002 08:19 AM

java Problemo!
 
I want to add width and height properties to the exiting window?


closetime = 0; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds

function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=0,top=0,width=" + WIDTH + ",height=" + HEIGHT;
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}

function doPopup() {
url = "general_use/pop.html";
width = 350; // width of window in pixels
height = 550; // height of window in pixels
delay = 3; // time in seconds before popup opens
timer = setTimeout("Start(url, width, height)", delay*1000);
}

function unload() {
if ( window.name.substr(0,9) != "OurWindow" ){
window.open('http://www.penis-health.com/exit.html', "OurWindow");
}
}

gornyhuy 11-21-2002 09:01 AM

Go to:
http://javascript.internet.com/gener...up-window.html

and all your problems will be solved.


All times are GMT -7. The time now is 02:20 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123