Difference between #10 and #11 of
Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Revision #11 has been created by alrazi on Jan 8, 2018, 8:10:37 AM with the memo:

update code typo
« previous (#10)

Changes

Title unchanged

Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Category unchanged

Tips

Yii version unchanged

Tags unchanged

yii, yii2, bootstrap, bootstrap3, tooltip, popover

Content changed

[...]
**Step 1:** Initialize the Bootstrap Tooltip & Popover plugins in your view layout file `@web\views\layouts\main.php`. Add this to somewhere in the beginning head section (after you have loaded the Jquery using your AppAsset or something similar).


```php
$js = <<<
 'SCRIPT'
/* To initialize BS3 tooltips set this below */
$(function () {
$("[data-toggle='tooltip']").tooltip();
});;
/* To initialize BS3 popovers set this below */
[...]
3 2
48 followers
Viewed: 62 368 times
Version: 2.0
Category: Tips
Written by: Kartik V
Last updated by: alrazi
Created on: May 6, 2014
Last updated: 4 years ago
Update Article

Revisions

View all history