Active
Project:
Form Tooltips
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2009 at 14:55 UTC
Updated:
10 Feb 2010 at 19:48 UTC
i realize this is beyond the scope of the current module but thought i would ask anyway. is there a way to tweak form_tooltips.js so that the description is revealed when the user clicks a link or hovers over a link? adding a simple link to the legend i will accomplish via theme overrides, but i would like a little more control of when the tooltip is displayed.
many thanks for the help. i'm finding my understanding of jquery to be surpassed by this problem.
Comments
Comment #1
entrigan commentedsorry for the delayed response. I actually have come to think this is the preferred default behavior. Implementing this by itself is quite easy, but the difficult part is making sure it formats correctly and consistently.
Right now the module uses JQuery to hide the contents of the help text. To make it a link one would simply need to use the appropriate jquery property, http://docs.jquery.com/Manipulation to add a link.
I know I did not explain that particularly well, but I will work on an implementation later this week.
Comment #2
masande commentedinteresting. i was looking at jquery events. looking forward to seeing your new implementation. if i have some time, i'll look into adapting, too.
Comment #3
masande commentedentrigan~
any updates on introducing the onclick functionality for tooltips? i'm not such a great jquery developer and anxiously wait for you (or someone) to create this modification.
thanks!
Comment #4
entrigan commentedmasande,
Sorry I lost track of this issue, things got busy elsewhere. I am currently having trouble with the hover/click events. Hopefully Ill get this sorted out tonight, well see what happens.
Comment #5
entrigan commentedStill causing me issues . .
Comment #6
FredAt commentedForm tooltips work just fine - until I perform an AHAH update on part of a form. You don't need to go very far to test this - try the ahah demo module here. You might need to insert descriptions. When the AHAH update happens the tooltips continue to appear but so too do the plain text descriptions that Drupal displays by default.
Correction - the tooltips continue to appear for the part of the form that remains unchanged. For the rest you are back to vanilla.
Comment #7
masande commentedI'm changing the title back to original topic as 'FredAt' seems to be describing a different problem unless I am misunderstanding. Please open a new issue for this problem and keep the focus on an onclick event for form tooltips.