Letractively / tooltips

Automatically exported from code.google.com/p/tooltips
0 stars 0 forks source link

Tooltips "too" sticky #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add an image tag with an anchor tag wrapped around, making the image a link.
2. Add a tooltip to the anchor tag.
3. Use the above in a Modalbox with Ajax loading the content for the link.

What is the expected output? What do you see instead?
I expect the tooltip to fade out, instead it just sticks there until I
manually reload the entire page.

What version of the product are you using? On what operating system?
Modalbox 1.5.5 and CoolTips 1.0 on Windows XP with Firefox 2.0.0.8.

Please provide any additional information below.

Original issue reported on code.google.com by eskil.kv...@gmail.com on 20 Oct 2007 at 6:39

GoogleCodeExporter commented 8 years ago
For reference, I added a screencast showing exactly what happens.

http://www.screencast-o-matic.com/watch/ci6YXmEN

Original comment by eskil.kv...@gmail.com on 20 Oct 2007 at 6:47

GoogleCodeExporter commented 8 years ago
I'm having a similar problem except I have an image (with a tooltip) that acts 
as a
button to delete the element that button is inside. When the element gets 
deleted,
the tooltip stays on the screen.

Original comment by ianwl...@gmail.com on 17 Dec 2007 at 4:51

GoogleCodeExporter commented 8 years ago
This is an easy fix.  Add the "click" event to hide the tooltip:

        Event.observe(this.el, "mouseover", this.showEvent );
        Event.observe(this.el, "mouseout", this.hideEvent );
        Event.observe(this.el, "click", this.hideEvent );//new line to fix 
issue

Original comment by jberk...@gmail.com on 9 Oct 2008 at 10:26