spacer

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

home / experts / javascript / column90


Modal and Modeless Dialog Boxes

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

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


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


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