Excellence WebMenu Maker
htmlship1_ad.gif (6211 字节)
HtmlShip
 
Excellence Html Compress
 
OO Picture Game
Hot Software
Wav to mp3 Software
Excellence Killer
Hot Link
Uxiu Software
WebPictures Downloader

Java menu script>Menu Make>Close Window

If you have JavaScript open a new window, it's a piece of cake to close it after a certain number of seconds of being open. Just enter in the time in milliseconds (i.e. 5000 = 5 secs) and it your window will close after the appropriate number of seconds.
 

 

The JavaScript Source: Navigation: Close Window

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!


<!-- ONE STEP TO INSTALL CLOSE WINDOW:

1. Add the onLoad event handler into the BODY tag -->

<!-- STEP ONE: Insert the onLoad event handler into your BODY tag -->

<BODY onLoad="setTimeout(window.close, 5000)">


<!-- Then use the script at

http://navigation.javascriptsource.com/popup-page.html

to easily open a window, and then this one if you
need to close it after a certain number of seconds.

-->

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 0.57 KB -->

 

Copyright © 2002-2003 Excellence Software, Inc.All rights reserved.