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

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
ActiveState Debuts Open Source Business Suite
Salesforce Offers Visual App Builder
Codesion Steps Out From CVS's Shadow

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:


The Network for Technology Professionals

Search:

About Internet.com

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

webref The latest from WebReference.com Browse >
Use Web Caching to Make Your Web Site Faster · Creating an Online Shopping Cart Mechanism in PHP · Log JavaScript Errors Using an AJAX-driven Web Service
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Configuring Granular Settings for a Database Level Audit · The Perils of a Web 2.0 Transition on Your Business Processes · Facebook Redesigns Site —Again — Nears 400M Mark