I'm getting w3 validation errors on this menu.
Quote:
Line 742, Column 10: value of attribute "id" invalid: "2" cannot start a name. <td id="2" class="nav_menu_control" style="width: 81px"><a href="#1">Info</a> ✉
It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
|
In regards to unique ID names, I am having a strange problem.
I have custom drop down menus in navbar and they look like this:
<td id="1" class="nav_menu_control" style="width: 81px">
(in header template)
<div class="vbmenu_popup" id="1_menu" style="display:none">
(in navbar template)
The above is default (showing errors in w3 validation) yet they work fine.
IF I change the ID each to something like below, it shows the menu title but no longer drops down the sub menu, nor shows the down arrow icon (indicating drop down menu)
<td id="menu1" class="nav_menu_control" style="width: 81px">
<div class="vbmenu_popup" id="menu1_menu" style="display:none">