Fork me on GitHub

Loadie.js is a lightweight jQuery plugin to create a preloader that doesn't suck and that is used by big firms.

Start Add progress Finish Download

1. How to include Loadie.js

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="loadie.min.js">

2. How to initialize Loadie.js

Just put in the following jQuery code in your page to initialize Loadie.js.

$('body').loadie(); // Change the wrapper if wanted.

2. How to update Loadie.js

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); // Insert your percent as params.

Options

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 of 9elements.

@9elements folgen @iduuck folgen

License

The MIT License (MIT)

Copyright (c) 2013 Dominik Schmidt

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.