hovertip filter would be nice
vph - January 25, 2007 - 20:26
| Project: | Hovertips and Clicktips |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I'm looking at your demo site. Clicktip works, hovertip doesn't (for either FF2.0 or IE7).

#1
update. Ok. I just installed this module and tested it. It worked (even though it didn't work at the demo website).
This module is a great idea, but I think it needs some polishment. I suggest that you make a filter for hovertip (please look into hook_filter at api.drupal.org). Right now, the script works only when you set the filter mode to be FULL HTML, the reason being the element "span" doesn't get picked up by the default FILTER HTML mode. A filter like this
[hovertip_def:term definition;hovertip_exp:hovered over explanation]would be very very nice.
#2
Agreed. But this is a matter of having a scratch and itching it. If you submit a patch I will apply it.
It's also possible to add and other tags to the default filter.
#3
That should have read, it's possible to add <span> and other tags to the default filter.