jquery实现animate的使用
来源:互联网 发布:网络化学 编辑:程序博客网 时间:2024/05/16 10:16
<title></title>
<script src="jquery-1.9.1.js" type="text/javascript"></script>
<style type="text/css">
.imgclass
{
width: 100px;
height: 100px;
border: solid 1px red;
position: absolute;
left: 20px;
top: 20px;
}
</style>
<script type="text/javascript">
$(function () {
$('img').click(function () {
$(this).animate({ left: '+=130px' }, 2000).animate({ left: '+=130px' }, 2000).animate({ top: '+=130px' }, 2000).animate({ left: '-=130px' }, 2000).animate({ left: '-=130px' }, 2000).animate({ top: '+=130px' }, 2000).animate({ left: '+=130px' }, 2000).animate({ left: '+=130px' }, 2000, function () {
$('img').hide(5000);
})
})
});
</script>
</head>
<body>
<div>
<img alt="" src="images/1.jpg" class="imgclass" />
<table border="1" width="400px" height="400px;">
<tr id="table1">
<td align="center">
1
</td>
<td align="center">
2
</td>
<td align="center">
3
</td>
</tr>
<tr id="table2">
<td align="center">
6
</td>
<td align="center">
5
</td>
<td align="center">
4
</td>
</tr>
<tr id="table3">
<td align="center">
7
</td>
<td align="center">
8
</td>
<td align="center">
9
</td>
</tr>
</table>
</div>
</body>
- jquery实现animate的使用
- jquery的animate的使用
- jQuery动画animate()的使用
- Jquery使用animate实现css3的transform动画效果
- JQuery的animate()实现菜单滑动
- jquery animate自定义动画的使用感受
- jquery animate实现动画
- Jquery animate实现效果
- Jquery animate使用
- 超实用的jQuery代码段 - jQuery实现Animate动画
- JQuery的animate
- jQuery实现图片轮播特性。使用animate函数
- jquery animate实现动画效果
- jquery animate实现动态进度条
- 实现jQuery中的animate 的background-color 属性的改变
- 用js实现类似jquery里的animate动画效果
- JQuery Animate函数实现透明度和位置渐变的实例
- 浅谈原生JS实现jQuery的animate()动画
- 64位win7系统、64位Myeclipse 10.5的破解步骤
- linux内核学习之进程和线程
- 使用systemtap调试内核
- OpenMeetings安装
- 第一个android游戏上架
- jquery实现animate的使用
- 转载的:stm32之DMA彻底研究
- Microsoft Visual Studio C++ 编译器选项设置
- CODEFORCE___301A-----分析题(纪念第一次水掉的CF)
- CWnd指针和HWnd(转)
- dwr学习(一)
- c#_虚基类[virtual ],基类与子类继承及引用关系
- 在windows下配置 关于libinet.dll的原因
- jQuery的slideToggle方法