I am using this example (1) and it works perfectly:
But I have to have a responsive menu too, so I did this (2) :
which is based on this menu:
But because jQuery is looping in 1 UL and Light tags as an example, it is a fully screw example example 2 .
How can I tell the ID id = "dl-menu" with the ID to ignore the UL and LIS in the jQuery?
Code If you do not want to visit JSFiddle:
you want not ()
:
This will give you the ul
s which is not the id dl-menu
$ ('ul'). No ('# -l-menu')
Comments
Post a Comment