Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! need JavaScript Menu Component to hideMenu() on onMouseOut

Status
Not open for further replies.

marms767

ISP
Joined
May 17, 2001
Messages
3
Location
US
I really need help. I am using "The JavaScript Menu Component" from Netscape on the company's web site. My boss now wants the menu to hide onMouseOut, but it currently hideMenu() only when the user clicks somewhere else on the page. It mentions this issue in their article:

"On the subject of hiding menus: Usually you don't have to worry about doing this, because the Menu component sets up the hideMenu() method to hide the menus for you, by default. That is, when the user moves the mouse out of a menu, hideMenu() gets called, because I set the onMouseOut event handler to hideMenu() for the menu objects. I also overrode the window.onMouseUp event handler with hideMenu() to hide the menu if the user clicks elsewhere in the window. This reflects the menu behavior that's familiar on most operating systems. If you want to change any of this default behavior, you can override these event handlers with your own functions."

The problem for me with this paragraph is:
1. It does not currently hideMenu() onMouseOut, but does it when "the user clicks elsewhere."
2. It tells me to "override these event handlers with your own functions" which I am having trouble doing.

I was hoping someone out there has used this object before and done what I hope to do with it.

The site I got this from is:
Thanks for you help

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top