欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

jquery果凍抖動效果實現(xiàn)方法

 更新時間:2015年01月15日 11:38:51   投稿:shichen2014  
這篇文章主要介紹了jquery果凍抖動效果實現(xiàn)方法,涉及animate方法的使用技巧,具有一定參考借鑒價值,需要的朋友可以參考下

本文實例講述了jquery果凍抖動效果實現(xiàn)方法。分享給大家供大家參考。

具體實現(xiàn)方法如下:

復制代碼 代碼如下:

<html>
<head>
<script type="text/javascript" src="jquery-1.8.2.min.js"></script>
<script type="text/javascript">
 $(function(){
  $("div").mouseover(function(){
   $(this).animate({"width":"320","height":"100"},100);
   $(this).animate({"width":"310","height":"90"},100);
  }).mouseout(function(){
   $(this).animate({"width":"300","height":"80"},100);
  });
 });
</script>
<style type="text/css">
div{width:300px;height:80px;border-radius:8px;background:green;margin-top:10px;}
</style>
</head>
<body style="background-color:#e8e8e8;">
<div></div>
<div></div>
<div></div>
<div></div>
</body>
</html>

希望本文所述對大家的jQuery程序設計有所幫助。

相關文章

最新評論