When I open my index page, I would like to redirect to another page after a set amount of time. Before the time expires I would like to display an animated loading icon centered in the screen. How do I go about doing this in jquery?
Page Redirect Question
Posted 26 April 2014 - 12:31 AM
This is fairly straightforward. You'll want to use window.setTimeout() for specifying how long to wait. The function inside of setTimeout will contain your redirect code.
As for the loading image, just make that the only content on the page.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users