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

On Sun, Jan 17, 2010 at 11:22 AM, tashfeen.ekram
<[email protected]>wrote:

> 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.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to