1) Script Title: Flex Level Drop Down Menu (v1.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...exdropdown.htm
3) Describe problem: does not pass XHTML validation
I love this navigation. Works great, looks great.. and it’s simple. I have one problem.. and I’m hoping that you can help.. it doesn’t pass XHTML validation. It’s complaining about the attribute ‘data-flexmenu’. I tried to add that to the DTD, but that introduced additional problems, any plans to remove the attribute and just use ‘data-flexmenu’ as a class value instead?
When I try to validate this page, I see the following error returned:
I tried defining the data-flexmenu in the dtdCode:Line 41, Column 63: Attribute "data-flexmenu" is not a valid attribute …tion/page.main.htm" data-flexmenu="page">Page</a> | &nb
This passes validation, but I was receiving the dreaded ]> in my output, as well as additional problems with my stylesheet.Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [ <!ATTLIST a data-flexmenu CDATA #IMPLIED> ]>
Any help is greatly appreciated.
hanji



Reply With Quote

Bookmarks