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
<tashfeen.ekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.