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
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | beautytips-patch.txt | 8.02 KB | rjb |
| #5 | beautytips-patch.txt | 8.02 KB | rjb |
| #5 | calendar_tooltips-patch.txt | 1.63 KB | rjb |
Comments
Comment #1
rjb commentedThis 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
Comment #2
caver456 commentedI'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!
Comment #3
marktheshark commentedAny news on this?
Users are accustomed to having a tooltip stay up as long as it's hovered upon.
Thank you
Comment #4
rjb commentedYou'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.
Comment #5
rjb commentedHere 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).
Comment #6
rjb commentedThe beautytips patch above does not work in IE6. Use this one instead.
Comment #7
marktheshark commentedApplied 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.
Comment #8
hellogeli commentedThanks rjb! The two patches work great together!
Comment #9
marktheshark commentedTime to commit?
Comment #10
lucaspretti commentedThe 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 :)
Comment #11
trumanru commentedMany thanks to rjb!
This is most wanted (for me) feature which I wanna see in releases of beatytips and calendar_tooltips.