IE5+

Modeless Window

Author: Dynamic Drive

Description: Modeless windows, a feature introduced in IE5, presents a window that stays active/visible on the user's screen until explicitly dismissed. A good way to display "announcements" or other content that demand attention. All other browsers will show a regular popup window instead.

Demo: A Modeless window should be visible now. Click here to launch it again.


Directions:

Add the following script into the <HEAD> section of your page:

Select All

Developer Notes

Do not confuse Modeless windows (showModelessWindow) of IE5 with Modal Windows (showModalDialog) of IE4. While both remain the active window until closed, the later is somewhat a "pest" in that the rest of the page is "hung up" until the window is dismissed. We like modeless windows better. Note that links inside modeless windows are always launched in a new page.

Wordpress Users: Step by Step instructions to add ANY Dynamic Drive script to an entire Wordpress theme or individual Post