Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- $("button").click(function(){
- $("div").animate({height:300,width:300,opacity:.5},"slow");
- });
- });
- </script>
- </head>
- <body>
- <button>Start Animation</button>
- <br /><br />
- <div style="background:#98bf21;height:100px;width:100px;position:relative">sdsdf
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement