The function below is used to hide a div on it's mouseout event. As you can
see it is for IE and NN 4 (incidentally I enclosed the div in an NN 4 layer
to get the mousout event for that). I can add to this code to hide the div
in NN 6 but the the mouseout event is triggered by the mouse rolling out of
the text within the div not the whole div itself. I found some code, which I
don't fully understand, but resolves this problem in IE(see below) but I
can't find an equivalent solution for NN 6. Does anyone have any ideas.
Regards, Chris.


function hideMenu()
{
if (doent.all)
{
if (event.toElement != HomeMenu && HomeMenu.contains(event.toElement) ==
false)
{
doent.all.HomeMenu.style.visibility="hidden";
}
}
else if (doent.layers)
{
doent.HomeMenu.visibility="hidden";
}
}

THIS IS THE NN 6 code in which the mouseout doesn't work 'properly'

else if (!doent.all && doent.getElementById)
{
doent.getElementById("HomeMenu").style.visibili ty="hidden";
}