Forum Moderators: open

Message Too Old, No Replies

Minimalistic crossbrowser modal window anyone?

         

sleidia

11:37 am on May 6, 2008 (gmt 0)

10+ Year Member




Hi guys,

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 :)

sleidia

12:52 pm on May 6, 2008 (gmt 0)

10+ Year Member



I've just found the DHTML Modal window script from Dynamicdrive but it doesn't work above flash movies (ie: flash banners). Too bad :(

sleidia

2:42 pm on May 6, 2008 (gmt 0)

10+ Year Member



Ok, nevermind, I've found Control.Modal that actually suits all my needs.