Create a DOM element on the fly, then position it fixed using the offset of the target element. You can attach the creation of the element on the mousein event, and the destruction on the mouseout event of the target element.
Assuming your target page element has an id myId:
Add this to your on ready function, or on a script tag after the myId element has been declared:
$('#myId').mouseenter(function(){
$('body').append("<div id='hoveringTooltip' style='position:fixed;'></div>");
$('#hoveringTooltip').html("MY TOOLTIP TEXT GOES HERE");
$('#hoveringTooltip').css({
"top" : $(this).offset().top + MYTOPOFFSET,
"left" : $(this).offset().left + MYLEFTOFFSET
});
});
$('#myId').mouseleave(function(){
$('#hoveringTooltip').remove();
});
title
attribute on img or onehackoranother.com/projects/jquery/tipsy to make it fanicer – Allay