HTML-Tooltip position relative to mouse pointer

For default tooltip behavior simply add the title attribute. This can’t contain images though. <div title=”regular tooltip”>Hover me</div> Before you clarified the question I did this up in pure JavaScript, hope you find it useful. The image will pop up and follow the mouse. jsFiddle JavaScript var tooltipSpan = document.getElementById(‘tooltip-span’); window.onmousemove = function (e) { … Read more