I have website with horizontal layout and i what to make mouse wheel scroll it relative to axis x (not y, like usual).
I use jQuery plugins mousewheel
and scrollTo
, but I can't achieve
soft, natural scroll.
You can look at the example on my test site
views:
160answers:
1
+1
A:
I answered a question similar to this... we ended up not using jQuery animation because it was choppy. Here is the demo.
Try changing the delta multiplier to change the amount the mousewheel scrolls:
this.scrollLeft -= (delta * 30);
fudgey
2010-06-13 02:13:51