$(document).ready(function(){
/* you can pass in your own setup function to change the behavior, so you don't need to mess with the plugin */
var myCall = function(el) {
$(el).bind('mouseover', function() {
$(this).addClass('highlight');
});
$(el).bind('mouseout',function() {
$(this).removeClass("highlight");
});
}
$('.tipholder').ToolTip({idata:'data',ifollow:true},myCall);
});
|