Languages Java Menus  

DHTML_HMenu

download download  
important code information
author:
brandon teoh
minimum requirements:
DHTML_HMenu description

DHTML - Hierarchical Menu using JavaScript and object-oriented concept.


This sample demonstrate DHTML hierarchical menu using javascript with object-oriented concept.

There are two files;
1.DHTML_HMenu.html -> Actual file
2.test.html -> Initial file or experimenting file.

HOw it works
----------------
Basically, the following are few important lines

1. Dynamically insert HTML to browser
document.body.insertAdjacentHTML("BeforeEnd", this.myBody);

2. Create timer so that sub-menu closes itself automatically after certain interval. timeoutID=setTimeout('Initiate()',elapsedTime);

What you need to do for customization
-------------------------------------------------
Basically you need to edit the following three functions.
1. MenuContents
2. startRtn
3. loadSubMenu

Personally, i am proud of this.. it is fun and easy. Just have a look.


File List:
DHTML_HMenu/0b
DHTML_HMenu/DHTML_HMenu.html5Kb
DHTML_HMenu/HMenu_Customized/0b
DHTML_HMenu/HMenu_Customized/HMenu_Customized.html7Kb
DHTML_HMenu/HMenu_Customized/Readme.txt97b
DHTML_HMenu/HMenu_Customized/stylesheet2.css4Kb
DHTML_HMenu/HMenu_Customized/test_dhtml.js7Kb
DHTML_HMenu/Readme.txt1Kb
DHTML_HMenu/stylesheet2.css4Kb
DHTML_HMenu/test.html3Kb
DHTML_HMenu/test_dhtml.js5Kb

Similar code
JavaScript Context Menu Library (Popularity: ) : This is a JavaScript library, which allows the web developer to easily add a context menu to his website. It ...
Right Click Menu (Multi-level Context Menu) (Popularity: ) : VSContextMenu 1.0 Allows you to create multi-level context menu and populate it right on your web pages. Designed for web ...
A different kind of menu system (Popularity: ) : This is an example to my way of creating a different kind of menu than the ordinary dropdown menus or ...
Handy XP Style Menu (Popularity: ) : This is a pretty menu in XP Style. Easy to setup, higly customizable. If you find it useful, please rate ...
Web Listbar (Popularity: ) : This code will help you organize your support content (Links, news flash, Top 10). This mimics the common Listbars that ...
Dropdown Menu (Popularity: ) : By making just a few simple function calls, any website can have a full dropdown menu from which users can ...
Drop Down Menus DHTML (Popularity: ) : Website Navigation / Menus:
Cross browser, automatic positioning, large menus can be added with minimal change in the file size, ...

Expandable TOC (Popularity: ) : The Expandable Table of Contents is a script, which allows the creation of dynamic navigation systems. The user clicks on ...
DBL click to fade in very nice (Popularity: ) : DBL click to fade in very nice - When you double click the screen a menu fades in very nice ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 36
version
size in Kb 9
popularity   250/5827732
user rating 0/10
ad


New Code
Popular Code