HTML
  Home arrow HTML arrow Page 2 - 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

A Menu for All Browsers
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 2
    2009-05-06

    Table of Contents:
  • A Menu for All Browsers
  • Tutorial arrangement of this series
  • The secret of the elaborated layout approach
  • Overall layout
  • The Main Menu

  • 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


    A Menu for All Browsers - Tutorial arrangement of this series


    (Page 2 of 5 )

    The first section of this series deals with the case where the background of a menu item is a color. The second section (very short) will deal with the case where the background is an image. Then we shall see how to design a menu where the main menu is vertical; it is more difficult to achieve this with the Simple Layout Approach. We summarize and conclude after that. In the last part we look at recommendations. 

    Concerning the case where the background of the cell is a color, I will first of all describe the layout, which is very important in this series; then I will explain the code. In this series, the code is very different from what you may have seen in the previous series, where I walked you through the Simple Layout Approach. The layout in this series is more involved, but still fairly simple. 

    The Example for this Series

    The example we shall use here is the same as the one in the Simple Layout Approach, from the user’s perspective. When an ordinary user uses either design, he may not notice the difference. You have a main menu (horizontal) of five menu items. Sub menus can appear below it. In this example, there are five drop down menus, each corresponding to one of the main menu items. The second drop down menu can produce two sub menus. One of these sub menus can produce another sub menu. The last drop down menu can produce a sub menu on its left.

    Well, there will be no drop down button. Each main menu item will respond to an onmouseover event to produce a drop down menu. When a mouse pointer goes over a main menu item, this produces a drop down menu. Some menu items in drop down menus have the ‘>’ character. When the mouse pointer goes over such a menu item, a sub menu is produced on the side of the drop down menu (this also applies to sub menus).

    When the mouse pointer goes over any menu item (main menu item or the sub menu item), its background color changes from brown to firebrick. Note that I did not make the main menu item change color in the Simple Layout Approach series. When the mouse pointer goes away from the menu item, the brown color is returned.

    The description is almost the same as we saw in the previous series, except for the absence of the drop down buttons. However, from a technical perspective, a lot is different.

    More HTML Articles
    More By Chrysanthus Forcha


     

    HTML ARTICLES

    - Hello HTML 5, Goodbye Gears
    - 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







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