jq hover方法用法 例子
2016-03-10 11:55
253 查看
<script type="text/javascript">
$(function(){
$('.caseslist').hover(function(){
if(!$(this).is(":animated")){
$(this).children('.casedetail').animate({'bottom':'0px'}, 300);
}
},function(){
$(this).children('.casedetail').animate({'bottom':'-50px'}, 300);
});
});
</script>
$(function(){
$('.caseslist').hover(function(){
if(!$(this).is(":animated")){
$(this).children('.casedetail').animate({'bottom':'0px'}, 300);
}
},function(){
$(this).children('.casedetail').animate({'bottom':'-50px'}, 300);
});
});
</script>
相关文章推荐
- 常用项目管理工具
- OOD、OOP、AOP区别
- C/C++获取当前系统时间
- Zend Framework教程之Application和Bootstrap用法详解
- Linux用户和权限管理
- 进制转换练习
- iOS开发-appDelegate的生命周期总结
- play方法播放
- stiBesreveR.190
- 二分查找,递归
- java的动态代理机制
- 1、总结
- Java定时器
- Ext.Net学习笔记06:Ext.Net DirectEvents用方补充
- java.lang.OutOfMemoryError: GC overhead limit exceeded
- Ural 1146 Maximum Sum(DP)
- javascript实现可键盘控制的抽奖系统
- js事件处理程序学习与总结
- Intent启动Activity的Flag
- UGUI(十)_无限循环列表