unbind the mousewheel
wmcheung opened this issue · 1 comments
wmcheung commented
I can't find any example but how can I unbind the mousewheel?
What is happening right now :
I have a About page and a Contact page.
On the About page I'm using this code :
if(sidescroll) { this.scrollLeft -= (delta * 30); }else{ this.scrollTop -= (delta * 30); }
If i move my mousewheel it will scroll on the contact page but it has to be disabled.
I tried to do $('body').unbind('mousewheel');
.
Any idea's?
dmethvin commented
The source shows .unmousewheel()
.