jquery-ui-tooltip-widget

Very simple JUI Tooltip pluggin wrapper (js lib is built in Yii 1.1.13)
4 followers

This widget wraps jQuery UI tooltip, which comes in shipped with Yii 1.1.13 (latest jQuery UI version): http://jqueryui.com/tooltip/

Requirements

Works directly with Yii 1.1.13, for older version you have to include latest jQuery UI libraries yourself.

Usage

If you add the extension in /application/protected/extensions/juitip/EJuiTooltip.php you can use it like this:

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

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

Resources

Be the first person to leave a comment

Please to leave your comment.

Create extension