View Full Version : timed redirecting for closure of window.. can anyone help?
me-so-sleepy
12-13-2002, 02:01 PM
yea i want to know if there is a code an if so what it is.. for a timed redirect link thing that instead of takes you to a new page it closes the window (for use in a custom sized pop up window)
thnx
Matt
Nightfire
12-13-2002, 04:44 PM
I think I understand you
<script>
function closeWindow(){
window.close();
}
setTimeout("closeWindow()",4000)
</script>
That'll close the window in 4 seconds, change the numbers in red to change the time you want to close the window
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.