Hi everybody,
I'm brand new using jQuery... I'm not a newbie with these kinda things, though... I've had experiences with prototype and mootools but I found jQuery better than them, so I'm changing my scripts to make 'em properly working with jQuery.
So, the first problem is: my tooltip works fine, but only the second time I pass my mouse on the "object" of my tooltip. Why? How can it be fixed?
My script:
/**** Html ****/
<a class="chop_mouseover" href="javascript:void(0);">My object</a>
/**** Script ****/
$(document).ready(function() {
$('.chop_mouseover').bind('mouseenter', mmg_load_tooltip_list);
});
function mmg_load_tooltip_list(){
$('.chop_mouseover').tooltip({
delay: 0,
track: true,
bodyHandler: function() {
return $(this).html();
},
showURL: false,
extraClass: 'mmg_default',
});
}
So, it's a very simple script as you can see... that's exactly why I don't understand what's not working.
Thank you!
EDIT: I've deleted the second question, cuz it was a stupid thing that I didn't understand in the first place... Sorry