etooltipster

A wrapper for jQuery ToolTipster plugin
6 followers

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

Resources

Total 2 comments

#16446 report it
turi at 2014/02/24 06:12am
@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.

#16348 report it
trond at 2014/02/13 07:34am
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...

Leave a comment

Please to leave your comment.

Create extension