Originally Posted by
Digiwinkel
Amazing slideshow and highly customable.
Allthough I found the mousewheel rotation made my main-page less accessible.
It disabled the mousewheel so customers where not able to scroll up and down my website anymore, without clicking-sliding on the right scrollbar.
So I disabled the mousewheel rotation by commenting the following line in de jscript file located at includes/templates/YOUR_TEMPLATE/jscript/jquery.RotateImageMenu.js.
Change this:
$(document).bind('mousewheel', function(e, delta) {
if(delta > 0) {
stopSlideshow();
rotateImages(0);
}
else {
stopSlideshow();
rotateImages(1);
}
return false;
}).keydown(function(e){
switch(e.which){
case 37:
stopSlideshow();
rotateImages(0);
break;
case 39:
stopSlideshow();
rotateImages(1);
break;
}
});
Into this:
/*$(document).bind('mousewheel', function(e, delta) {
if(delta > 0) {
stopSlideshow();
rotateImages(0);
}
else {
stopSlideshow();
rotateImages(1);
}
return false;
}).keydown(function(e){
switch(e.which){
case 37:
stopSlideshow();
rotateImages(0);
break;
case 39:
stopSlideshow();
rotateImages(1);
break;
}
});*/
Now to autostart the slideshow on pageload:
Insert this line:
startSlideshow();
Just above this line:
return {init : init};
Bookmarks