First of all, I would like to say a definite thank you for all the work you've done on this project. I've been looking for such a thing for quite a while. Now on to the feature request:

Not sure if this is possible, as it may be a lack of features in the Beautytips module itself, but the way Moodle's Calendar works is as follows:

1. Hovering over a day will popup the tooltip
2. The tooltip will stay open as long as the mouse is over the day
3. The tooltip will ALSO stay open as long as the mouse is over the tooltip
4. Once the mouse pointer moves away from both the day and tooltip, the tooltip disappears.

It would be great to have #3 above implemented. Here is a youtube video I found that might indicate better how the Moodle calendar is done (the calendar part starts at about 1:30): http://www.youtube.com/watch?v=xEiIaG4FL6A

Thanks,

-Kojow

Comments

rjb’s picture

This is indeed something to add in Beautytips. They are working on this. Here is a start:
http://drupal.org/node/711518#comment-2691680
However, this current solution has 2 disadvantages: it only seems to work in Firefox and it only works when Beautytips is configured using Javascript, instead of PHP. I'm not sure yet how I can get it to work in my module. I will look into this when I have the time.
Cheers,
Ronald

caver456’s picture

I've been looking for this same thing on 'tipsy' (alternative to beautytips etc). Found a good solution in standalone code, but maybe someone could help drupalize it, find the correct scoping arrangement to keep the timer variable accessible to the tooltip as well as to the parent element that you hover over in the first place, etc? I don't know jquery much - any takers?? Please see this post for the details:
http://drupal.org/node/983654

Gracias!

marktheshark’s picture

Any news on this?

Users are accustomed to having a tooltip stay up as long as it's hovered upon.

Thank you

rjb’s picture

You're right of course, but it's complicated. Basically there is a solution (as in comment #1), but it requires some changes in either the Beautytips module or your theme. I'm working on a patch.

rjb’s picture

Version: 6.x-1.7 » 7.x-2.1
Assigned: Unassigned » rjb
Status: Active » Needs review
StatusFileSize
new1.63 KB
new8.02 KB

Here is a patch for both Beautytips and Calendar Tooltips (D7 by the way; need to backport it to D6 for Kojow).
Please test. I will contact the Beautytips maintainer(s).

rjb’s picture

StatusFileSize
new8.02 KB

The beautytips patch above does not work in IE6. Use this one instead.

marktheshark’s picture

Applied the patches with Eclipse.

It doesn't seem to be working for me. Popup still closed automatically after timeout expires.

I'll re-check if the patching went OK.

hellogeli’s picture

Thanks rjb! The two patches work great together!

marktheshark’s picture

Time to commit?

lucaspretti’s picture

The two patches worked like a charm here, I would like to know how I could help to implement to prod version as it´s been almost 1 year since last version update

Thanks rjb you are a genius :)

trumanru’s picture

Issue summary: View changes

Many thanks to rjb!

This is most wanted (for me) feature which I wanna see in releases of beatytips and calendar_tooltips.