I am building a treeview with a jQuery plugin called jquery-treeview. Building up this treeview takes a lot of time (ca. 5-7 sec) and I want to show a spinning wheel or a progress bar when the page is loading. Does anyone know how to do that? I only found solutions for loading videos or images where it is known how much data has to be loaded.
A throbber, also known as a loading icon, is an animated graphical control element used to show that a computer program is performing an action in the background (such as downloading content, conducting intensive calculations or communicating with an external device).
The 4-Second Rule. If you want users to stay on your app, don't use spinners for processes that take longer than 4 seconds to load. A research study has found that the tolerable wait time for users is 4 seconds. This finding means that their behavioral intentions begin to change after 4 seconds.
Try this website:
http://fgnass.github.com/spin.js/
You can create a spinner of your choice and then they give examples of how to use it below.
Hope that helps :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With