spacer
Yehuda Shiran August 15, 2001
Generating Modeless Dialog Boxes
Tips: August 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

When creating a new window, Internet Explorer lets you generate two types of windows. The first type retains the input focus while open and is referred to as a modal dialog box. The second type of dialog box is referred to as a modeless dialog box. A modeless dialog box allows you to switch the input focus to another window. It continues to display even when you switch to other applications. A modeless dialog box is useful for menus and help systems. It allows the user to use the dialog box and the application window concurrently. You create a modeless dialog box with showModelessDialog(). To show 010815.html, for example, in a modeless dialog box, you would go:

window.showModelessDialog("index.html");
Click the following button to create a modeless dialog box:

This button is defined as follows:

<INPUT TYPE="button" VALUE="Push To Create" onclick="fnOpenModeless()">
The function fnOpenModeless() is defined as:

function fnOpenModeless(){
  window.showModelessDialog("010815.html")
}

People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business