For usage, visit : http://www.mimiz.fr/en/jquery-loader-plugin/
And for a demo : http://demos.mimiz.fr/jquery/loader
The usage is quite simple ...
To open the loader, use this
$.loader({
content:'Loading ...'
});
And to close the loader :
$.loader("close");
- content : HTML Code, the content of the popin. Default is :
'<div>Loading …</div>
- className : the CSS class name for the loader. Default is : loader
- id : set the id of the loader. Default is jquery-loader
- height : set the height of the popin in pixels. Default is 60
- width : set the width of the popin in pixels. Default is 200
- zIndex : set the z-index of the popup. Default is 30000
- background : set the background opacity and the id of the background. Default is
{opacity:0.4, id:’jquery-loader-background’ }
For helping in development, you will need to have node.js installed and, after forking and cloning, in the root directory of the project run the folowwing commands :
npm install
bower install
grunt test
grunt