Posted By

mountainash on 01/27/07


window flash

Versions (?)

Last Edited at 01/27/07 10:23pm

Viewed 3 times

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 = ''", 5*1000 );

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.