div滑入与滑出
2024-08-24 03:40:38
html
<div class="pop_tit">
<span class="p_tit1" title="大连未来城LECITY">大连未来城LECITY</span><br />
</div>
css
.pop_tit { width:350px; height:45px; padding:10px 10px 5px 10px; /*position:absolute; left:5px; top:5px; z-index:29;*/ background:url(../images/zp_titbg.png) no-repeat 0px 0px; display:none;}
.p_tit1 { line-height:18px; color:#ffffff; font-size:18px; padding-right:18px;}
js
//case
$(".case li a").live('mouseenter',function(){
//alert('enter');
$(this).children().stop(false,true);
$(this).children(".pop_tit").slideDown("fast");
}).live('mouseleave',function(){
//alert('out');
$(this).children().stop(false,true);
$(this).children(".pop_tit").slideUp("fast");
});
最新文章
- Android 使用 ksoap2-android 访问WebService(C#)
- Java学习-004-传世经典Helloworld
- 编译安装apache+php(加常见问题解决)
- [iOS UI进阶 - 1] 自定义控件
- c++20道面试题
- 文件和文件夹权限-Win7公共盘中出现大量临时文件
- kali nessus 安装插件失败解决方法
- &#39;datetime.datetime&#39; has no attribute &#39;datetime&#39;问题
- UX2 beta 3正式发布!!
- 关于Mysql DATE_FORMAT() 日期格式
- Java Web的简单项目部署
- Node.js的事件处理机制
- Python开发工程师技术手记
- yolo_v3训练自己的模型(人脸及deep-sort)
- js----jquery和js的区别
- noip第3课作业
- centos6安装ElasticSearch5.6.5错误记录
- SpringMvc4中获取request、response对象的方法
- UNDO三大作用与一致性读机制浅析
- 0, \0, NULL