[Javascript] popup which stays visible until it's moused out of.
Keith Bolton
keith.bolton at gmail.com
Fri Sep 2 12:31:49 CDT 2005
Hello,
I just joined the list, so I'm not sure if this question has been asked
before.
I currently have a popup that is a div tag containing nested tags. The popup
will timeout and disappear after a few seconds. But, what I'd like is to
have happen instead is for the popup to appear right at the mouse location
and disappear when you mouseout of the popup.
for example
<script>
function Show {
make popup visible...
}
function Hide{
make popup hidden...
}
</script>
<html>
<p onmouseover="Show()">some bogus text</p>
<div onmouseout="hide()">
<div>Popup Title</div>
<div><a href=#>Bogus Link</a></div>
</div>
</html>
The problem is that it will hide the popup when the mouse leaves the first
div tag and enters the div title tag. I want the popup to disappear only
after the containing div tag's boundaries have been left, not when moving
inside the popup onto the <a> tag for example.
I know someone is onto what I'm trying to do.
Thank you,
Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20050902/2f4ee621/attachment.htm>
More information about the Javascript
mailing list