会动的耳朵  
 1 <script>
 2 $(function(){
 3     $('.on1').each(function(){
 4         $(this).hover(
 5             function(){
 6                 $(this).addClass('ppNavOn');
 7         });
 8         $(this).mouseleave(
 9             function(){
10                 $(this).removeClass('ppNavOn');
11         });
12         
13     });
14 });
15 </script>

 

posted on 2013-06-27 10:02  会动的耳朵  阅读(670)  评论(0编辑  收藏  举报