The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript scrollTo #ID with mouse-wheel (jsfiddle attached) Re: scrollTo #ID with mouse-wheel (jsfiddle attached)


Hey Mottie,

Thanks for the script. I want to use in on my parallax style website so one automatically scrolls to the next div when using the mousewheel. A question though: what do I have to add in the script such that the effect is also triggered when using the arrow keys. Good examples of this i find:

Thanks a million