I need to create a modal dialog on a webpage using javascript. Normally this would be easy as I could use something like jQueryUI or BlockUI, but the caveat here is that I\
Using position:fixed
and this fiddle,
I have managed to overcome the limitations of the first answer
getting this demo. you basically need glass div with full screen and fixed position styling and nested scrollable content div.
You could also use document.write
and then redirect to close the dialog.