Menu
I have this pop up onmouseover (if that makes sense to you):
[code=html]<div onmouseout=”hide(‘choices’);” id=”choices”>
<a href=”link1″>link</a>
<a href=”link1″>link</a>
<a href=”link1″>link</a>
</div>
[CODE]function hide(id) {
document.findElementById(id).style.display = ‘none’;
}
The div pops up fine. When I move the mouse to link 1, fine. But that is as far as the mouse can go. If the mouse goes anywhere outside the dimensions of the first <a> element, the entire menu hides, even though the onmouseout is in the <div> element. What is wrong here?