jquery horizontal scroll with mousewheel -


I currently have a site that is a sidecroller () and I want to bind a muesweil to scroll sideways I am trying. Currently I am using Horizontolve.com (which is called thw.js), but it is not working in all browsers (chrome).

I'm trying to do one thing: just to scroll the whole window, nothing else. There are very limited documents so I can not understand it. Any help is appreciated.

I just answered about horribly scrolling a div, I also used to Drag and drag some code of a mouse or mouse ... Maybe some of that code will give you an idea?

To make a little increase, the musicwheel function gives you an event object and delta.

  $ ('# container'). Bind ('MouseWill', Function (Event, Delta) {if (Delta & gt; 0) {// MouseWill Goes Up;} else {// MouseWill Falls}});  

The value of the delta depends on how fast you scroll the wheel. If you really try hard, then I would +50 to -50 Have seen a limit: P


Comments