Submit your widget

Simple transition effect jQuery

Created 14 years ago   Views 13841   downloads 3150    Author pilv
Simple transition effect jQuery
View DemoDownload
120
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'] });
});