I have tooltip which is being displayed on hover of a image, The content of tooltip is the larger version hovered image..
Problem: The image in tooltip loads slowly.. How can I display loader until image doesn't loads in Tootip?
<img id="small-img" title= "<img id='big-img' src=<?=getResizedImage(imageId, 500);?>>" src="<?= getResizedImage(imageId, 150); ?>" />
I solved the issue by moving the contents of 'title' to other DIV ('tooltip-contents')..
Below is my fix which shows a div inside tooltip.