I have a problem with the shake animation, once it starts, I can not get it to stop
var shakeit = null;
function abre(a){
clearInterval(shakeit);
}
function fecha(){
var shakeit = setInterval(function(){
$(".left_noti2").effect("shake",{direction:"up", distance:"5", times: "2"});
}, 3000);
}
Once I press the button to close the div, I would like the button to have the shake effect but barely open it again, I would like it to stop, but the code I have is not working, is there a solution?