Posted By

mountainash on 01/27/07


Tagged

location time window flash move href timeout splash shift


Versions (?)

Who likes this?

9 people have marked this snippet as a favorite

Hirmine
basicmagic
vali29
SpinZ
mountainash
Unreal
seanpowell
guo3823538
Beppoi


Delayed redirect


 / Published in: JavaScript
 

Handy for after submitting a form or moving sites and wanting to tell users about the change. Just change the URL (can be absolute or relative) and the timeout. Shown here as 5 seconds.

  1. setTimeout( "window.location.href = 'http://walkerwines.com.au/'", 5*1000 );

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Unreal on June 23, 2009

Nice, thanks. :)

You need to login to post a comment.