I\'m using the scrollTo jQuery plugin and would like to know if it is somehow possible to temporarily disable scrolling on the window element through Javascript? The reason
I found this answer on another site:
Disable scroll:
$( ".popup").live({ popupbeforeposition: function(event, ui) { $("body").on("touchmove", false); } });
After close popup release scroll:
$( ".popup" ).live({ popupafterclose: function(event, ui) { $("body").unbind("touchmove"); } });