Any idea how to make on scroll event function to ignore the on scroll event in javascript/jquery.
for example : I want something like this :
$(document).scroll(function(){
disable on scroll of mouse (such that $(document).scroll(function() should not be called when user scroll the page)
// do stuff
enable on scroll of mouse (such that $(document).scroll(function() can be called when the user scrolls the page)
});
Any help will be highly useful