$(window).scroll( function() {
var scrolled_val = $(document).scrollTop().valueOf();
alert(scrolled_val+ ' = scroll position');
});
Tuesday, 17 November 2015
How to detect scroll position of page using jQuery ?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment