Re: Rotating Image Slider [Support Thread]
Quote:
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};
Quote Originally Posted by atemp View Post
Hello,
On the home screen I can not scroll down using the mousewheel. I can on any other screen.
Kind regards
Anthony
Can someone please assist me with having the main page scroll with mousewheel?
I looked at http://www.zen-cart.com/showthread.p...Support-Thread but i am unable to open and edit the Java files in includes/templates/YOUR_TEMPLATE/jscript/.
Re: Rotating Image Slider [Support Thread]
not sure this is still live, i'd personally will try everything I'm reading here ... I'm going to see if it improves appearance of my zen cart... i'll know where to come if I have a problem...