I am currently working on an HTML page where I have implemented a CSS style overlay lightbox effect using CSS and jQuery.
If you want to take a look at the code, click here
One issue I am facing is that when I resize the window height so the right-hand scroll bar appears, the overlay starts disappearing into the top and bottom of the browser window, making it impossible to view its contents.
Is there a way to modify my code in such a way that when the height of the browser window is less than the height of the overlay div, scroll bars will appear to allow scrolling to the top and bottom of the overlay, while still keeping the background parent page from scrolling?
Any help on this would be greatly appreciated. Thank you!