Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gemblue/jqloader

JQLoader is a Jquery plugin to show a loading bar, or full screen loading
https://github.com/gemblue/jqloader

Last synced: about 2 months ago
JSON representation

JQLoader is a Jquery plugin to show a loading bar, or full screen loading

Awesome Lists containing this project

README

        

# JQLoader
JQLoader is a Jquery plugin to show a loading bar, or full screen loading

# Usage

Just include `JQLoader.css` and `JQLoader.js` in your HTML page.

Full code sample :

```html

body{
font-family:calibri;
}

.div_sample{
width:200px;
height:200px;
border:1px solid #dedede;
}

JQLoader


JQLoader is a Jquery plugin to show a loading bar, or full screen loading

Try our the Sample :

Full Screen Loading

Standard Theme


Open Standard
Close Standard

Bottom Bar Theme


Open
Close

Loading on the div

Open div Standard
Close div Standard



$(document).ready(function(){

// Full screen standard
$('#open_standard').click(function(){

$( "body" ).JQLoader({
theme: "standard",
mask: true,
background: "#444",
color: "#fff"
});

});

$('#close_standard').click(function(){

$( "body" ).JQLoader({
action: "close"
});

});

// Div standard
$('#open_div_standard').click(function(){

$( ".div_sample" ).JQLoader({
theme: "standard",
mask: true,
background: "#fff",
color: "#fff"
});

});

$('#close_div_standard').click(function(){

$( ".div_sample" ).JQLoader({
theme: "standard",
mask: true,
background: "#fff",
color: "#fff",
action: "close"
});

});

// Full screen
$('#open_bottom').click(function(){

$( "body" ).JQLoader({
theme: "bottom",
action: "open"
});

});

$('#close_bottom').click(function(){

$( "body" ).JQLoader({
theme: "bottom",
action: "close"
});

});
})

```