beetle
11-15-2002, 06:55 PM
As some of you know already, I've been working on a nav menu script that satisfies certain criteria that I couldn't find in other menus of it's ilk that are readily available.
Here it is (http://www.lanwizards.com/navtest/test.htm) and make sure to check out all the relavent source-code here (http://www.lanwizards.com/navtest/showsrc.php)
A quick list of features Uses validating XHTML UL trees for menu structure
Degrades twice (for CSS and javascript separately)
Custom image support
Cookie-based persistence
Tooltip Toggling
Easy config
Compatible with most browsers
Built-in sniffer
Low global namespace consumption
A quick word about namespace: Every global function/variable (there's only 1 variable) is prefixed with the string 'nm_' except the generic getCookie() and setCookie() functions. Any text-editor worth it's salt can do a find/replace on this string in the event that you happen to run into a conflict.
My only future plans for this script are to make it all OO, but I didn't have the moxie to do it this time 'round.
If anyone can test this on Opera7 or a Mac with IE, I'd like to know the results. I've tested it ok on IE5+ and Gecko. For everything else (like IE4 and NS4) it degrades. Heck, it's even readable in Lynx (http://www.delorie.com/web/lynxview.cgi?url=http%3A%2F%2Fwww.lanwizards.com%2Fnavtest%2Ftest.htm))
P.S. For those of you that check, I know the CSS doesn't validate, but it's just the cursor:hand rule to satisfy stoopid IE5, and not required for this script to work :D
Here it is (http://www.lanwizards.com/navtest/test.htm) and make sure to check out all the relavent source-code here (http://www.lanwizards.com/navtest/showsrc.php)
A quick list of features Uses validating XHTML UL trees for menu structure
Degrades twice (for CSS and javascript separately)
Custom image support
Cookie-based persistence
Tooltip Toggling
Easy config
Compatible with most browsers
Built-in sniffer
Low global namespace consumption
A quick word about namespace: Every global function/variable (there's only 1 variable) is prefixed with the string 'nm_' except the generic getCookie() and setCookie() functions. Any text-editor worth it's salt can do a find/replace on this string in the event that you happen to run into a conflict.
My only future plans for this script are to make it all OO, but I didn't have the moxie to do it this time 'round.
If anyone can test this on Opera7 or a Mac with IE, I'd like to know the results. I've tested it ok on IE5+ and Gecko. For everything else (like IE4 and NS4) it degrades. Heck, it's even readable in Lynx (http://www.delorie.com/web/lynxview.cgi?url=http%3A%2F%2Fwww.lanwizards.com%2Fnavtest%2Ftest.htm))
P.S. For those of you that check, I know the CSS doesn't validate, but it's just the cursor:hand rule to satisfy stoopid IE5, and not required for this script to work :D