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 provides an easy way for the user to navigate the site, and also prevents the user from accessing the default ...
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 programmers.
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 for me!!!
Web Listbar (Popularity: ) : This code will help you organize your support content (Links, news flash, Top 10). This mimics the common Listbars that you will find in other Desktop application languages like VB. Since it uses standard HTML as it's content, the sky ...
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 java menus etc etc... though the concept propably needs lots of refining... and the graphics are not exactly top notch ...
Dropdown Menu (Popularity: ) : By making just a few simple function calls, any website can have a full dropdown menu from which users can navigate. There can be any number of individual menus on a page, so there are few limitations. The type of ...
Drop Down Menus DHTML (Popularity: ) : Website Navigation / Menus:
Cross browser, automatic positioning, large menus can be added with minimal change in the file size, comma separated arrays can be built easily via ASP/JSP/Perl/ect.

Expandable TOC (Popularity: ) : The Expandable Table of Contents is a script, which allows the creation of dynamic navigation systems. The user clicks on a root item, which then expands to reveal several new subtopics. This script is very simple to implement; requiring only ...
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 a few bugs
Nice-looking Login Menu (Popularity: ) : Hello. I'm a beginner in Java. I love programming but I'm into graphic design too. So, I love to see my program looking nice & smart =) I decided to made this login menu. It has 2 login options-admin & ...
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 49
version
size in Kb 9
popularity   1387/7913374
user rating 5/10
ad


New Code
Popular Code