jquery function one per load/refresh -


 $(".avatar-box1").mouseleave(function(){         $( ".avatar-box1" ).effect( "bounce", "slow" );      }); 

hello need run effect once per load/refresh page. grateful advice

you should use jquery .one()

 $(".avatar-box1").one("mouseleave", function(){     $( ".avatar-box1" ).effect( "bounce", "slow" );  }); 

Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -