html5仿魅族官網導航菜單和圖片輪播特效



262 1045 349



特效描述:html5 仿魅族官網 導航菜單 圖片輪播特效,大氣的魅族官網導航菜單,魅族官網圖片輪播特效

代碼結構

1. 引入CSS

<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/index.css">

2. 引入JS

<script src="js/jquery.min.js"></script>
<script src="js/slider.js"></script>
<script src="js/navChange.js"></script>

3. HTML代碼

  <div class="wrapper" id="wrapper">
    <div class="bg-white"></div>
    <header class="header">
      <div class="container">
        <h1 class="logo"><a href="#"></a></h1>
        <ul class="nav">
          <li class="nav-item">
            <a href="#">MZUI商城</a>
          </li>
          <li class="nav-item" data-subNav="nav_iphone">
            <a href="#">MZUI手機</a>
          </li>
          <li class="nav-item" data-subNav="nav_subIphone">
            <a href="#">手機</a>
          </li>
          <li class="nav-item" data-subNav="nav_voice">
            <a href="#">MZUI聲學</a>
          </li>
          <li class="nav-item" data-subNav="nav_parts">
            <a href="#">智能 · 配件</a>
          </li>
          <li class="nav-item">
            <a href="#">服務</a>
          </li>
          <li class="nav-item">
            <a href="#">專賣店</a>
          </li>
          <li class="nav-item">
            <a href="#">Flyme</a>
          </li>
          <li class="nav-item">
            <a href="#">社區</a>
          </li>
        </ul>
        <div class="user">
          <div class="user-hover"></div>
          <div class="user-img">
            <img src="images/user.png" alt="#">
            <span class="arrow-bg"></span>
            <span class="arrow-font"></span>
          </div>
          <div class="user-info">
            <ul>
              <li class="login"><a href="#">立即登錄</a></li>
              <li class="register">沒有賬號?<a href="#">立即注冊</a></li>
              <li><a href="#">我的購物車</a></li>
              <li><a href="#">我的訂單</a></li>
              <li><a href="#">M碼通道</a></li>
            </ul>
          </div>
        </div>
      </div>
    </header>
    <div class="sub-nav">
      <div class="sub-nav__wrap" data-link="nav_iphone">
        <a href="#">
          <img src="images/cont/1-1.png" alt="#">
          <span>PRO 6 Plus</span>
        </a>
        <a href="#">
          <img src="images/cont/1-2.png" alt="#">
          <span>PRO 6s</span>
        </a>
        <a href="#">
          <img src="images/cont/1-3.png" alt="#">
          <span>MX6</span>
        </a>
        <a href="#">
          <img src="images/cont/1-4.png" alt="#">
          <span>PRO6</span>
        </a>
        <a href="#">
          <img src="images/cont/1-5.png" alt="#">
          <span>PRO5</span>
        </a>
      </div>
      <div class="sub-nav__wrap" data-link="nav_subIphone">
        <a href="#">
          <img src="images/cont/2-1.png" alt="#">
          <span>MZUI Note5</span>
        </a>
        <a href="#">
          <img src="images/cont/2-2.png" alt="#">
          <span>PRO 6s</span>
        </a>
        <a href="#">
          <img src="images/cont/2-3.png" alt="#">
          <span>MX6</span>
        </a>
        <a href="#">
          <img src="images/cont/2-4.png" alt="#">
          <span>PRO6</span>
        </a>
        <a href="#">
          <img src="images/cont/2-5.png" alt="#">
          <span>PRO5</span>
        </a>
        <a href="#">
          <img src="images/cont/2-6.png" alt="#">
          <span>PRO5</span>
        </a>
        <a href="#">
          <img src="images/cont/2-7.png" alt="#">
          <span>PRO5</span>
        </a>
      </div>
      <div class="sub-nav__wrap" data-link="nav_voice">
        <a href="#">
          <img src="images/cont/3-1.png" alt="#">
          <span>PRO 6 Plus</span>
        </a>
        <a href="#">
          <img src="images/cont/3-2.png" alt="#">
          <span>PRO 6s</span>
        </a>
        <a href="#">
          <img src="images/cont/3-3.png" alt="#">
          <span>MX6</span>
        </a>
      </div>
      <div class="sub-nav__wrap" data-link="nav_parts">
        <a href="#">
          <img src="images/cont/4-1.png" alt="#">
          <span>PRO 6 Plus</span>
        </a>
        <a href="#">
          <img src="images/cont/4-2.png" alt="#">
          <span>PRO 6s</span>
        </a>
        <a href="#">
          <img src="images/cont/4-3.png" alt="#">
          <span>MX6</span>
        </a>
        <a href="#">
          <img src="images/cont/4-4.png" alt="#">
          <span>PRO6</span>
        </a>
        <a href="#">
          <img src="images/cont/4-5.png" alt="#">
          <span>PRO5</span>
        </a>
        <a href="#">
          <img src="images/cont/4-6.png" alt="#">
          <span>PRO5</span>
        </a>
      </div>
    </div>
  </div>
  <script>
    $(function () {
      var slider1 = new Slider();
      var doc_h = $(document.body).width();
      slider1.inital('sliderBox', {
        slider_num: 4,
        w: doc_h,
        h: 760
      });
    });
  </script>



用戶評論
大牛,別默默的看了,快登錄幫我點評一下吧!:)      登錄 | 注冊


熱門標簽: 導航切換 菜單切換 flash導航菜單 flash導航條 flash導航 flash菜單 flash下拉菜單 flash下拉導航菜單 h5動畫導航 h5動畫菜單 html5動畫導航 html5動畫菜單 收縮菜單 收縮導航 滾動導航菜單 滾動菜單 滾動導航 浮動菜單 浮動導航 滑動導航菜單 滑動導航 滑動菜單 右鍵菜單 滑動選項卡 滑動切換 滾動切換 滾動條切換 flash焦點圖 flash幻燈片 flashbanner flash圖片輪播 滑動手風琴 選項卡切換 選項卡 切換 tab切換 頁面切換 選項卡插件 切換插件 收縮展開 展開收縮 收縮 展開 焦點圖 幻燈片 輪播圖 bar焦點圖 導航菜單 導航條 菜單欄 導航欄 分類導航 響應式導航條 響應式導航 收縮菜單 收縮導航 二級菜單 二級導航菜單 二級導航 下拉列表 下拉菜單 下拉導航 下拉導航菜單 下拉菜單導航 響應式下拉菜單 圖片切換 圖片選項卡 圖標選項卡 純圖片輪播 圖片輪播 選項卡自動切換
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

jQuery/js討論群
群號:642649996
Css3+Html5討論群
群號:322131262

加群請備注:從官網了解到

老夫子电子