Loadie.js
Loadie.js is a lightweight jQuery plugin to create a preloader that doesn't suck and that is used by big firms.
Install / Use
/learn @9elements/Loadie.jsREADME
Loadie.js is a lightweight jQuery plugin to create a preloader that doesn't suck and that is used by big firms.
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="js/jquery.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.
3. 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.
4. Update your CSS files
If you are running a web page with a fixed header or something fixed or positioned absolute on the top, your loadie will not be visible, because there is something that is called z-index.
.loadie { z-index: 9999; }
Insert this little snippet into your css file and everything should work fine.
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.
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
