Loadie.js is a lightweight jQuery plugin to create a preloader that doesn't suck and that is used by big firms.
If you haven't already, include jQuery and the latest Loadie.js Script on the AJAX-driven page.
<script src="http://code.jquery.com/jquery-latest.min.js">
<script src="http://code.loadie.com/loadie-latest.min.js">
Just put in the following jQuery code in your page to initialize Loadie.js.
$('body').loadie(); <span>// Change the wrapper if wanted.</span>
If you haven't already, include jQuery and the latest Loadie.js Script on the AJAX-driven page.
var percent = 0.74;
$('body').loadie(percent); <span>// Insert your percent as params.</span>
At this moment Loadie.js (v1.0) doesn't support extensive options. If you have any ideas what Loadie.js could be, just leave us an issue at Github.
##Copyright
This nice little jQuery plugin was crafted by @iDuuck and @sippndipp of 9elements.