To use spinners in div.ibox-contnet place the spinner code in div and add sk-loading
css class. This class will enable/disable spinner so you can easily build own simple function to manage it.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitat.
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird | |
4 | Tom | Bortec | @mader |
Simple script that handle the css class in this example:
$('#toggleSpinners').on('click', function(){ $('#ibox1').children('.ibox-content').toggleClass('sk-loading'); $('#ibox2').children('.ibox-content').toggleClass('sk-loading');})