js實(shí)現(xiàn)3D圖片逐張輪播幻燈片特效代碼分享
本文實(shí)例講述了javascript實(shí)現(xiàn)3D圖片逐張輪播幻燈片特效。分享給大家供大家參考。具體如下:
這是一款基于javascript實(shí)現(xiàn)3D圖片逐張輪播幻燈片特效代碼,實(shí)現(xiàn)過程很簡(jiǎn)單。
運(yùn)行效果圖:-------------------查看效果 下載源碼-------------------
小提示:瀏覽器中如果不能正常運(yùn)行,可以嘗試切換瀏覽模式。
為大家分享的js實(shí)現(xiàn)3D圖片逐張輪播幻燈片特效代碼如下
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>js實(shí)現(xiàn)3D圖片逐張輪播幻燈片</title> </head> <body> <style> ul#bcty365_nav{padding-left:50px; margin-bottom:10px; border-bottom:2px solid #ccc; overflow:hidden; _zoom:1;} ul#bcty365_nav li{float:left; display:inline; margin:10px;} ul#bcty365_nav li a{display:block;color:#000000; font-size:16px;} ul#bcty365_nav li a,#wimoban_p,#wimoban_p a{ font-family:"微軟雅黑";} ul#bcty365_nav li a:hover,#wimoban_p a:hover{color:red;} </style> <style type="text/css"> *{margin:0;padding:0;list-style-type:none;} a,img{border:0;} body{font:12px/180% Arial, Helvetica, sans-serif,"新宋體";} /* focus_Box */ #focus_Box{position:relative;width:710px;height:308px;margin:20px auto;} #focus_Box ul{position:relative;width:710px;height:308px} #focus_Box li{z-index:0;position:absolute; width:0px;background:#787878;height:0px;top:146px;cursor:pointer;left:377px;border-radius:4px;box-shadow:1px 1px 12px rgba(200, 200, 200, 1)} #focus_Box li img{width:100%;background:url(images/loading.gif) no-repeat center 50%;height:100%;vertical-align:top} #focus_Box li p{position:absolute;left:0;bottom:0px;width:100%;height:40px;line-height:40px;background:url(images/float-bg.png) repeat;text-indent:8px;color:#fff;} #focus_Box li p span{display:inline-block;width:70%;height:40px;overflow:hidden;} #focus_Box .prev,#focus_Box .next{display:block;z-index:100;overflow:hidden;cursor:pointer;position:absolute;width:52px;height:52px;top:131px;} #focus_Box .prev{background:url(images/btn.png) left bottom no-repeat;left:0px} #focus_Box .next{background:url(images/btn.png) right bottom no-repeat;right:0px} #focus_Box .prev:hover{background-position:left top;} #focus_Box .next:hover{background-position:right top;} #focus_Box a.imgs-scroll-btn{display:block;position:absolute;z-index:110;top:7px;right:15px;width:51px;height:23px;overflow:hidden;background:url(images/share-btn.png) no-repeat;text-indent:-999px;} </style> <script src="js/ZoomPic.js"></script> <div id="focus_Box"> <span class="prev"> </span> <span class="next"> </span> <ul> <li> <a href="http://www.dbjr.com.cn/"><img width="445" height="308" alt="這個(gè)時(shí)代 你所追求的是什么?" src="images/1.jpg" /></a> <p> <span>這個(gè)時(shí)代 你所追求的是什么?</span> <a href="http://www.dbjr.com.cn/" class="imgs-scroll-btn">分享</a> </p> </li> <li> <a href="http://www.dbjr.com.cn/"><img width="445" height="308" alt="我們所追求的不是擁有一切,而是擁有值得的一切" src="images/2.jpg" /></a> <p> <span>我們所追求的不是擁有一切,而是擁有值得的一切</span> <a href="http://www.dbjr.com.cn/" class="imgs-scroll-btn">分享</a> </p> </li> <li> <a href="http://www.dbjr.com.cn/"><img width="445" height="308" alt="一段旅程,兩個(gè)城市,潮流正在被重塑" src="images/3.jpg" /></a> <p> <span>一段旅程,兩個(gè)城市,潮流正在被重塑</span> <a href="http://www.dbjr.com.cn/" class="imgs-scroll-btn">分享</a> </p> </li> <li> <a href="http://www.dbjr.com.cn/"><img width="445" height="308" alt="你的眼光、激情、創(chuàng)意和內(nèi)涵,也在重塑著城市的潮流" src="images/4.jpg" /></a> <p> <span>你的眼光、激情、創(chuàng)意和內(nèi)涵,也在重塑著城市的潮流</span> <a href="http://www.dbjr.com.cn/" class="imgs-scroll-btn">分享</a> </p> </li> <li> <a href="http://www.dbjr.com.cn/"><img width="445" height="308" alt="在這里,拋開重重限制,釋放真實(shí)自我" src="images/5.jpg" /></a> <p> <span>在這里,拋開重重限制,釋放真實(shí)自我</span> <a href="http://www.dbjr.com.cn/" class="imgs-scroll-btn">分享</a> </p> </li> </ul> </div> <div style="text-align:center;clear:both"> </div> </body> </html>
以上就是為大家分享的js實(shí)現(xiàn)3D圖片逐張輪播幻燈片特效代碼,希望大家可以喜歡,并應(yīng)用到實(shí)踐中。
相關(guān)文章
關(guān)于ECharts設(shè)置x軸刻度間隔的兩種方式
這篇文章主要介紹了關(guān)于ECharts設(shè)置x軸刻度間隔的兩種方式,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教2024-02-02PHP+jQuery+Ajax+Mysql如何實(shí)現(xiàn)發(fā)表心情功能
這篇文章通過php+jquery+ajax+mysql相結(jié)合,實(shí)現(xiàn)當(dāng)用戶瀏覽網(wǎng)站文章或者是論壇帖子后,想表達(dá)自己瀏覽后的心情,發(fā)表自己的感受,很多網(wǎng)站都提供了用戶發(fā)表心情的功能,通過此功能可以很直觀的分析文章或者是論壇對(duì)瀏覽者的用戶體驗(yàn)度2015-08-08JS動(dòng)態(tài)修改iframe內(nèi)嵌網(wǎng)頁地址的方法
這篇文章主要介紹了JS動(dòng)態(tài)修改iframe內(nèi)嵌網(wǎng)頁地址的方法,涉及javascript動(dòng)態(tài)修改iframe中src屬性的技巧,具有一定參考借鑒價(jià)值,需要的朋友可以參考下2015-04-04JavaScript封裝axios的實(shí)現(xiàn)詳解
這篇文章主要介紹了JavaScript封裝axios的實(shí)現(xiàn),Axios是一個(gè)開放源代碼庫,使我們可以輕松地發(fā)出HTTP請(qǐng)求。 實(shí)際上,它是通過額外的超能力來fetch2022-09-09Echarts中的clear()和dispose()用法實(shí)例
這篇文章主要給大家介紹了關(guān)于Echarts中clear()和dispose()用法的相關(guān)資料,clear和dispose是echarts提供的用于解決內(nèi)存溢出的方法 ,文中介紹的非常詳細(xì),需要的朋友可以參考下2023-10-10JavaScript中new操作符的原理與實(shí)現(xiàn)詳解
你知道new嗎?你知道new的實(shí)現(xiàn)原理嗎?你能手寫new方法嗎?不要擔(dān)心,這篇文件就來帶大家深入了解一下JavaScript中的new操作符,感興趣的小伙伴可以學(xué)習(xí)一下2022-10-10js 編碼轉(zhuǎn)換 gb2312 和 utf8 互轉(zhuǎn)的2種方法
這篇文章介紹了gb2312 和 utf8 互轉(zhuǎn)的JS方法,有需要的朋友可以參考一下2013-08-08