another question about pro
-
hi Thomas, the pro version is now working fine, I have just a question.
I have a small script JQuery that allow me to add and format tooltip on the image.
Very simple
jQuery('img.attachment-thumbnail').hover( function() { jQuery(this).parent().removeAttr('title'); title = jQuery(this).attr('title'); alt = jQuery(this).attr('alt'); jQuery(this).removeAttr('title'); jQuery(this).removeAttr('alt'); jQuery('<p class="tooltip"></p>').text(title).appendTo('body').fadeIn('slow'); }, function() { jQuery('.tooltip').remove(); jQuery(this).attr('title',title); jQuery(this).attr('alt',alt ); }) .mousemove(function(pos) { var xx = pos.pageX + 20, yy = pos.pageY + 10; jQuery('.tooltip').css({ top: yy, left: xx, }) });
All is fine unless I activate the Infinite Loading feature, in this case my script does not work on the image not loaded immediately on page load because they do not exist yet.
Any idea to solve?
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘another question about pro’ is closed to new replies.