HTML
  Home arrow HTML arrow Page 3 - Quick Web Page Menu
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  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
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

Quick Web Page Menu
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2008-04-30

    Table of Contents:
  • Quick Web Page Menu
  • Strategy
  • Code continued
  • Explanation of Code

  • 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


    Quick Web Page Menu - Code continued


    (Page 3 of 4 )

    menuClicked = true;

    onlyBodyClicked = true;

    }

     

    function hideMenus()

    {

    if ((onlyBodyClicked == true)&&(menuClicked == false))

    {

    document.getElementById("D1").style.visibility = "hidden";

    document.getElementById("D2").style.visibility = "hidden";

     

    }

    //reset the menuClicked flag

    menuClicked = false;

    }

    </script>


    </head>


    <body onclick="hideMenus()">

    <table class="menu">

    <tr>

    <td onclick="showHideMenu('D1')">

    Pull Down First Menu <br />

    <div id="D1" style="visibility:hidden">

    <a href = "http://www.website.com">First Link </a><br />

    <a href = "http://www.website.com">Second Link</a><br />

    <a href = "http://www.website.com">Third Link</a><br />

    <a href = "http://www.website.com">Fourth Link</a>

    </div>

    </td>

    <td>

    &nbsp;

    </td>

    <td onclick="showHideMenu('D2')">

    Pull Down Second Menu <br />

    <div id="D2" style="visibility:hidden">

    <a href = "http://www.website.com">First Link </a><br />

    <a href = "http://www.website.com">Second Link</a><br />

    <a href = "http://www.website.com">Third Link</a><br />

    <a href = "http://www.website.com">Fourth Link</a>

    </div>

    </td>

    </tr>

    </table>


    Many elements will go here. This can include Paragraphs, links tables, etc.

    </body>


    </html>

    More HTML Articles
    More By Chrysanthus Forcha


       · If you are looking for an approach to creating web page menus that is independent of...
     

    HTML ARTICLES

    - Completing Construction of a Database Form w...
    - Maximizing and Restoring Images in a Tabular...
    - Building the Recordset for an HTML Database ...
    - Laying Out a Database Form with HTML
    - Tabular Database Form Functions with HTML
    - Tabular Database Forms with HTML
    - Using the Find Functions for HTML Database F...
    - Sorting for Database Forms with HTML
    - Edit and Other Database Form Functions with ...
    - More Database Form Functions with HTML
    - Database Form Functions with HTML
    - Using the HTML Table Element as a Recordset
    - Building Single Row Database Forms with HTML
    - Introduction to Database Forms with HTML
    - Another Look at Animation of Geographical Ma...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT