亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

jQuery實現(xiàn)垂直半透明手風(fēng)琴特效代碼分享

 更新時間:2015年08月21日 15:19:16   投稿:lijiao  
這是一款jquery hover抽屜式導(dǎo)航圖片展開收縮切換特效代碼,用戶還可以自定義對應(yīng)幻燈片的標(biāo)題與文字說明,是一款非常實用的幻燈片特效源碼。

今天我們來分享一款基于jQuery的橫向手風(fēng)琴圖片輪播焦點圖特效源碼。手風(fēng)琴效果即圖片一張張層疊在一起,鼠標(biāo)滑過圖片時即可展開完整的圖片,這樣的效果很常見,所以應(yīng)用也很廣泛,大家可以試試這款jQuery焦點圖。

運行效果圖:

---------------------------------效果演示 源碼下載---------------------------------

為大家分享的jQuery半透明抽屜式手風(fēng)琴代碼如下

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery半透明抽屜式手風(fēng)琴代碼</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://chabaoo.cn" target="_blank">
 <div class="txt">
  <p class="p1">作者 : 走天涯</p>
  <p class="p2">我的個人拉薩之旅||故事之城</p>
 </div>
 </a>
 </li>
 <li class="l2">
 <a href="http://chabaoo.cn" target="_blank">
 <div class="txt">
  <p class="p1">作者 : 走天涯</p>
  <p class="p2">我的個人拉薩之旅||故事之城</p>
 </div>
 </a>
 </li>
 <li class="l3"> 
 <a href="http://chabaoo.cn" target="_blank">
 <div class="txt">
  <p class="p1">作者 : 走天涯</p>
  <p class="p2">我的個人拉薩之旅||故事之城</p>
 </div>
 </a>
 </li>
 <li class="l4">   
 <a href="http://chabaoo.cn" 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>
</body>
</html>

以上就是為大家分享的jQuery半透明抽屜式手風(fēng)琴代碼,希望大家可以喜歡。

相關(guān)文章

最新評論