Show spinning wheel or progress bar when loading website

I am creating a treeview with a jQuery plugin called jquery-treeview. It takes a long time to create this tree (about 5-7 seconds), and I want to show a spinning wheel or progress bar when the page loads. Does anyone know how to do this? I just found solutions for downloading videos or images where it is known how much data needs to be downloaded.

+5
source share
2 answers

Try this website:

http://fgnass.github.com/spin.js/

You can create a spinner of your choice, and then give examples of how to use it below.

Hope that helps :)

+12
source

Hiya . http://jsfiddle.net/hEB7d/ http://jsfiddle.net/Eh8tU/ ( )

Bruv, twitter bootstrap, , .

, , on load on success .

+1

All Articles