PDA

View Full Version : Delayed Open & Timed Close Pop-Up


serendipity
05-25-2004, 06:01 PM
Hi,

I found this: http://www.umsl.edu/~muns/javascript/summer2001/auto-popup-window.html

But unfortunately, it doesn't really open a webpage, instead it just kinda opens a window for a link to be clicked to open up a new webpage. I know of self-closing or timed pop-ups but I can't seem to find some that does have "timing" on both opening (delay) and closing.

Does anyone here know where I can get one? Or maybe just give me pointers on how to modify an existing script to add a delayed pop-up opening...

Thanks!

liorean
05-25-2004, 06:13 PM
For delaying opening, use a timeout in the original document. For delaying closing, use a script in the document within the popup, or a timeout triggered by the original timeout in the original document.

serendipity
05-25-2004, 08:40 PM
I see... That's a great idea :) I was just thinking of doing the scripts on the original page not on the page that'll be the pop up.

Thanks!