What is NU2 XML Menu
XML Menu is a simple menu system that uses XML and DOM to describe popup menus
for your website. At the moment it is written for Internet Explorer 5.5 or
higher.
Why NU2 XML Menu
I just keep asking me that same question over and over again! Well, the real
reason is that my knowledge of XML was below zero and the knowledge of DOM (Document
object model) wasn't much better. And of course I needed a menu system for
our intranet website.
Examples
The menusystem works only with IE5.5 or higher !!!
-
example one shows a horizontal main menu with some sub menus at an absolute
position,
-
example two shows a horizontal and a vertical main menu with some sub menus
at an absolute position.
Download
There are two version you can download:
-
normal (21KB), with some info in the source,
-
compressed (19KB) (!?!).
When i have some spare time...
- add target node (xml),
- optimize the menusystem, remove unnecessary _nu2MObj.goto's,
- add a document type declaration (DTD) for making it well formed,
- maybe and i say maybe a Netscape 6 compatible version.
History
V0.02 - first public release, multiple main menus
[X] fixed bug in menustack
V0.01 - internal only, menu system with only one main menu
Links
- if you want a crossbrowser menu system you could look at HierMenus (
www.webreference.com/dhtml),
- you can find some smart DOM coding at
www.dynamic-core.net,
- XML reference can be found at
msdn.microsoft.com/xml.