Skip to content

A little image loader plugin for jQuery that mimics the style of a slot machine.

Notifications You must be signed in to change notification settings

navgarcha/jquery-slotload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

jQuery SlotLoad Plugin v0.1

<img data-load="imgs/product_pic.jpg" src="imgs/blank.gif" />

Example Usage

$('#images-wrapper').slotload();

$('#img-wrapper, #img-wrapper-more').slotload({
    loadingClass: 'slot-effect',
    onComplete: function() {
        // Apply a green border to each image once it's loaded and finished animating
        $(this).css('border', '1px solid green');
    }
});

Demo

http://jsfiddle.net/navgarcha/a53Jp/embedded/result/

Contact

About

A little image loader plugin for jQuery that mimics the style of a slot machine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published