Organizational Research By

Surprising Reserch Topic

event wheeldelta returns undefined


event wheeldelta returns undefined  using -'javascript,jquery,scroll'

So I'm trying to disable scrolling on my page when my lightbox opens, and I found this really usefull script that does exactly that. (http://jsfiddle.net/mrtsherman/eXQf3/3/), unfortunately, when I use it on my own page, it disabled scrolling in my lightbox as well. I started to debug the code with alerts only to find out that event.wheelDelta returns "undefined" on my page, while in the JSFiddle, it returns -120.
    

asked Sep 9, 2015 by VerenaMertzp
0 votes
98 views



Related Hot Questions

4 Answers

0 votes
NULL
answered Sep 9, 2015 by CouWrenford
0 votes
NULL
answered Sep 9, 2015 by HomSadlier
0 votes
NULL
answered Sep 9, 2015 by AshleeFarwel
0 votes
NULL
answered Sep 9, 2015 by OnaN84sxubqv

...