ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Hierarchical Menus with the Underrated style.display Object
Subject:   Complete code
Date:   2006-12-30 09:10:05
From:   cbb2
Response to: Complete code

What else is required to make an actual menu from this code? I made a test page with this code and all it displayed was a column of text without any clickable links or heirarchical structure.


I don't know Javascript at all, but I noticed then that there weren't any events like onclick or anything like that to make the menu actually work when the menu items are clicked. What exactly is needed to do this, and how do you add it to the code that is provided here?