最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

jQuery實現(xiàn)Meizu魅族官方網(wǎng)站的導航菜單效果

 更新時間:2015年09月14日 12:39:53   作者:企鵝  
這篇文章主要介紹了jQuery實現(xiàn)Meizu魅族官方網(wǎng)站的導航菜單效果,可實現(xiàn)導航菜單項鼠標滑過出現(xiàn)下劃線動態(tài)跟隨的功能,通過jQuery插件實現(xiàn)該功能,需要的朋友可以參考下

本文實例講述了jQuery實現(xiàn)Meizu魅族官方網(wǎng)站的導航菜單效果。分享給大家供大家參考。具體如下:

偶爾看到魅族官方網(wǎng)站,發(fā)現(xiàn)網(wǎng)站的導航菜單的效果很不錯就扣下來,倆字:給力。鼠標放到菜單上,菜單的下邊會有一條橫線在滑動。一直想找類似的效果學一下。結果,不是忘記有類似效果的網(wǎng)站的網(wǎng)址,就是壓根兒找不到。。又不知道怎么描述,今天總算碰到了,真給力。

運行效果截圖如下:

在線演示地址如下:

http://demo.jb51.net/js/2015/jquery-meizu-web-nav-menu-style-codes/

具體代碼如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Meizu魅族導航菜單</title>
<script type="text/javascript" src="jquery1.3.2.js"></script>
<style>
div,h1,h2,h3,h4,p,form,label,input,textarea,img,span{margin:0;padding:0;}ul,li{list-style:none;padding:0;margin:0;}img{border:none;}
.csc_top{background:url(images/shopping_tab.jpg) 0 0 no-repeat;width:958px;height:45px;margin:0 auto;position:relative;z-index:101;}
.slideMenu{height:38px;}
li.current a{color:#00b5f7;cursor:pointer;}
li.current a:hover{color:#00b5f7;cursor:pointer;}
.lavaLampWithImage3 li a:hover,.lavaLampWithImage3 li a:active{border:none;color:#00B5F7;text-decoration:none;}
.lavaLampWithImage3 .sep{padding-top:13px;font-size:10px;color:#aeadad;float:left;height:20px;border-top:none;}
.lavaLampWithImage3{position:relative;height:28px;float:left;}
.lavaLampWithImage3 .current{color:#008ace;}
.lavaLampWithImage3 .current a{color:#008ace;}
.lavaLampWithImage3 li{float:left;list-style:none;padding-bottom:11px;}
.lavaLampWithImage3 li.back{background:url(images/b_slider.gif) center bottom no-repeat;width:120px;height:28px;z-index:8;position:absolute;}
.lavaLampWithImage3 li a{font:bold 14px arial;text-decoration:none;color:#303030;outline:none;text-align:center;top:6px;letter-spacing:0;z-index:10;display:block;float:left;height:28px;position:relative;overflow:hidden;padding:5px 20px 0 17px;font-family:"Microsoft Yahei",Arial,Helvetica,sans-serif,"&#65533;&#65533;&#65533;&#65533;";font-weight:normal;font-size:13px;}
</style>
</head>
<body>
<div class="csc_top">
 <div class="shead_left">
 <ul id="1" class="lavaLampWithImage3">  
  <li class="current">
  <a href="#" style="padding: 5px 30px 0;">Meizu</a>
  </li>
  <span class="sep">|</span>
  <li >
  <a href="#" style="padding: 5px 30px 0;">魅族</a>
  </li>
  <span class="sep">|</span>
  <li>
  <a href="#" style="padding: 5px 30px 0;">腳本之家</a>
  </li> 
 </ul>
 </div>
</div>
</div>
<script type="text/javascript" src="MZPub-CSC-0121.js"></script>
</body>
</html>

希望本文所述對大家的jQuery程序設計有所幫助。

相關文章

最新評論

宜章县| 丹东市| 海晏县| 建昌县| 宜兰县| 成都市| 鲁山县| 布拖县| 团风县| 乌拉特前旗| 崇义县| 东至县| 上饶县| 孙吴县| 沐川县| 江华| 保靖县| 彰化县| 昌黎县| 巴林左旗| 资中县| 祥云县| 达州市| 宿州市| 航空| 十堰市| 德钦县| 余姚市| 安泽县| 密山市| 含山县| 高台县| 舒城县| 靖安县| 石柱| 武山县| 津南区| 固始县| 紫金县| 宁陕县| 双桥区|