<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery垂直半透明手风琴特效代码</title>
<style type="text/css">
*{margin:0;padding:0;list-style-type:none;}
a,img{border:0;text-decoration:none;}
body{font:12px/180% Arial, Helvetica, sans-serif, "新宋体";}
.pic{width:1100px;height:430px;margin:70px auto 0;}
.pic ul li{list-style:none;width:100px;height:429px;float:left;}
.pic .l1{background-image:url(img/1.jpg);}
.pic .l2{background-image:url(img/2.jpg);}
.pic .l3{background-image:url(img/3.jpg);}
.pic .l4{background-image:url(img/4.jpg);width:789px;}
.txt{width:100px; height:429px;background:#000;filter:alpha(opacity=50);background:rgba(0,0,0,.5);}
.txt p{color:#fff;font-family:"微软雅黑";float:left;position:relative;}
.txt .p1{font-size:12px;width:12px;margin:25px 25px 0 20px;}
.txt .p2{font-size:14px;width:14px;margin-top:25px;}
</style>
</head>
<body>
<div class="pic">
<ul>
<li class="l1">
<a href="http://www.jb51.net/" target="_blank">
<div class="txt">
<p class="p1">作者 : 默默的墨墨</p>
<p class="p2">我的个人拉萨之旅||故事之城</p>
</div>
</a>
</li>
<li class="l2">
<a href="http://www.jb51.net/" target="_blank">
<div class="txt">
<p class="p1">作者 : 默默的墨墨</p>
<p class="p2">我的个人拉萨之旅||故事之城</p>
</div>
</a>
</li>
<li class="l3">
<a href="http://www.jb51.net/" target="_blank">
<div class="txt">
<p class="p1">作者 : 默默的墨墨</p>
<p class="p2">我的个人拉萨之旅||故事之城</p>
</div>
</a>
</li>
<li class="l4">
<a href="http://www.jb51.net/" target="_blank">
<div class="txt">
<p class="p1">作者 : 默默的墨墨</p>
<p class="p2">我的个人拉萨之旅||故事之城</p>
</div>
</a>
</li>
</ul>
</div>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
$(".pic ul li").hover(function(){
$(this).stop(true).animate({width:"789px"},500).siblings().stop(true).animate({width:"100px"},500);
});
</script>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
<p>适用浏览器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗.</p>
</body>
</html>
jQuery实现垂直半透明手风琴特效源码.zip
版权申诉
92 浏览量
2022-11-07
00:25:00
上传
评论
收藏 296KB ZIP 举报
毕业_设计
- 粉丝: 1936
- 资源: 1万+
最新资源
- 基于Javascript的影视动画设计源码 - cad
- 基于Java和深度学习的瓦斯浓度预测系统后端设计源码 - 瓦斯浓度预测后端
- Screenshot_20240528_103010.jpg
- 基于Python的新能源承载力计算及界面设计源码 - HAINING-DG
- 基于Java的本科探索学习项目设计源码 - 本科探索
- 基于Javascript和Python的微商城项目设计源码 - MicroMall
- 基于Java的网上订餐系统设计源码 - online ordering system
- 基于Javascript的超级美眉网络资源管理应用模块设计源码
- 基于Typescript和PHP的编程知识储备库设计源码 - study-php
- Screenshot_2024-05-28-11-40-58-177_com.tencent.mm.jpg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈