輪播圖左右箭頭jquery-創(chuàng)新互聯(lián)

<!DOCTYPE html>

10年積累的網(wǎng)站制作、做網(wǎng)站經(jīng)驗(yàn),可以快速應(yīng)對客戶對網(wǎng)站的新想法和需求。提供各種問題對應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認(rèn)識你,你也不認(rèn)識我。但先網(wǎng)站制作后付款的網(wǎng)站建設(shè)流程,更有蒼梧免費(fèi)網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。

<html>

<head>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

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

  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">

  <title>建造師考試網(wǎng)_全國專業(yè)建造師考試培訓(xùn)平臺</title>

  <link rel="stylesheet" type="text/css">

  <script type="text/javascript" src="http://img.wangxiao.cn/js/jquery-1.8.1.min.js"></script>

  <script type="text/javascript" src="http://static.wangxiao.cn/users/js/artDialog/artDialog.js"></script>

  <link rel="stylesheet">

  <script src="/Content/js/user.js"></script>

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

  <link rel="stylesheet" type="text/css">

  <style type="text/css">

    .header-logo {

      margin-top: 27px;

      margin-bottom: 27px;

    }

    .header-nav {

      margin-top: 47px;

    }

      .header-nav, .header-nav a {

        color: #555;

      }

    .flow-nav {

      overflow: hidden;

      height: 50px;

      line-height: 50px;

      position: fixed;

      z-index: 1000;

      width: 100%;

      background-color: #f3520a;

      top: 0;

    }

    .combgcolor{

     background-color: #f3520a;

    }

    .header-icon1 {

      background-p_w_picpath: url(/Content/p_w_picpaths/login.png);

    }

    .header-icon2 {

      background-p_w_picpath: url("/Content/p_w_picpaths/registered.png");

    }

    .erw-bottom {

      padding: 3px;

    }

    .erwe span {

      height: auto;

    }

    .outer-box {

      margin-top: -15px;

      height: 318px;

    }

     .show_box{

      min-width:1190px;

      margin:0 auto;

    }

    .ul.pic_list,.show_box{

      min-height:300px;

    }

    .left_btn,.right_click{

      width:50px;

      height:50px;

      background-color:#000;

      opacity:0.5;

      background-color: #000;

      opacity: 0.5;

      position: relative;

      z-index: 10;

      top:45%;

      cursor: pointer;

    }

    .left_btn{

    float:left;

    left:5%;

    }

    .right_click{

    float:right;

    right:5%;

    }

  </style>

</head>

<body>

<div class="show_box">

      <div class="left_btn">

        <img src="/upload/otherpic7/leftbtn.png" width="100%">

      </div>

      <div class="right_click">

        <img src="/upload/otherpic7/leftbtn.png" width="100%">

      </div>

      <ul class="pic_list">

        <li >

          <a title="" target="_blank"><img alt="" src="/upload/otherpic7/213234.jpg"></a>

        </li>

        <li >

          <a title="" target="_blank"><img alt="" src="/upload/otherpic7/213235.jpg"></a>

        </li>

      </ul>

      <div class="title_nav">

        <a href="javascript:;" target="_blank" class="" ></a>

        <a href="javascript:;" class="select" ></a>

      </div>

    </div>

</body>

<script type="text/javascript">

(function ($) {

    $.fn.turnPic = function () {

      var index = 0;

      var clickLeft = $(this).children(".left_btn");

      var clickRight = $(this).children(".right_click");

      var showUl = $(this).children("ul.pic_list").children("li");

      var len = showUl.length;

      var navList = $(this).children("div").children("a");

      var timer;

      var showImg=function(index) {

        showUl.eq(index).stop(true, true).fadeIn("slow").siblings().fadeOut("slow");

        navList.removeClass("select").css("opacity", "0.7").eq(index).addClass("select").css("opacity", "1");

      }

      timer = setInterval(function () {

          showImg(index);

          index++;

          if (index == len) {

            index = 0;

          }

        }, 3000);

       var click=function(){

        clearInterval(timer);

       console.log(index)

        showImg(index);

        index++;

        if (index == len) {

          index = 0;

        }

       };

      clickLeft.click(function () {

       click();

      });

      clickRight.click(function () {

       click();

      });

      navList.mouseover(function () {

        index = navList.index(this);

        showImg(index);

      });

      $(this).hover(function () {

        clearInterval(timer);

      }, function () {

         timer = setInterval(function () {

          showImg(index);

          index++;

          if (index == len) {

            index = 0;

          }

        }, 3000);

      }).trigger("moverleave");

    }

  })(jQuery);

  $(function () {

    $(".show_box").turnPic();

  })

</script>

</html>

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點(diǎn)與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。

當(dāng)前文章:輪播圖左右箭頭jquery-創(chuàng)新互聯(lián)
鏈接分享:http://bm7419.com/article44/dgdehe.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站內(nèi)鏈、企業(yè)網(wǎng)站制作網(wǎng)站改版、網(wǎng)站維護(hù)微信公眾號、定制網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都app開發(fā)公司