基于jQuery實現動畫效果多功能菜單



61 242 81



特效描述:基于jQuery實現 動畫效果 多功能菜單,基于jQuery實現動畫效果多功能菜單

代碼結構

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/blue/responsive.css">
<link rel="stylesheet" type="text/css" href="css/blue/color.css">
<link rel="stylesheet" type="text/css" href="font/titillium/stylesheet.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/animation.css">
<link rel="stylesheet" type="text/css" href="css/live-preview.css">
<link rel="stylesheet" type="text/css" href="live-font/stylesheet.css">
<link rel="stylesheet" href="css/font-awesome-ie7.min.css">
<link rel="stylesheet" type="text/css" href="css/blue/desktop-ie.css">

2. 引入JS

<script type="text/javascript" src="js/modernizr.custom.29473.js"></script>
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/dropdown.js"></script>

3. HTML代碼

<br><br>
<ul class="nav">
  <!-- Start Home -->
  <li id="first"><a href="#home" class="label"><i class="icon-home" ></i>Home<i class="icon-chevron-down"></i></a>
    <ul class="one" id="home">
      <li>
        <h3><i class="icon-user"></i>Welcome</h3>
        <p>In the past, HTML alone provided basic formatting options for text, images, tables, and other web page elements. But today, professional web designers use CSS to style their pages. In fact, the older HTML tags used to format text and other page elements have been phased out by the World Wide Web Consortium (W3C), the organization that defines Web standards, in favor of CSS.</p>
      </li>
    </ul>
  </li>
  <!-- End Home --> 
  <!-- Start About -->
  <li><a href="#about" class="label"><i class="icon-info-sign"></i>About Us<i class="icon-chevron-down"></i></a>
    <ul class="one" id="about">
      <li><img src="images/about.png" width="160" height="160" alt="image">
        <h3><i class="icon-user"></i>About Us</h3>
        <p>In the past, HTML alone provided basic formatting options for text, images, tables, and other web page elements. But today, professional web designers use CSS to style their pages. In fact, the older HTML tags used to format text and other page elements have been phased out by the World Wide Web Consortium (W3C), the organization that defines Web standards, in favor of CSS.</p>
        <h6 class="light-color"><i class="icon-quote-left"></i>Is there a way to apply styles to an element only if it’s embedded within a particular element, rather than universally? In other words, can you ask for example that italics within headlines be boldface<i class="icon-quote-right"></i></h6>
      </li>
    </ul>
  </li>
  <!-- End About --> 
  <!-- Start Links -->
  <li> <a href="#links" class="label"><i class="icon-list-ul"></i>Links<i class="icon-chevron-down"></i></a>
    <ul class="one" id="links">
      <li>
        <div id="link-1" class="link-block light-color">
          <h5><i class="icon-laptop"></i>Links 1</h5>
          <ul>
            <li><a href="#"><i class="icon-ok"></i> Css</a></li>
            <li><a href="#"><i class="icon-ok"></i> Html5</a></li>
            <li><a href="#"><i class="icon-ok"></i> java Script</a></li>
            <li><a href="#"><i class="icon-ok"></i> Php</a></li>
            <li><a href="#"><i class="icon-ok"></i> JQuery</a></li>
            <li><a href="#"><i class="icon-ok"></i> Css 3</a></li>
            <li><a href="#"><i class="icon-ok"></i> Asp.Net</a></li>
          </ul>
        </div>
        <div id="link-2" class="link-block light-color">
          <h5><i class="icon-camera-retro"></i>Links 2</h5>
          <ul>
            <li><a href="#"><i class="icon-ok"></i> Photoshop</a></li>
            <li><a href="#"><i class="icon-ok"></i> Dreamweaver</a></li>
            <li><a href="#"><i class="icon-ok"></i> Fireworks</a></li>
            <li><a href="#"><i class="icon-ok"></i> Expression Web</a></li>
            <li><a href="#"><i class="icon-ok"></i> Corel</a></li>
            <li><a href="#"><i class="icon-ok"></i> Visual Studio</a></li>
            <li><a href="#"><i class="icon-ok"></i> Adobe</a></li>
          </ul>
        </div>
        <div id="link-3" class="link-block light-color">
          <h5><i class="icon-desktop"></i>Links 3</h5>
          <ul>
            <li><a href="#"><i class="icon-ok"></i> Forms</a></li>
            <li><a href="#"><i class="icon-ok"></i> Sliders</a></li>
            <li><a href="#"><i class="icon-ok"></i> Navigation</a></li>
            <li><a href="#"><i class="icon-ok"></i> Layouts</a></li>
            <li><a href="#"><i class="icon-ok"></i> Buttons</a></li>
            <li><a href="#"><i class="icon-ok"></i> tabs</a></li>
            <li><a href="#"><i class="icon-ok"></i> Menu</a></li>
          </ul>
        </div>
        <div id="link-4" class="link-block light-color">
          <h5><i class="icon-music"></i>Links 4</h5>
          <ul>
            <li><a href="#"><i class="icon-ok"></i> Css</a></li>
            <li><a href="#"><i class="icon-ok"></i> Html5</a></li>
            <li><a href="#"><i class="icon-ok"></i> java Script</a></li>
            <li><a href="#"><i class="icon-ok"></i> Php</a></li>
            <li><a href="#"><i class="icon-ok"></i> JQuery</a></li>
            <li><a href="#"><i class="icon-ok"></i> Css 3</a></li>
            <li><a href="#"><i class="icon-ok"></i> Asp.Net</a></li>
          </ul>
        </div>
        <div id="link-5" class="link-block light-color">
          <h5><i class="icon-dashboard"></i>Links 5</h5>
          <ul>
            <li><a href="#"><i class="icon-ok"></i> Forms</a></li>
            <li><a href="#"><i class="icon-ok"></i> Sliders</a></li>
            <li><a href="#"><i class="icon-ok"></i> Navigation</a></li>
            <li><a href="#"><i class="icon-ok"></i> Layouts</a></li>
            <li><a href="#"><i class="icon-ok"></i> Buttons</a></li>
            <li><a href="#"><i class="icon-ok"></i> tabs</a></li>
            <li><a href="#"><i class="icon-ok"></i> Menu</a></li>
          </ul>
        </div>
      </li>
    </ul>
  </li>
  <!-- End Links --> 
  <!-- Start DropDown --> 
  <!-- Start Level 1 -->
  <li> <a href="#menu" class="label"><i class="icon-cog"></i>DropDown<i class="icon-chevron-down"></i></a>
    <ul class="one" id="menu">
      <li class="level-1"><a href="#">Photoshop</a></li>
      <!-- Start Level 2 -->
      <li> <a href="#">Dreamweaver<i class="icon-chevron-right"></i></a>
        <ul class="one" id="sub-menu">
          <li class="level-2"><a href="#">Page 1</a></li>
          <!-- Start Level 3 -->
          <li> <a href="#">Page 2<i class="icon-chevron-right"></i></a>
            <ul class="one" id="sub-menu2">
              <li class="level-3"><a href="#">Page 1</a></li>
              <li class="level-3"><a href="#">Page 2</a></li>
              <li class="level-3"><a href="#">Page 3</a></li>
              <li class="level-3"><a href="#">Page 4</a></li>
            </ul>
          </li>
          <!-- End Level 3 -->
          <li class="level-2"><a href="#">Page 3</a></li>
        </ul>
      </li>
      <!-- End Level 2 -->
      <li class="level-1"><a href="#">Fireworks</a></li>
    </ul>
  </li>
  <!-- End Level 1 --> 
  <!-- Start DropDown --> 
  <!-- Start Products -->
  <li> <a href="#products" class="label"><i class="icon-list-ul"></i>Products<i class="icon-chevron-down"></i></a>
    <ul class="one" id="products">
      <li>
        <h3><i class="icon-user"></i>Top Product</h3>
        <div class="product light-color" id="item-1"> <img src="images/p-1.png" alt="product-1">
          <p><strong>Name:</strong> Product1</p>
          <p><strong>Composer:</strong> Amir</p>
          <p><strong>Price:</strong> 340$</p>
          <p><strong>About:</strong> Is there a way to apply styles to an element only if it’s embedded within a
            particular element, rather than universally?</p>
        </div>
        <div class="product light-color" id="item-2"> <img src="images/p-1.png" alt="product-1">
          <p><strong>Name:</strong> Product1</p>
          <p><strong>Composer:</strong> Amir</p>
          <p><strong>Price:</strong> 340$</p>
          <p><strong>About:</strong> Is there a way to apply styles to an element only if it’s embedded within a
            particular element, rather than universally?</p>
        </div>
        <div class="product light-color" id="item-3"> <img src="images/p-1.png" alt="product-1">
          <p><strong>Name:</strong> Product1</p>
          <p><strong>Composer:</strong> Amir</p>
          <p><strong>Price:</strong> 340$</p>
          <p><strong>About:</strong> Is there a way to apply styles to an element only if it’s embedded within a
            particular element, rather than universally?</p>
        </div>
        <div id="preamble">
          <h5><i class="icon-tag"></i>preamble</h5>
          <h6 class="light-color">Is there a way to apply styles to an element only if it’s embedded within a
            particular element, rather than universally? In other words, can you ask for
            example that italics within headlines be boldface</h6>
        </div>
      </li>
    </ul>
  </li>
  <!-- End Products --> 
  <!-- Start Contact Us -->
  <li id="right"> <a href="#contact" class="label"><i class="icon-envelope"></i>Contact Us<i class="icon-chevron-down"></i></a>
    <ul class="one" id="contact">
      <li id="part-left">
        <p><strong><i class="icon-home"></i>Address :</strong> Bayat Alley, Abbasi str, South kerman, Tehran</p>
        <p><strong><i class="icon-phone"></i>Phone :</strong> +98 939 557 30 74</p>
        <p><strong><i class="icon-file-alt"></i>Fax :</strong> +98 778 31 506</p>
        <p><strong><i class="icon-envelope"></i>Email :</strong> [email protected] </p>
        <h4 id="h4-social"><i class="icon-group"></i>Social Network</h4>
        <a href="#"><i class="icon-facebook-sign"></i></a> <a href="#"><i class="icon-twitter-sign"></i></a> <a href="#"><i class="icon-google-plus-sign"></i></a> <a href="#"><i class="icon-linkedin-sign"></i></a><a href="#"><i class="icon-pinterest-sign"></i></a> </li>
      <li id="part-right">
        <p>Name<em>*</em></p>
        <input name="name" type="text" id="name" class="light-color">
        <p>E-mail<em>*</em></p>
        <input name="email" type="text" id="email" class="light-color">
        <p>Message<em>*</em></p>
        <textarea name="comment" cols="" rows="" id="comment" class="light-color"></textarea>
        <input name="send" type="button" id="send" value="Send">
      </li>
    </ul>
  </li>
  <!-- End Contact Us -->
</ul>
<br><br><br><br><br>
<div style="text-align:center;clear:both">
</div>



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


熱門標簽: 滾動導航菜單 滾動菜單 滾動導航 滑動導航菜單 滑動導航 滑動菜單 浮動菜單 浮動導航 導航切換 菜單切換 右鍵菜單 收縮菜單 收縮導航 h5動畫導航 h5動畫菜單 html5動畫導航 html5動畫菜單 flash導航菜單 flash導航條 flash導航 flash菜單 flash下拉菜單 flash下拉導航菜單 滾動切換 滾動條切換 滑動選項卡 滑動切換 加載動畫 選項卡切換 選項卡 切換 tab切換 頁面切換 選項卡插件 切換插件 滑動手風琴 滑動星星打分 h5彈窗動畫 html5彈窗動畫 h5動畫 h5背景動畫 h5場景動畫 h53D動畫 h5界面動畫 html5動畫 導航菜單 導航條 菜單欄 導航欄 分類導航 響應式導航條 響應式導航 其他 h5按鈕動畫 html5按鈕動畫 導航切換 菜單切換 h5圖片動畫 h5圖標動畫 html5圖片動畫 html5圖標動畫 下拉列表 下拉菜單 下拉導航 下拉導航菜單 下拉菜單導航 響應式下拉菜單 文字切換 文字選項卡 導航菜單插件 導航插件 菜單插件 鼠標滑過 鼠標懸停 跟隨鼠標移動
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

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

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

湖北30选5开奖结果走势图表