R
Richard Maher
Hi,
I'm trying to use the Visibility Style attribute for a Div to effectively
PopUp a lightweight window with some additional context-sensitive
information, when a user mouses over a given field(s). The popping-up seems
to work just fine; it's the tearing down that's giving me grief. If I stick
a onmouseout event on the same input field that caused the
onmouseover/pop-up, it starts to flicker 'cos the <div> is placed for
esthetically desirable reasons over the original field. So I stuck the
onmouseout on the DIV, but when the mouse moves from the DIV background to
one of the display INPUT fields (still within the DIV boundries) IE6 says
I've moused out of the DIV and my code sets it back to "hidden" prematurely.
I'm looking at sticking an itty-bitty "close" button at the bottom of the
DIV to get around the problem (there are also buttons
(next/previous/refresh) active on the sub-Div layer that will result in the
DIV vanishing, but the onmouseout would've been good. Is there anyway, short
of an onmousemove on the Body and a check to see if the coordinates fall on
my Div (while it is visible) that would make the DIV appear as a solid block
as far as the mouseout is concerned?
Cheers Richard Maher.
I'm trying to use the Visibility Style attribute for a Div to effectively
PopUp a lightweight window with some additional context-sensitive
information, when a user mouses over a given field(s). The popping-up seems
to work just fine; it's the tearing down that's giving me grief. If I stick
a onmouseout event on the same input field that caused the
onmouseover/pop-up, it starts to flicker 'cos the <div> is placed for
esthetically desirable reasons over the original field. So I stuck the
onmouseout on the DIV, but when the mouse moves from the DIV background to
one of the display INPUT fields (still within the DIV boundries) IE6 says
I've moused out of the DIV and my code sets it back to "hidden" prematurely.
I'm looking at sticking an itty-bitty "close" button at the bottom of the
DIV to get around the problem (there are also buttons
(next/previous/refresh) active on the sub-Div layer that will result in the
DIV vanishing, but the onmouseout would've been good. Is there anyway, short
of an onmousemove on the Body and a check to see if the coordinates fall on
my Div (while it is visible) that would make the DIV appear as a solid block
as far as the mouseout is concerned?
Cheers Richard Maher.