html - jquery LI's anchor hover problem [JSFiddle inside] -
please see jsfiddle pretty clear idea of problem - http://jsfiddle.net/peyyz/
the above sort of want. when hover on li.parent, ul.child menu fades in, fine. want sub menu remain open, unless user selects li.parent. tried messing mouseleave,but don't think that's i'm after.
the logic need is:
if user hovers on
liclassparent, show it'sul.childif user moves mouse somewhere else isn't
li.parent,ul.childshould remain open.- if user moves
li.parent,li.parent ul.childshould open, , open 1 should disappear.
thanks in advance
like this? http://jsfiddle.net/nzfz6/ had edit css part too.
Comments
Post a Comment