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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to detect OnMouseOut in more than 1 layer at the same time?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
the page is located at: When you mouseover Menu 4, you get a sub menu. Then you get another menu for mouseover
"Overview of the Libraries".

I want to create a mouseout event that can only be triggered when the cursor is not over neither of the 3 places being: "Menu 4" itself, first level and second level of menus.

I coded something like this:

if (document.body.style.cursor == "default")

Is there a better way to detect mouseout in more than 1 layer at the same time? thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top