This time I will share jQuery Plugin and tutorial about jQuery Plugin To Animate The Grids Of An Image – GridImageAnimations, hope it will help you in programming stack.
GridImageAnimations is a fancy jQuery plugin that splits a given image to several grids and you can then animate them when needed.
How to use it:
1. Load the jQuery GridImageAnimations plugin after jQuery library and we’re ready to go.
1 |
< script src = "//code.jquery.com/jquery.min.js" ></ script > |
2 |
< script src = "gridImageAnimation.js" ></ script > |
2. Call the main function gridImageAnimation
on the target image and specify the animation type (fadeIn or fadeOut) you prefer.
1 |
$( '.myImg' ).gridImageAnimation({ |
3. Config the animation with the following options.
01 |
$( '.myImg' ).gridImageAnimation({ |
This awesome jQuery plugin is developed by carloVentrella. For more Advanced Usages, please check the demo page or visit the official website.