This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes web technology Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "web technology" Watch "web technology" New topic

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
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..
I agree. Here's the link:
subject: web technology
It's not a secret anymore!