HTML
  Home arrow HTML arrow Concluding a Menu for All Browsers
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? 
HTML

Concluding a Menu for All Browsers
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating:  stars stars stars stars stars / 0
    2009-07-01

    Table of Contents:
  • Concluding a Menu for All Browsers
  • Important Attributes
  • Elaborated Layout Approach
  • Advantages of the Simple Layout Approach

  • 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


    Concluding a Menu for All Browsers


    (Page 1 of 4 )

    At last we have a web page menu code that can be used for any browser without any of its code segments being specific to any particular browser. I called the design approach of the previous series the Simple Layout Approach. I call the design approach in this series the Elaborated Layout Approach. In this last part of the series I give you a summary of the two design approaches. I also give you the advantages and disadvantages of the two approaches. Everything in these two series is my conception.

    Introduction

    The aim of these two series is to come up with web page menu code that can be used by all browsers, without any of its code segments being specific to any particular browser. We have achieved this, from a practical point of view.

    Simple Layout Approach

    The Layout

    We look at the summary of the Simple Layout Approach here. The main menu (horizontal bar) is in a single row table. You have another table of rows and columns for the sub menus. A link is in a SPAN element. You can have more than one SPAN element in a cell, but only one can be shown at a time. A sub menu is displayed by showing SPAN elements in consecutive table cells in a column.

    You have three other tables having the same structure as the table for the sub menus. One of the tables is called the Copy Table, another is called the Boolean table and the third is called the Number table. The value of the display property of these three tables is "none." So they are not seen on the web page.

    The Copy table holds copies of the SPAN elements at their original states. None of the SPAN element at its original state can be seen. Whenever you need to clear the table for the sub menus, you just make a copy of the corresponding SPAN elements from the copy table to the table for the sub menus.

    For each cell showing a SPAN element, the corresponding cell in the Boolean Table has the content "true." The JavaScript code uses this in order to show or remove sub menu items. For each cell showing a SPAN element, the corresponding cell in the Number table has the number part of the ID of the SPAN element. The JavaScript code uses this in order to show or remove sub menu items.

    More HTML Articles
    More By Chrysanthus Forcha


     

    HTML ARTICLES

    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers
    - Downloading Long HTML Pages with ACP







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