-
Displaying a gif before a page loads for a fixed amount of seconds
Hi all,
I want to implement this on my website: http://article.onlinewebtool.com/sho...cript-and-css/
However, I don't want the loading gif to just display until the page loads. I want the gif to display for a fixed amount of time.
So, for example, if I want that loading gif to display for 15 seconds before the page is displayed, how do I do that?
Thanks.
-
Use setTimeout and call the function that shows content and hides loader in setTimeout, not in window.onload.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks