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.
<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.