Originariamente inviato da Vindav
il plugin permette di gestire il callback? se si potresti inserire questa riga di codice:
jQuery(".provID").html(" - "+jQuery(this).attr('alt'));
nella funzione di callback
niente non va...
ho provato cosi
codice:
jQuery("map > #tooltip area").tooltip({ bodyHandler: function(){
return jQuery(".provID").html(" - "+jQuery('#continenti > map > #tooltip area').attr('alt'));
},
showURL: false, positionLeft: true
});
e anche così
codice:
jQuery("map > #tooltip area").tooltip({
bodyHandler: function(){
jQuery('#continenti > map > #tooltip area').live('mouseover', function() {
jQuery(".provID").html(" - "+jQuery(this).attr('alt'));
});
jQuery('#continenti > map > #tooltip area').live('mouseout', function() {
jQuery(".provID").html("");
});
},
showURL: false,
positionLeft: true
});
ma niente ...