A wrapper for jQuery ToolTipster plugin
Requirements ¶
Tested with Yii 1.1.12 and 1.1.14
Installation ¶
Extract the file under protected/extensions folder.
Usage ¶
- Default Usage
$this->widget('application.extensions.etooltipster.EToolTipster');
- Usage with Target
$this->widget('application.extensions.etooltipster.EToolTipster', array(
'target' => '.tooltip'
));
- Usage with theme css url
$this->widget('application.extensions.etooltipster.EToolTipster', array(
'target' => '.tooltip',
'themeCssFile' => 'http://iamceege.github.io/tooltipster/css/themes/tooltipster-light.css',
'options' => array(
'theme' => 'tooltipster-light'
)
));
- Usage with optional parameters
$this->widget('application.extensions.etooltipster.EToolTipster', array(
'target' => '.tooltip',
'options' => array(
'theme' => 'tooltipster-shadow'
)
));
Change Log ¶
Version 1.0.1 (2014-02-24)
- Added theme css url
Very cool extension
Maybe it could be a good idea to have a configuration setting to include the themed css files? Some of the look a bit extreme...
@trond
Now, I have added Theme Css File option and you can see the usage in the above description.
Creating custom theme for this plugin is very easy, just follow the documentation at the Tooltipster.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.