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 -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -