Tooltip
crmd - July 7, 2009 - 13:30
| Project: | jQuery plugins |
| Version: | 6.x-1.9 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Is there any other code required next to:
<?php
jquery_plugin_add('tooltip');
?>I tried to include it but it doesn't seem to be working. The module, CSS and images are added in the same way as the demo, but without any succes. When i remove 'display:none' the tooltip appears, but the script doesn't seem to be activated.
The cycle-example given on another issue here worked just fine.

#1
hmm.. same problem here.
#2
This code did it for me:
<?phpjquery_plugin_add('tooltip');
drupal_add_js(' $(document).ready(function() {
$("#trigger").tooltip();
});',
'inline'
);
?>
#3
it is not working for me either...
#4
This module only provides the plugin. Your module or theme needs to provide its own javascript to implement the plugin.