Hello all i’ve finally started to do some real jquery stuff instead of reading tutorial etc,
so i noticed something.
I write css like this
ul.menu li ul li
In jquery there is this addClass(”) thing.
Can i have something like addClass(‘ul.menu’) or it only accepts addClass(‘menu’)
It would only accept "menu" because menu is the only class you mentioned.
ul.menu means literally a "ul" element (unordered list) with a "menu" class attribute.
so "ul.menu" is not a class name.
what exactly are you trying to accomplish, I may be able to help.
Thanks i really need some help here.
I’ve attached the css, jquery code, html code all in 1 file below.
WIthout jquery it works in all browsers which support li:hover but i’m trying to make it work with ie6 also.
I don’t have IE6 to help test, but I don;t see why with that jQuery it wouldn’t work.
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".