View Full Version : timed opening for a customizable window


tedley
03-28-2003, 02:34 AM
I've been using a code I found here for using a BUTTON to open a customizable window. Below is the snippet of code that opens the window when you use the button...

<input type="button" Value="BUTTON-TEXT" style="font-family:Boulder" style="background:#2E8B57" ONCLICK="window.open('playlistselection3.html', 'Sample', 'toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,copyhistory=y es,width=1020,height=1000,left=0, top=0')">

... and it's not too important here but for the sake of the curious, you can see this window is very large, but doesn't have all the toolbars, scrollbar etc. It's just a whole page that takes up the whole of a larger monitors screen.

What I'm trying to do is have a window open, a certain amount of time after the page loads, like an ad for my freinds(the window.html) within the page the visitor is on. Using the above code I can customize it the way I like, ofcourse the ad will be smaller and I can figure out how to do the targeting, but I need help with switching from the button, to an automatic timed opening after the page my visitor is on loads, like maybe 10 seconds later.

How is this possible? Thank you for any help.

Alcy
03-28-2003, 03:06 AM
http://javascript.internet.com/navigation/delayed-popup.html

tedley
03-28-2003, 03:22 AM
Hey thanks for finding that for me! I'd still be really grateful for anyone who can somehow adapt that to be as customizable as the button one I had been using, but I don't know that much about changing javascripts, except where the change I want to make is really obviously configurable. Thanks again I'm gonna try it!