| Author |
web technology
|
bala kan
Ranch Hand
Joined: Aug 20, 2012
Posts: 44
|
|
hi guys, first of all, i ask thanks for all quick responses given by you all
actually, i need to create nested submenu, in which i have to create main menu "menu" after i am getting mouse over this, submenu "submenu1" should appear..
similarly,after getting mouse over it, the nested submenu "nested submenu1" should appear..
then, after getting mouse out of the nested submenu, both the submenu and nested submenu should disappear..
these are my requirements.. i have done it but i could not able to make my submenu "submenu1" to still appear after getting mouse move out of submenu1
my codes are as follows
thanks in advance
|
 |
Keith Wood
Author
Ranch Hand
Joined: Aug 28, 2012
Posts: 38
|
|
It's invalid HTML to have a div directly within a ul - it should only contain li's. So restructure your menu to have embedded lists for the sub-menus:
Then if you were using jQuery the code to show/hide the menus would be
|
Author of the upcoming "Extending jQuery" book from Manning.
|
 |
bala kan
Ranch Hand
Joined: Aug 20, 2012
Posts: 44
|
|
|
thank you so much mr.keith wood for your quick and valuable response..
|
 |
 |
|
|
subject: web technology
|
|
|