html5仿魅族官网导航菜单和图片轮播特效



254 1013 338



特效描述: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

加群请备注:从官网了解到