JavaScript
  Home arrow JavaScript arrow Page 3 - Active Client Pages: DOM Roots of the Wind...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Active Client Pages: DOM Roots of the Window Phase
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-09-04

    Table of Contents:
  • Active Client Pages: DOM Roots of the Window Phase
  • What is a document?
  • Can you decide whether a particular bar will be present or absent?
  • What about the words child, grandchild, descendant, parent, grandparent and ancestor?
  • How do I send content to a newly-opened window from the parent window?

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    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.

    More JavaScript Articles
    More By Chrysanthus Forcha


     

    JAVASCRIPT ARTICLES

    - Using jQuery to Preload Images with CSS and ...
    - Using Client-Side Scripting to Preload Image...
    - Removing Non-Semantic Markup when Preloading...
    - Using the Display CSS Property to Preload Im...
    - Preloading Images with CSS and JavaScript
    - Scaling and Moving Web Page Elements with th...
    - Fading, Hiding and Sliding HTML Elements wit...
    - Toggling CSS Properties with the GX JavaScri...
    - Cancel, Queue and Pause Animations with the ...
    - Producing Elastic Effects with the GX JavaSc...
    - Moving Divs Diagonally with the GX JavaScrip...
    - Moving Elements Vertically and Horizontally ...
    - Making Bouncing Effects in Parallel with the...
    - Creating Bouncing Effects with the GX JavaSc...
    - Manipulating Background Colors with the GX J...







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek