Skip to content

ddinchev/yii-jui-tooltip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yii1.1 jQuery UI Tooltip Widget

This is minimalistic widget that wraps jQuery UI tooltip, which comes in shipped with Yii 1.1.13 onwards: http://jqueryui.com/tooltip/

Composer installation

The preferred way to install this extension is through composer.

Either run

$ composer require ddinchev/yii-jui-tooltip-widget dev-master

or add

"ddinchev/yii-jui-tooltip-widget": "*"

to the require section of your composer.json file.

Now you can use the widget like this:

$this->widget('EJuiTooltip', array('selector' => '.tooltip'));

Once the widget has been included, way all links that have "tooltip" class and have "title" attribute will start displaying tooltips on hover containing the content of the "title" attribute. For more options check: http://jqueryui.com/tooltip/

Manual installation

Download EJuiTooltip.php to protected/extensions/juitooltip/EJuiTooltip.php. Now you can use the widget like this:

Yii::import('application.extensions.juitip.EJuiTooltip', true);
$this->widget('EJuiTooltip', array('selector' => '.tooltip'));

About

jQuery UI Tooltip Widget for Yii 1.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages