how to make on scroll event function to ignore the on scroll event in javascript/jquery -


any idea how make on scroll event function ignore on scroll event in javascript/jquery.

for example : want :

$(document).scroll(function(){   disable on scroll of mouse (such $(document).scroll(function() should  not called when user scroll page)   // stuff  enable on scroll of mouse (such $(document).scroll(function() can called when user scrolls page)         });  highly useful 


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

json - Gson().fromJson(jsonResult, Myobject.class) return values in 0's -