Submit your widget

Simple transition effect jQuery

Created 9 years ago   Views 19270   downloads 3900    Author pilv
Simple transition effect jQuery
View DemoDownload 89.6 KB
157
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'] });
});