addClass with Fade with mouse hover
Hello,
I´m trying to use the addClass with Fade in the event with mouse hover.
It works, but if I put a fade with 1 second, and the mouse in/out are less than 1 second, it did not work.
This is the code:
$(document).ready(function(){
$("#ultimos_jobs_1").hover(
function(){
$("#ultimos_jobs_1").addClass("tabela_td_ultimos_jobs_roolover", 1000);
},
function(){
$("#ultimos_jobs_1").removeClass("tabela_td_ultimos_jobs_roolover", 1000);
});
});
What should I do?