I have a webpage with a lightbox in it, inside the lightbox there is a scrollbar.
I want to disable the main window scrollbar and keep the lightbox scrollbar enabled.
Not just to hide the scrollbar but to disable scrolling of the window at all (beside scrolling the lightbox).
How can I do it?
You probably need to call
when lightbox is opened.
You also may be interested with this question.