Thierry Koblentz wrote:
http://www.tjkdesign.com/articles/keyboard_friendly_dropdown_menu/

I just noticed one mistake in the JS.
http://www.tjkdesign.com/articles/keyboard_friendly_dropdown_menu/TJK_keyBoardDropDown.js

You've used HTML style comments (<!-- //-->) around the entire script for some reason. Those are only intended to be used within <script> elements when the JS is included in HTML, they are not to be used in external script files.

However, unless your expecting a visit from Mosaic, Netscape 1.0 or another browser from that era, they're unnecessary and it's advisable to never ever use them around scripts, partly because they cause even more trouble in XHTML. For more info, see my article on the topic.

http://lachy.id.au/log/2005/05/script-comments

--
Lachlan Hunt
http://lachy.id.au/


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to