ScreencastADay
Watch and Learn!
Home
Animation Using JQuery Library
8/28/2008 12:00:00 AM size => 3.24 MB, duration => 4:29
In this screencast we will demonstrate how to use the animation effects using JQuery library. You can also chain multiple effects using JQuery chaining syntax. You will find out that how easy it is to create animation effects when JQuery library is used.
<style type="text/css">
.div
{
background-color:Green;
height:10px;
width:10px;
}
</style>
<form id="form1" runat="server">
<div>
<input type="button" value="Animate" id="btnAnimate" />
<br />
<br />
<div id="myDiv" class="div">
</div>
</div>
</form>
<script language="javascript" type="text/javascript">
$(document).ready(function()
{
$("#btnAnimate").click(function()
{
$("#myDiv").animate(
{
width:"60%"
},1200).slideUp();
});
});
</script>
Double Click on the Video to Enlarge
Comments
Name
Email
Comment/Feedback
Categories
C# (16)
ASP.NET (36)
JavaScript (19)
Ruby (3)
SQL (2)
Unit Testing (12)
Architecture (6)
Ajax (5)
WPF (2)
Visual Studio (2)
IronRuby (1)
Cool Tools (1)
Calendar
September 2008
M
T
W
T
F
S
S
« Jul
Sep »
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Lorem Ipsum Dolor
Nulla luctus eleifend purus
Praesent scelerisque scelerisque erat
Ut nonummy rutrum sem
Pellentesque tempus quam quis nulla
Fusce ultrices fringilla metus
Praesent mattis condimentum nisl