Rails: How to preload a message to user
Posted
by
Michael
on Stack Overflow
See other posts from Stack Overflow
or by Michael
Published on 2012-09-12T00:06:08Z
Indexed on
2012/09/12
3:38 UTC
Read the original article
Hit count: 112
JavaScript
|ruby-on-rails
I have a Rails based prelaunch site that has some rotating background images (which are important for selling the idea of the site) that are taking too long to load, such that the users are leaving the site before they load. The only thing they're seeing is the email submission box.
What's a good way to show a message to the users that the site will take some time to load but then have that message disappear after a reasonable period of time. I'm guessing a jQuery fadeOut() with a timer, but I'm not sure how long to set the timer for, because I'm not sure at what time it would start counting.
Any suggestions?
© Stack Overflow or respective owner