Just put the submenu tags within the parent menu tag.  That way, being over the sub menu means you ARE over the parent menu (because it will expand to contain the sub menu).

On 8/9/06, Acuff, Daniel (Comm Lines, PAC) <[EMAIL PROTECTED]> wrote:

Anyone know how to test if the mouse is over an ID area?
In this function I have the sub-menu close if I leave the parent-menu tab. That of course closes the sub menu if I move down on to it. How do I test if I move into that area it is "ok" leave the sub menu visable?

Thanks in advance!

function hideChild(source) {
        var changeSource = document.getElementById(source);
        // if cursor in the area of ID homeMenu then DO NOT hide the div
        changeSource.className = "disNone";
}



*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to