Home arrow JavaScript arrow Page 3 - Active Client Pages: DOM Roots of the Window Phase
JAVASCRIPT

Active Client Pages: DOM Roots of the Window Phase


In this tenth part of a twelve-part series on Chrys's approach to Active Client Pages, we look at the factors that gave rise to the window phase. If you want to better understand this technology that allows your web pages to at least appear to load more quickly for your visitors, keep reading.

Author Info:
By: Chrysanthus Forcha
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
September 04, 2009
TABLE OF CONTENTS:
  1. · Active Client Pages: DOM Roots of the Window Phase
  2. · What is a document?
  3. · Can you decide whether a particular bar will be present or absent?
  4. · What about the words child, grandchild, descendant, parent, grandparent and ancestor?
  5. · How do I send content to a newly-opened window from the parent window?

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Active Client Pages: DOM Roots of the Window Phase - Can you decide whether a particular bar will be present or absent?
(Page 3 of 5 )

While opening the window, the specs parameter of the open() method is used for deciding whether a particular will be present or absent in the newly-opened window.

The following code will give you a menu bar:


window.open("","","menubar=yes","")


The following code will not give you a menu bar:


window.open("","","menubar=no","")


The following code will give you a tool bar:


window.open("","","toolbar=yes","")


The following code will not give you a tool bar:


window.open("","","toolbar =no","")


The following code will give you an address bar:


window.open("","","location=yes","")


The following code will not give you an address bar:


window.open("","","location=no","")


The following code will give you a title bar:


window.open("","","titlebar=yes","")


The following code will not give you a title bar:


window.open("","","titlebar=no","")


The following code will give you scroll bars:


window.open("","","scrollbars=yes","")


The following code will not give you scroll bars:


window.open("","","scrollbars=no","")


The following code will give you a status bar:


window.open("","","status =yes","")


The following code will not give you a status bar:


window.open("","","status=no","")


The way browsers handle bars

With some browsers, if you remove one bar, all of the other bars except the title bar are also removed. With such behavior, if you want a particular bar, you have to include it in the specs parameter.


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

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 8 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials