I'm having an issue with tooltips with jQuery UI involving third-party ads. When I hover over the ad, I see a tooltip with the text "3rd party content". I only want the tooltips to appear on elements that have a class of .fa-question-circle
title=3rd party ad content
. I just want to be able to prevent that from being seen by the user. // Tooltips
$(".fa-question-circle").tooltip({
tooltipClass: "popup",
position: {
my: "center bottom-15",
at: "center top"
},
hide: false
});
In the end, it looked like this:
// Tooltips
$(document).tooltip({
tooltipClass: "popup",
items: ".fa-question-circle",
position: {
my: "center bottom-15",
at: "center top",
collision: 'none'
},
hide: false
});