I have a tooltip for an img element. I have the position and offset defined. This positioning looks fine with the screen resolution and monitor I'm using with the browser maximized.
If I Restore Down the browser window, the tooltips shift left. Styling the container didn't seem to work. Whatever the solution may be, I need the tooltip to always appear directly above the element no matter the browser window size.
Thanks in advance for the help!
$(document).ready(function() {
$(".introdetails img#1").tooltip({
// use div.tooltip as our tooltip
tip: '.tooltip',
// use fade effect instead of the default
effect: 'slide',
// the time before tooltip is shown
delay: 400,
// tweak the position
position: "top center",
offset: [-100, 0],
});
});
If I Restore Down the browser window, the tooltips shift left. Styling the container didn't seem to work. Whatever the solution may be, I need the tooltip to always appear directly above the element no matter the browser window size.
Thanks in advance for the help!
