Can't catch (window).scroll
I can't catch the
(window).scroll event, but I can catch the
(window).resize event?
Works:
- $(window).resize(function() {
- alert("Window Resized");
- });
Doesn't Work:
- $(window).scroll(function() {
- alert("Window Scrolled");
- });
I'm working on a SharePoint 2010 site and I'm sure that the problem is somewhere in the code that SP spits out, but I cannot figure out what would prevent (window).scroll from firing.
What would cause this?