• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Main menu / sub menu

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a main menu, on mouse over i want to show the submenu

If the mouse is over the main menu or the submenu i want to keep the sub menu and if it goes out of any of these two i want to hide the sub menu.

I wrote a js on the mouseover event of the main menu to show the submenu. But i am unable to hide submenu appropriately. The problem is either just after leaving the main menu the submenu gets hidden or if i write the mouseout function on the submenu, i have to get into the submenu and get out to get the submenu hidden.

Help need.

Any resource on the net will be useful.

Nischal
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry been busy with my book, take a look at this link"
[url]https://coderanch.com/t/115423/HTML-JavaScript/Positioning-DIVs[url]

Eric
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic