I don't know how your page is structured: but it is possible to give both elements a single common ancestor (which is itself not visible), then you could put the mouseout handler on that item. It would fire if a mouseout occurred on either child.
as for creating a timeout event: the window.setTimeout function returns a value. if you set a timeout on mouseout, and save that value in a variable, you could call window.clearTimeout with the value when you mouseover either of the elements. oliver On Jul 28, 10:16 pm, mcraig <[EMAIL PROTECTED]> wrote: > I have some navigation that works by clicking on one dom element and > animating another. What I want to do now is tie the onmouseout event > to BOTH those dom elements so that if the mouse cursor stays inside > either of them, the navigation panel stays open, but when the mouse > leaves either of them, it closes automatically. I have another > animations that works similarly but only by chance because the > animation scrolls down so the mouse cursor is instantly hovering over > the panel in question. > > So how do I accomplish this? OR alternatively, how can I set a > timeout event so that after "x" seconds the panels automatically close?