Hi
I’m using a jquery tooltip plug-in that works fine – I have a thumbnail image and when you mouse over it the tooltip shows
however, the image in the tooltip is the thumbnail and I would like to be able to pass it the name of the full-sized image
the jquery call is this :
[code=php]
$(function() {
$(‘.image-list img’).tooltip({
track: true,
delay: 0,
showURL: false,
fade: 250,
bodyHandler: function() {
return $(“<img/>”).attr(“src”, this.src);
}
});
});
and the image code is this :
[code=html]<div class=”image-list” style=”width:40px;height:20px;overflow:hidden;margin-bottom:4px;”><img src=”../dyn/th_7574407d8d5e3c36.jpg” style=”width:40px;” /></div>
what would I need to do in the line below to pass the name of the large image instead of this.src ?
[code=php]return $(“<img/>”).attr(“src”, this.src);
thanks for any help you cna give