Home › Forums › JavaScript › fade in fade out issue › Re: fade in fade out issue
November 27, 2011 at 7:52 pm
#91396
mattgoucher
Member
If you want to continue to work with your existing code, there are a few things to note.
// Your binding the mouseenter to a specific element
link.bind('mouseenter', function(){
var tag = jQuery('#tt');
tag.html(jQuery(this).find('img').data('title'));
jQuery(this).prepend(tag);
jQuery('#tt').fadeIn('slow');
});
Try somthing like this.
$('.jTscroller a').find('img').mouseenter(
function() {
// Code Here
}
);