jquery.gridrotator是一款非常实用的响应式图片展示画廊插件。这款图片展示画廊插件将图片像网格一样排列,然后随机将某个格子中的图片翻转显示另一张图片。共有6种效果。
HTML结构:
HTML结构非常简单。
options.maxStep
step : 'random',maxStep : 3,// prevent user to click the items
preventClick : true,// animation type
// showHide || fadeInOut || slideLeft ||
// slideRight || slideTop || slideBottom ||
// rotateLeft || rotateRight || rotateTop ||
// rotateBottom || scale || rotate3d ||
// rotateLeftScale || rotateRightScale ||
// rotateTopScale || rotateBottomScale || random
animType : 'random',// animation speed
animSpeed : 500,// animation easings
animEasingOut : 'linear',animEasingIn : 'linear',// the item(s) will be replaced every 3 seconds
// note: for performance issues,the time "can't" be < 300 ms
interval : 3000,// if false the animations will not start
// use false if onhover is true for example
slideshow : true,// if true the items will switch when hovered
onhover : false,// ids of elements that shouldn't change
nochange : []