View Single Post
  #48  
Old 05-01-2013, 10:46 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
I have a question on the mouse wheel speed. How do we change the mouse wheel scroll speed so that a turn scrolls the page much further than the default?

Funnily enough there's a script already there for tweaking the scroll speed, although I think actual performance varies from browser to browser.

skin/reboot/js/custom/misc.js

Find this code...
Quote:
var d=delta*-10;
If you change delta* to a lower value, eg. -100, the page should scroll quicker (or take less mouse-wheel movement to scroll further).

As I say, I can't guarantee it will work for all browsers, seems to work well in Firefox/Chrome. Scroll speed is often fixed by the mouse hardware settings.
__________________
xcartmods.co.uk
Reply With Quote