Submit your widget

Simple transition effect jQuery

Created 13 years ago   Views 13612   downloads 3042    Author pilv
Simple transition effect jQuery
View DemoDownload
116
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'] });
});