Is there any other code required next to:

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.

Comments

TC44’s picture

hmm.. same problem here.

crmd’s picture

This code did it for me:

jquery_plugin_add('tooltip');
drupal_add_js(' $(document).ready(function() {
          $("#trigger").tooltip();
          });',
         'inline'
);
hanamizuki’s picture

it is not working for me either...

mfb’s picture

This module only provides the plugin. Your module or theme needs to provide its own javascript to implement the plugin.