zoukankan      html  css  js  c++  java
  • 5种banner


      <!DOCTYPE html>
    <html>
     <head>
      <meta charset="UTF-8">
      <title></title>
      <link rel="stylesheet" href="https://os.alipayobjects.com/rmsportal/cfYsvciteYQGywxceeGI.css" />
      <style id="stylesheet">
       html,body{
         100%;
        height: 100%;
       }
       .slide3D img{
         100%;
       }
       .container3D{
        background: #eee;
        margin:10px;
        float:left;
       }
       .title{
        padding:10px;
        color:#fff;
        font-size:18px;
       }
      </style>
     </head>
     <body>
      <div id="content">
       <div class="title">轮播图</div>
       <div class="container3D slide">
        <div class="wrapper3D">
         <div class="slide3D">
          <img src="https://gw.alicdn.com/tfs/TB1jeiqRFXXXXcLXVXXXXXXXXXX-700-306.jpg" alt="" />
         </div>
         <div class="slide3D">
          <img src="https://gw.alicdn.com/tfs/TB1gY9yRFXXXXXJXVXXXXXXXXXX-700-306.jpg" alt="" />
         </div>
         <div class="slide3D">
          <img src="https://gw.alicdn.com/tfs/TB1LW5eRFXXXXcNaXXXXXXXXXXX-700-306.jpg" alt="" />
         </div>
         <div class="slide3D">
          <img src="https://gw.alicdn.com/tfs/TB1ADKERFXXXXX2XFXXXXXXXXXX-700-306.jpg" alt="" />
         </div>
         <div class="slide3D">
          <img src="https://gw.alicdn.com/tfs/TB1O3t.RFXXXXXCaFXXXXXXXXXX-700-306.jpg" alt="" />
         </div>
        </div>
        <div class="slide3D-pagination"></div>
        <div class="slide3D-prev-button"></div>
        <div class="slide3D-next-button"></div>
       </div>
       <div class="container3D flip">
        <div class="wrapper3D">
         
        </div>
        <div class="slide3D-pagination"></div>
        <div class="slide3D-prev-button"></div>
        <div class="slide3D-next-button"></div>
       </div>
       <div class="container3D turn">
        <div class="wrapper3D">
         
        </div>
        <div class="slide3D-pagination"></div>
        <div class="slide3D-prev-button"></div>
        <div class="slide3D-next-button"></div>
       </div>
       <div class="container3D flat">
        <div class="wrapper3D">
         
        </div>
        <div class="slide3D-pagination"></div>
        <div class="slide3D-prev-button"></div>
        <div class="slide3D-next-button"></div>
       </div>
       <div class="container3D fragment">
        <div class="wrapper3D">
         
        </div>
        <div class="slide3D-pagination"></div>
        <div class="slide3D-prev-button"></div>
        <div class="slide3D-next-button"></div>
       </div>
      </div>
      <script src="https://os.alipayobjects.com/rmsportal/RnYtVBKOUzXXOiZIqFtF.js"></script>
      <script id="scripts">
          var width = 400;
          var height = 178;
       var mySlide = new Slide3D('.slide', {
         width,
        height:height,
        effect: 'slide',
        paginationClickable: true,
        pagination: true,  // 是否添加分页器
        loop:true,  //是否循环,除“slide”外,其他动画默认循环
        autoplay: 2000,
        autoplayDisableOnInteraction : false
       });
       var mySlide2 = new Slide3D('.flip', {
         width,
        height:height,
        effect: 'flip',  // flip | turn | slide | flat | fragment
        sources: ['https://gw.alicdn.com/tfs/TB1O3t.RFXXXXXCaFXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1gY9yRFXXXXXJXVXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1LW5eRFXXXXcNaXXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1ADKERFXXXXX2XFXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1O3t.RFXXXXXCaFXXXXXXXXXX-700-306.jpg'],
        box:{
         rows: 6,  // 切割行
         cols: 3  // 切割列
        },
        pagination: true,  // 是否添加分页器
        paginationClickable: true,
        autoplay: 2000,
        autoplayDisableOnInteraction : false
       });
       var mySlide3 = new Slide3D('.turn', {
         width,
        height:height,
        effect: 'turn',  // flip | turn | slide | flat | fragment
        sources: ['https://gw.alicdn.com/tfs/TB1jeiqRFXXXXcLXVXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1gY9yRFXXXXXJXVXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1LW5eRFXXXXcNaXXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1ADKERFXXXXX2XFXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1O3t.RFXXXXXCaFXXXXXXXXXX-700-306.jpg'],
        box:{
         rows: 6,  // 切割行
         cols: 3  // 切割列
        },
        pagination: true,  // 是否添加分页器
        paginationClickable: true,
        autoplay: 2000
    //    autoplayDisableOnInteraction : false
       });
       var mySlide4 = new Slide3D('.flat', {
         width,
        height:height,
        effect: 'flat',  // flip | turn | slide | flat | fragment
        sources: ['https://gw.alicdn.com/tfs/TB1jeiqRFXXXXcLXVXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1gY9yRFXXXXXJXVXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1LW5eRFXXXXcNaXXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1ADKERFXXXXX2XFXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1O3t.RFXXXXXCaFXXXXXXXXXX-700-306.jpg'],
        box:{
         rows: 6,  // 切割行
         cols: 10  // 切割列
        },
        pagination: true,  // 是否添加分页器
        paginationClickable: true,
        autoplay: 2000,
        autoplayDisableOnInteraction : false
       });
       var mySlide5 = new Slide3D('.fragment', {
         width,
        height:height,
        effect: 'fragment',  // flip | turn | slide | flat | fragment
        sources: ['https://gw.alicdn.com/tfs/TB1jeiqRFXXXXcLXVXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1gY9yRFXXXXXJXVXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1LW5eRFXXXXcNaXXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1ADKERFXXXXX2XFXXXXXXXXXX-700-306.jpg',
        'https://gw.alicdn.com/tfs/TB1O3t.RFXXXXXCaFXXXXXXXXXX-700-306.jpg'],
        box:{
         rows: 6,  // 切割行
         cols: 3  // 切割列
        },
        pagination: true,  // 是否添加分页器
        paginationClickable: true,
        autoplay: 2000,
        autoplayDisableOnInteraction : false
       });
      </script>
     </body>
    </html>

  • 相关阅读:
    myeclipse包的层数和package的层数不一致
    myeclipse提示:Syntax error on tokens, delete these tokens怎么解决
    智能指针 shared_ptr
    一次读入全部文件到内存中
    条件变量 condition_variable wait_until
    条件变量 condition_variable wait_for
    条件变量 condition_variable wait
    ffmpeg 交叉编译 版本4.0.4
    curl 交叉编译 支持http2和openssl
    nghttp2 交叉编译
  • 原文地址:https://www.cnblogs.com/fengyongxian/p/7017676.html
Copyright © 2011-2022 走看看