Submit your widget

Simple transition effect jQuery

Created 8 years ago   Views 19182   downloads 3883    Author pilv
Simple transition effect jQuery
View DemoDownload 89.6 KB
156
Share |

Simple transition effect to rotate images one "slice" after another.

JS

$(document).ready(function() {
 // $('#rotator').stripesRotator({ images: $('#imagescontainer') });
 // $('#rotator').stripesRotator({ images: [ $('#img1'), $('#img2') ] });
 /* TODO: It does not respect the array order. If a background image is set
  * in the div, it will be (probably) loaded first, thus it will rotate that
  * image with itself. */
 $('#rotator').stripesRotator({ images: [ 'srot-pic1.jpg', 'srot-pic2.jpg'] });
});