国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
JS+CSS打造的交錯(cuò)式圖片幻燈切換效果

<!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>
<title>JS+CSS打造的交錯(cuò)式圖片幻燈切換效果丨芯晴網(wǎng)頁特效丨CsrCode.Cn</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<!--把下面代碼加到<head>與</head>之間-->
<style type="text/css">
ul,li{margin:0;padding:0;}
img{border:none;}
ul li{list-style:none;}
#idSlider,#idSlider img{width:450px;height:296px;}
#idSlider{overflow:hidden;position:relative;}
.num{position:absolute;right:5px;bottom:5px;z-index:20;}
.num li{float:left;list-style:none;color:#fff;text-align:center;line-height:20px;width:20px;height:20px;font-family:Arial;font-size:12px;cursor:pointer;margin:1px;background-color:#060a0b;}
.num li.on{font-size:14px;background-color:#ce0609;font-weight:bold;}
#idContainer{width:450px;height:296px;overflow:hidden;position:relative;}
</style>
</head>
<body>
<!--把下面代碼加到<body>與</body>之間-->
<div class="container" id="idContainer">
 <ul id="idSlider">
  <li><a href="#"><img src="http://www.csrcode.cn/images/m01.jpg"></a></li>
  <li><a href="#"><img src="http://www.csrcode.cn/images/m02.jpg"></a></li>
  <li><a href="#"><img src="http://www.csrcode.cn/images/m03.jpg"></a></li>
  <li><a href="#"><img src="http://www.csrcode.cn/images/m04.jpg"></a></li>
 </ul>
 <ul id="slider2p" class="num">
  <li class="on">1</li>
  <li>2</li>
  <li>3</li>
  <li>4</li>
 </ul>
</div>
<script type="text/javascript" src="http://www.csrcode.cn/imagesforcode/201207/Tween.js"></script>
<script type="text/javascript" src="http://www.csrcode.cn/imagesforcode/201207/XScroll.js"></script>
<script type="text/javascript">
//delay:自動(dòng)滾動(dòng)間隔時(shí)間,默認(rèn)為4000
//how參數(shù)指定切換效果:0-淡入淡出,1-兩張圖片同時(shí)滾動(dòng),2-當(dāng)前圖片不動(dòng)、下一張圖片覆蓋上來,3-當(dāng)前圖片飛走、顯示出下一張
//direct參數(shù)指定方向:0123分別表示左上右下(當(dāng)how不為0時(shí)有效)
var xscroll=XScroll('idSlider',{delay:3000,how:4,direct:1,Tween:Tween.QuartOut,pager:'slider2p'});
</script>
</body>
</html>

<br>第一次運(yùn)行本代碼,請刷新一下本頁面先~~~<br>所需js文件:<a >Tween.js</a> 、 <a >XScroll.js</a><br><br><hr><p align="center"><font color=black>本特效由 <a target="_blank">芯晴網(wǎng)頁特效</a>丨CsrCode.Cn 收集于互聯(lián)網(wǎng),只為興趣與學(xué)習(xí)交流,不作商業(yè)用途。</font></p>

本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
Marquee 上移控制
一款設(shè)計(jì)精美的CSS滑動(dòng)門菜單
DIV+CSS實(shí)現(xiàn)的圓角邊框效果
jQuery實(shí)現(xiàn)圖片放大預(yù)覽效果
移動(dòng)web最簡潔的滑動(dòng)效果Swipe JS(適合初學(xué)者)
鼠標(biāo)滑過,縮略圖放大顯示(純CSS)
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服