Quantcast
Channel: Discussions - T3 - Joomla Template Framework
Viewing all articles
Browse latest Browse all 3483

Boostrap tooltip with T3 BS3 template

$
0
0
Hello,
I am trying to use Bootstrap Tooltip with T3 BS3 template in my custom component.
I already read a lot of topics about it, but I still have the problem. Just add the class "hasTooltip" doesn't work for me.

Popover
It works with this code :

Click to toggle popover

!function ($) {
$(function(){
$(".hasPopover").popover({title: '', content: "Testing popover!", trigger: "click", placement: "bottom" });
})
}(window.jQuery)

Tooltip
I use nearly the same code for tooltip, but I can't make it works

Click to toggle tooltip

!function ($) {
$(function(){
$(".hasTooltip").tooltip({title:'Test', trigger: "hover", placement: "bottom" });
})
}(window.jQuery)

I don't understand what I do wrong. Can you advice me ?

Viewing all articles
Browse latest Browse all 3483

Trending Articles