综合绘画
来源:互联网 发布:迷恋网络怎么办 编辑:程序博客网 时间:2024/04/28 23:18
<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <style type="text/css"> * { margin: 0; padding: 0; } body { padding: 60px; } #panel { position: relative; width: 100px; height: 100px; border: 1px solid #0050D0; background: #96E555; cursor: pointer; } </style> <script type="text/javascript" src="JS/jquery-1.3.2.js"></script> <script type="text/javascript"> $(function() { $("#panel").click(function() { $(this).animate({ left: "400px", height: "200px", opacity: "1" }, 3000) .animate({ top: "200px", width: "200px" }, 3000) .fadeOut("slow"); }); }); </script></head><body> <div id="panel"> </div></body></html>