On Dec 16, 4:49 pm, mdipierro <[email protected]> wrote:
> Yes, there is a jquery tooltips plugin/

I use ClueTip: http://plugins.learningjquery.com/cluetip/

If you want to see an example of it's integration, I call it like
this:

Copy script to /static/scripts
In my case:
http://trac.sahanapy.org/browser/static/scripts/S3/jquery.cluetip.js

Load it in views/web2py_ajax.html
In my case:
http://trac.sahanapy.org/browser/views/sahana_scripts_min.html

jQuery('.tooltip').cluetip({activation: 'click', sticky: true,
closePosition: 'title',closeText: '<img src="/{{=request.application}}/
static/img/cross2.png" alt="close" />',splitTitle: '|'});

Then add it to fields via the 'comment' tag:
db.table.field.comment = A(SPAN("[Help]"), _class="tooltip", _title=T
("MyTitle|MyHelpText."))
An example:
http://trac.sahanapy.org/browser/models/03_media.py

F

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to