向下移动动画
$(".image").click(function(){ $(this).animate({height:'0px'}) });
<!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title> </head> <body> <div style="text-align:center;700px"> <img class="image" src="0.jpg"/> <img class="image" src="02.jpg"/> <img class="image" src="03.jpg"/></div> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.js"></script> <script src="hmsx.js"></script> </body> </html>