Delayed redirect


/ Published in: JavaScript
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. setTimeout( "window.location.href = 'http://walkerwines.com.au/'", 5*1000 );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.