DomMenuBuilder

Goal of DomMenuBuilder is to build a dommenu with a simple ul tag : more accessible, I prefer this way to build dynamic menus. It is not coded for efficiency, just to work ; if you code a newer version more efficient, please tell me, I want to know BETTER JavaScript ;o) : Alexandre SIMON.

Tested with :

Example

Source of example

     

Note : ul style attribute setted to "display:none;" is dynamically added in this page if javascript engine supports it. A screenshot of this page with no Javascript support proves the list is visible (it proves that I'm lazy too ;o) ).

Download the source code

Upper