spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column90


Modal and Modeless Dialog Boxes

Developer News
Google Chrome Playing Catch-Up on Extensions
Open Solutions Alliance Gets New Leadership
Red Hat Spacewalk Expands Linux Management

In this column we cover the topic of dialog boxes. This subject is important for understanding the way parameters are passed between different windows. This mechanism is a key component of some of Internet Explorer 5.5 and 6's new capabilities, such as print templates. You use dialog boxes all over. The alert box is probably the most popular one. There are two types of dialog boxes: modal and modeless. The modal dialog box keeps the input focus at all times. The modeless dialog box does not keep the input focus, and you can work on two applications concurrently. You create dialog boxes with showModalDialog() and showModelessDialog().

In this column we'll show you how to impact the dialog box's look. We'll teach you how to set the dialog box location on the desktop, its height, width, and whether it is resizeable. We'll show you how to impact the window's ornaments such as its border style, scrollbars, and Help icon. We'll explain the concept of trusted applications and emphasize their relevant properties, such as the status bar. We'll cover in depth how to pass scalar values from the application to the dialog box, as well as arrays and objects. We'll demonstrate the parameter passing mechanism, and how to update the caller from the callee, via the dialogArguments property.

In this column you will learn:

You can also load all accessory files from a single zipped file.

Next: How to create modal and modeless dialog boxes

More Resources from Doc JavaScript
Columns Popular Columns Tips Tools
Latest Columns
41-50 | 31-40 | 21-30
11-20 | 1-10
Working with Windows
JavaScript and Frames
Bookmarklets
Random Tips
Personalized Tips
RSS Channels
Menu Builder
Rollover Builder
Rotation Builder
Reference Tip Categories (want one?)
Links
For Your Site
Did you learn something? Do you like this site? Please link to us!

http://www.internet.com

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

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

webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: August 13, 2001
Revised: August 13, 2001

URL: http://www.webreference.com/js/column90/index.html