Is it possible to fire an alert after a user scrolls 100 pixels.
Here\'s what I have so far but I know I\'m missing something;
$(window).scroll(func
Try this:
$(document).scrollTop() >= 100) { // ... }
scrollTop() returns an integer. This version will evaluate to true once you have scrolled past 100px, which might be more appropriate.