I want to create a page that when it opens it waits about five seconds and then redirects the user to another page. Is this normally done with JS? What is the easiest way to do this rails.
Thanks.
I want to create a page that when it opens it waits about five seconds and then redirects the user to another page. Is this normally done with JS? What is the easiest way to do this rails.
Thanks.
There’s actually an HTML meta tag that will handle redirects.
http://www.web-source.net/html_redirect.htm
Just change the content=“x” to 5 so it’ll indicate to the browser to wait 5 secs before redirecting to the given address.
Regards, James