Home arrow HTML arrow Page 3 - Producing Web Page Dialog Boxes
HTML

Producing Web Page Dialog Boxes


These days, many web-based applications are trying to look more like desktop applications. To a limited extent, it works -- until you come to dialog boxes. A desktop application's dialog box works one way, and the dialog boxes you can get from an opened web page work another way; they do not provide the same functions. Fortunately, there's a way to change this. This first part of a five-part article series gets you on your way.

Author Info:
By: Chrysanthus Forcha
Rating: 5 stars5 stars5 stars5 stars5 stars / 5
December 29, 2008
TABLE OF CONTENTS:
  1. · Producing Web Page Dialog Boxes
  2. · The Main Method to Use
  3. · The Basic Dialog Box
  4. · Removing or Allowing the Bars

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Producing Web Page Dialog Boxes - The Basic Dialog Box
(Page 3 of 4 )

Remember that all of the parameters for the open() function are optional. So if you do not want any argument, you can have an empty string in its place. If you do not want any of the arguments, you can type:


window.open(“”,””,””,””)


The new resulting window will have the same characteristics as if you typed


window.open()


That is, the window will have a title bar, a menu bar, a tool bar, an address bar and a links bar. We normally want only the title bar. We shall see how to get rid of these other bars.

Now, if you want to omit parameters in the above method, then you have to follow the guidelines that I am about to detail. If you want to include an argument for the first parameter, then you can omit the other parameters. That is, you can have


window.open(“URL”)


If you want to include an argument for the first and second parameters, then you can omit the next two parameters. In other words, you can have


window.open(“URL”, “NAME”)


If you want to include arguments for the first, second and third parameters, then you can omit the last parameter. That is, you can have


window.open(“URL”, “NAME”, “SPECS”)


If you do not want to follow this order, then you need to have empty strings in place of the arguments you do not want to include. For example if you want only the name, then you should type:


window.open(“”, “NAME”, “”,””)



blog comments powered by Disqus
HTML ARTICLES

- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5
- BBC Adopts HTML 5, Mozilla Addresses Issues
- Advanced Sticky Footers in HTML and CSS
- HTML and CSS Sticky Footers
- Strategy Analytics Predicts HTML5 Phones to ...
- HTML5 Guidelines for Web Developers
- Learning HTML5 Game Programming
- More Engaging CSS3 and HTML Background Effec...
- Engaging HTML and CSS3 Background Effects
- More Web Columns with CSS3 and HTML
- Columns with CSS3 and HTML
- Creating Inline-Block HTML Elements with CSS
- Drag and Drop in HTML5: Parsing Local Files

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 11 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials