Jquery drop down menu - not working -
I am working on this jQuery drop down menu and the code is not working. I think there may be something with CSS property in it. Dropdown ul {display: none}
I'm not very good with jQuery (yet) ... any suggestions?
I'm not sure which dropdown library you are using , But it seems that your HTML is wrong
You have:
gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Item 2 & lt; / A & gt; & Lt; / li & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Item 1 & lt; / A & gt; & Lt; / li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Item 2 & lt; / A & gt; & Lt; / li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Item 3 & lt; / A & gt; & Lt; / li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Item 4 & lt; / A & gt; & Lt; / li & gt; & Lt; / Ul & gt; Try this instead:
& lt; Li & gt; & Lt; A href = "#" & gt; Item 1 & lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Item 1 & lt; / A & gt; & Lt; / li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Item 2 & lt; / A & gt; & Lt; / li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Item 3 & lt; / A & gt; & Lt; / li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Item 4 & lt; / A & gt; & Lt; / li & gt; & Lt; / Ul & gt; & Lt; / A & gt; & Lt; / li & gt;
Comments
Post a Comment