I have more than 2000 pixels scrolling content on a page.
If the user clicks a div a scrolling content pops up in a simplemodal window. Now my client wants
div
In your script to open your modal:
$("html,body").css("overflow","hidden");
And on close:
$("html,body").css("overflow","auto");
(HTML and body are required as the scroll bars are attached to different parts of the browser depending on which you are using)