I have a simple jQuery tooltip script:
it pulls the title tag in the link in the following line:
var title = jQuery(this).attr('title');
And inserts it into the tooltip in this bit:
.text(title)
Is it possbile to add html like a h2 to the title variable like so:
.text("<h2>" + title + "</h2>")
Thank you any help would be appreciated as i am very new to jQuery :)
htmlmethod, yes..hover()and.mouseover()to control tooltip. Example: in place of.mouseover(), you can simply usetrackoption.