Forum Moderators: open
I'm looking for a stable crossbrowser modal window script that would allow me to display, on onload event and with absolutely no AJAX, an existing div at the center of the browser window while the page content is shadowed/unaccessible. So, the div would appear within the document when javascript is disabled and as modal when javascript is enabled.
It's simply for the alert message when a form has been submitted. And it's because, on long pages, I want to make sure that the alert message is seen without having to scroll or anything.
The Lightbox-like scripts I've found until now are either too heavy, are animated (which I don't need for this kind of alert), call the content found in a URL (which I don't want), or don't have the onload capability.
Thanks for helping :)