I am using the jquery qTip plugin to display tooltips, and it works fine if the tooltip has only text to display. However, I want text and an image in the tooltip. The text and the image should be displayed side by side.
<img src="../images/sicon.png" alt="beside this tooltip there is a image <img src="../images/bird.png"/>" class="ToolTip">
var style = { width: '225px' };
$(".ToolTip").each(function (index, element)
{
var title = $(element).attr('alt');
$.qtip.bindQtip(element, title, {}, {}, {}, style , {});
});
Any help would be appreciated.
i solved this.. instead of sending text i sent "div" with text and image tag in it as content