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
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

TC44 - August 19, 2009 - 03:13

hmm.. same problem here.

#2

crmd - August 19, 2009 - 05:08

This code did it for me:

<?php
jquery_plugin_add
('tooltip');
drupal_add_js(' $(document).ready(function() {
          $("#trigger").tooltip();
          });'
,
        
'inline'
);
?>

#3

hanamizuki - October 8, 2009 - 01:56

it is not working for me either...

#4

mfb - October 8, 2009 - 04:17

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

 
 

Drupal is a registered trademark of Dries Buytaert.