91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

怎么制作焦點幻燈輪播大圖js特效

發布時間:2022-02-28 10:01:24 來源:億速云 閱讀:170 作者:小新 欄目:web開發

這篇文章給大家分享的是有關怎么制作焦點幻燈輪播大圖js特效的內容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。

Html部分:

<!doctype html>

<html lang="zh">

<head>

         <meta charset="UTF-8">

         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

         <meta name="viewport" content="width=device-width, initial-scale=1.0">

         <title>焦點幻燈輪播大圖js特效</title>

         <meta name="keywords" content="焦點幻燈輪播大圖js特效" />

    <meta name="description" content="焦點幻燈輪播大圖js特效" />

         <link rel="stylesheet" type="text/css" href="css/style.css">

</head>

<body>    

                  

                   <!-- <div class="container"> -->

                            <div class="content" style="width:1000px;height:300px;margin:30px auto;overflow:hidden;">

                                     <div id="slider">

                                               <a href="#"><img src="img/demo1.jpg"/></a>

                                               <a href="#"><img src="img/demo2.jpg"/></a>

                                               <a href="#"><img src="img/demo3.jpg"/></a>

                                              <a href="#"><img src="img/demo4.jpg"/></a>

                                               <a href="#"><img src="img/demo5.jpg"/></a>

                                               <a href="#"><img src="img/demo6.jpg"/></a>

                                     </div>

                            </div>

                   <!-- </div> -->

                  

        

        

         <script src="js/jquery-1.10.2.js"></script>

         <script>window.jQuery || document.write('<script src="js/jquery-1.11.0.min.js"><\/script>')</script>

         <script type="text/javascript" src="js/vmc.slider.full.min.js"></script>

         <script type="text/javascript">

                   $(function() {

                            $('#slider').vmcSlider({

                                     width: 1000,

                                     height: 300,

                                     gridCol: 10,

                                     gridRow: 5,

                                     gridVertical: 20,

                                     gridHorizontal: 10,

                                     autoPlay: true,

                                     ascending: true,

                                     effects: [

                                               'fade', 'fadeLeft', 'fadeRight', 'fadeTop', 'fadeBottom', 'fadeTopLeft', 'fadeBottomRight',

                                               'blindsLeft', 'blindsRight', 'blindsTop', 'blindsBottom', 'blindsTopLeft', 'blindsBottomRight',

                                               'curtainLeft', 'curtainRight', 'interlaceLeft', 'interlaceRight', 'mosaic', 'bomb', 'fumes'

                                     ],

                                     ie6Tidy: false,

                                     random: false,

                                     duration: 2000,

                                     speed: 900

                            });

                   });

         </script>

</body>

</html>

CSS部分:

h4{ text-align: center; color:#828282 }

body{ background-color:#2D2D2D}

.vui-slider {

         position:relative;

         overflow:hidden;

         background:#999;

}

.vui-slider .vui-items {

         overflow:hidden;

         width:100%;

         height:100%;

}

.vui-slider .vui-item {

         display:none;

         position:absolute;

         top:0;

         left:0;

         width:100%;

         height:100%;

}

.vui-slider .vui-item a,

.vui-slider .vui-item img {

         display:block;

         padding:0;

         margin:0;

         border:none;

}

.vui-slider .vui-buttons {

         position:absolute;

         z-index:5;

         bottom:16px;

         left:50%;

         float:left;

         display:inline;

         filter:alpha(Opacity=80);

         -moz-opacity:0.8;

         opacity: 0.8;

}

.vui-slider .vui-button {

         float:left;

         display:inline;

         overflow:hidden;

         height:12px;

         width:12px;

         margin:0 10px;

         padding:0;

         border:none;

         border-radius:6px;

         background:#FFF;

         cursor:pointer;

}

.vui-slider .vui-button-cur {

         background-color:#C00;

}

.vui-slider .vui-transfer {

         display:none;

         position:absolute;

         top:0;

         left:0;

         width:100%;

         height:100%;

         z-index:3;

}

.vui-slider .vui-prev {

         position:absolute;

         top:50%;

         left:0;

         z-index:5;

         width:60px;

         height:150px;

         margin-top:-75px;

         border-radius:0 10px 10px 0;

         background:url(prev.gif) no-repeat;

         cursor:pointer;

         filter:alpha(opacity=30);

         -moz-opacity:0.3;

         -khtml-opacity:0.3;

         opacity:0.3;

         transition:0.5s ease;

         -o-transition:0.5s ease;

         -webkit-transition:0.5s ease;

}

.vui-slider .vui-next {

         position:absolute;

         top:50%;

         right:0;

         z-index:5;

         width:60px;

         height:150px;

         margin-top:-75px;

         border-radius:10px 0 0 10px;

         background:url(next.gif) no-repeat;

         cursor:pointer;

         filter:alpha(opacity=30);

         -moz-opacity:0.3;

         -khtml-opacity:0.3;

         opacity:0.3;

         transition:0.5s ease;

         -o-transition:0.5s ease;

         -webkit-transition:0.5s ease;

}

.vui-slider .vui-sidebutton-hover {

         filter:alpha(opacity=40);

         -moz-opacity:0.4;

         -khtml-opacity:0.4;

         opacity:0.4;

         background-color:#000;

}

感謝各位的閱讀!關于“怎么制作焦點幻燈輪播大圖js特效”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,讓大家可以學到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

js
AI

乐亭县| 黑水县| 红原县| 尤溪县| 郴州市| 修文县| 咸阳市| 广河县| 奇台县| 平安县| 万安县| 微博| 烟台市| 铁岭市| 昌平区| 宜丰县| 景东| 海阳市| 基隆市| 徐汇区| 龙川县| 锡林郭勒盟| 萨迦县| 满洲里市| 绵阳市| 西乌| 阿克| 镇沅| 汽车| 垣曲县| 友谊县| 怀宁县| 松阳县| 浙江省| 调兵山市| 新民市| 临汾市| 磴口县| 堆龙德庆县| 六盘水市| 江门市|