Ya, that navigation code is scary, made with a generator, and has tons of duplicate code for every link.
If you want a dhtml menu on a site, there are some with very little code and have the links coded in unordered lists so that they 1, degrade well if js is turned of/text readers and2, Spiders can see them!
One of the best I found is the one one my 'works in progress (my website)' from twinHelix. Every show/hide delay, plus other fanciness can be set, and all the styling is pure css, not in the javascript code.
That menu could've very, very easily be done in pure CSS, without any script. It is nice, though!
__________________
What I am is what I am, are you what you are, or what.
Eddie Brickel
|