<header>
<div class="am-g am-g-fixed">
<ul class="am-avg-lg-2 topbar flipInY animated">
<li>
<small class="diff1">全国连锁:</small>
<a href="">
<small>南京</small>
</a>
<a href="">
<small>北京</small>
</a>
<a href="">
<small>沈阳</small>
</a>
<a href="">
<small>大连</small>
</a>
<a href="">
<small>苏州</small>
</a>
<a href="">
<small>无锡</small>
</a>
<a href="">
<small>常州</small>
</a>
</li>
<li class="am-text-right diff">
<a href="">
<small>KB+官网微信</small>
</a>
<small>|</small>
<a href="">
<small>KB+官网微博</small>
</a>
<small>|</small>
<a href="">
<small>热线:400-025-0505</small>
</a>
<a href="" class="topbarIco snwb animateCan"></a>
<a href="" class="topbarIco txwb animateCan"></a>
<a href="" class="topbarIco wx animateCan"></a>
</li>
</ul> <div class="diff3 am-cf">
<img src="./amazeui-samples_files/topImg2.jpg" class="am-fr animated bounceInRight">
<a href="./amazeui-samples_files/amazeui-samples.html"><img src="./amazeui-samples_files/headlogo.gif" class="animated bounceInLeft"></a>
<img src="./amazeui-samples_files/topImg1.gif" class="am-margin-left-xl animated bounceInLeft">
</div> <div>
<ul class="am-avg-lg-8 nav">
<li class="box am-text-center">
<a href="./amazeui-samples_files/amazeui-samples.html">首页<small class="am-block">Home</small></a>
<a href="./amazeui-samples_files/amazeui-samples.html" class="hover">首页<small class="am-block">Home</small></a>
</li>
<li class="box am-text-center">
<a href="http://kgdn.kangbeijia.cn/ppls">品牌连锁<small class="am-block">BRAND CHAIN</small></a>
<a href="http://kgdn.kangbeijia.cn/ppls" class="hover">品牌连锁<small class="am-block">BRAND CHAIN</small></a>
</li>
<li class="box am-text-center">
<a href="http://kgdn.kangbeijia.cn/zjtd" style="top: 0px;">专家团队<small class="am-block">Experts</small></a>
<a href="http://kgdn.kangbeijia.cn/zjtd" class="hover" style="top: 0px;">专家团队<small class="am-block">Experts</small></a>
</li>
<li class="box am-text-center">
<a href="http://kgdn.kangbeijia.cn/hxjs" style="top: 0px;">核心技术<small class="am-block">Technology</small></a>
<a href="http://kgdn.kangbeijia.cn/hxjs" class="hover" style="top: 0px;">核心技术<small class="am-block">Technology</small></a>
</li>
<li class="box am-text-center">
<a href="javascript:void(0)" style="top: 0px;">齿科项目<small class="am-block">DENTAL ITEMS</small></a>
<a href="javascript:void(0)" class="hover" style="top: 0px;">齿科项目<small class="am-block">DENTAL ITEMS</small></a>
</li>
<li class="box am-text-center">
<a href="http://kgdn.kangbeijia.cn/myal">美牙案例<small class="am-block">DENTAL CASE</small></a>
<a href="http://kgdn.kangbeijia.cn/myal" class="hover">美牙案例<small class="am-block">DENTAL CASE</small></a>
</li>
<li class="box am-text-center">
<a href="http://kgdn.kangbeijia.cn/shzr">社会责任<small class="am-block">Sociol duty</small></a>
<a href="http://kgdn.kangbeijia.cn/shzr" class="hover">社会责任<small class="am-block">Sociol duty</small></a>
</li>
<li class="box am-text-center diff">
<a href="javascript:void(0)" onclick="swtClick()" style="top: -0.551801899715483px;">在线咨询<small class="am-block">ASK ONLINE</small></a>
<a href="javascript:void(0)" onclick="swtClick()" class="hover" style="top: -0.551801899715483px;">在线咨询<small class="am-block">ASK ONLINE</small></a>
</li>
</ul>
</div>
</div>
</header> <!--二级导行-->
<div class="navLevel">
<div class="navLevelBox" style="">
<div class="am-fl">
<a href="http://kgdn.kangbeijia.cn/ppls/kbjnj/">康贝佳 • 南京</a>
<a href="http://kgdn.kangbeijia.cn/ppls/jdcksb/">尖端齿科设备</a>
<a href="http://kgdn.kangbeijia.cn/ppls/qglsjg/">全国品牌连锁</a>
<a href="http://kgdn.kangbeijia.cn/ppls/aqjyhj/">安全就医环境</a>
<a href="http://kgdn.kangbeijia.cn/ppls/ldjpbz/">六大金牌保障</a>
<a href="http://kgdn.kangbeijia.cn/ppls/lylx/">具体来院路线</a>
<a href="">品牌荣誉</a>
<a href="">KB+ 官方微博</a>
</div>
<ul class="am-avg-lg-3 am-fl">
<li><a href="http://kgdn.kangbeijia.cn/myal/"><img src="./amazeui-samples_files/navLevel2.jpg"></a></li>
<li><a href="http://kgdn.kangbeijia.cn/zjtd/"><img src="./amazeui-samples_files/navLevel3.jpg"></a></li>
<li><a href="javascript:void(0)" onclick="swtCLick()"><img src="./amazeui-samples_files/navLevel4.jpg"></a></li>
</ul>
</div>
<div class="navLevelBox" style="display: none;">
<div class="am-fl">
<a href="http://kgdn.kangbeijia.cn/zjtd/gjzj/">KB+国际专家</a>
<a href="http://kgdn.kangbeijia.cn/zjtd/gnzj/">KB+国内专家</a>
<a href="">凯撒【希腊】</a>
<a href="">牙齿种植:胡正元</a>
<a href="">摩根【美国】</a>
<a href="">牙齿美容:徐辉</a>
<a href="">崔容硕【韩国】</a>
<a href="">牙齿矫正:白延勇</a>
<a href="">任势雄【韩国】</a>
<a href="">口腔修复:陈 鹏</a>
</div>
<ul class="am-avg-lg-3 am-fl">
<li><a href="http://kgdn.kangbeijia.cn/ppls/jdcksb/"><img src="./amazeui-samples_files/navLevel5.jpg" class=""></a></li>
<li><a href="http://kgdn.kangbeijia.cn/hxjs/"><img src="./amazeui-samples_files/navLevel6.jpg"></a></li>
<li><a href="javascript:void(0)" onclick="swtCLick()"><img src="./amazeui-samples_files/navLevel7.jpg"></a></li>
</ul>
</div>
<div class="navLevelBox diff" style="display: none; height: 218px; padding-top: 0px; margin-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">
<div class="am-fl">
<a href="">牙齿种植 |</a>
<a href="">活动义齿 |</a>
<a href="">全瓷牙 |</a>
<a href="">假牙</a><br>
<a href="">牙齿美容 |</a>
<a href="">牙齿矫正 |</a>
<a href="">美容冠 |</a>
<a href="">镶牙</a><br>
<a href="">牙齿美白 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczj/yxyz/">隐形矫正 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/ycmr/qctm/">瓷贴面 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczl/bay/">拔牙</a><br>
<a href="">牙齿修复 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczl/ggzl/">根管治疗 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/ycmr/kcy/">烤瓷牙 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczl/by/">补牙</a><br>
<a href="">不良冠体修复 |</a>
<a href="">牙套</a>
</div>
<ul class="am-avg-lg-3 am-fl">
<li><a href="http://kgdn.kangbeijia.cn/zjtd/"><img src="./amazeui-samples_files/navLevel3.jpg"></a></li>
<li><a href="http://kgdn.kangbeijia.cn/ppls/jdcksb/"><img src="./amazeui-samples_files/navLevel5.jpg"></a></li>
<li><a href="javascript:void(0)" onclick="swtCLick()"><img src="./amazeui-samples_files/navLevel4.jpg"></a></li>
</ul>
</div>
<div class="navLevelBox diff" style="display: none; height: 218px; padding-top: 0px; margin-top: 0px; padding-bottom: 0px; margin-bottom: 0px;">
<div class="am-fl">
<a href="">牙齿缺损 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczz/ycsd/">牙齿松动 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczj/hy/">虎牙 |</a>
<a href="">门牙突出</a><br>
<a href="">牙齿缺失 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczj/dbt/">地包天 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczj/ycyj/">牙齿拥挤 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczj/by/">龅牙</a><br>
<a href="">牙齿断裂 |</a>
<a href="">瓜子牙 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczj/ycxs/">牙齿稀疏</a><br>
<a href="http://kgdn.kangbeijia.cn/kqbz/ycmr/ssy/">色素牙 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/ycmr/ycxyh/">黄牙 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/ycmb/hy/">黑牙 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/ycmb/fby/">氟斑牙 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/ycmb/shsy/">四环素牙</a><br>
<a href="">不良冠体 |</a>
<a href="">牙痛 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczl/zy/">蛀牙 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczl/yzy/">牙周炎 |</a>
<a href="http://kgdn.kangbeijia.cn/kqbz/yczl/yyy/">牙龈炎</a>
</div>
<ul class="am-avg-lg-3 am-fl">
<li><a href="http://kgdn.kangbeijia.cn/hxjs/"><img src="./amazeui-samples_files/navLevel6.jpg" class=""></a></li>
<li><a href="http://kgdn.kangbeijia.cn/myal/"><img src="./amazeui-samples_files/navLevel2.jpg"></a></li>
<li><a href="javascript:void(0)" onclick="swtCLick()"><img src="./amazeui-samples_files/navLevel7.jpg"></a></li>
</ul>
</div>
<div class="navLevelBox" style="">
<div class="am-fl">
<a href="http://kgdn.kangbeijia.cn/myal/zral/">KB+真人案例</a>
<a href="http://kgdn.kangbeijia.cn/yydt/">康贝佳 • 动态</a>
<a href="http://kgdn.kangbeijia.cn/myal/yczzal/">牙齿种植案例</a>
<a href="">KB+官方微信</a>
<a href="http://kgdn.kangbeijia.cn/myal/ycmral/">牙齿美容案例</a>
<a href="">KB+官方微博</a>
<a href="http://kgdn.kangbeijia.cn/myal/ycjzal/">牙齿矫正案例</a>
<a href="http://kgdn.kangbeijia.cn/ppls/aqjyhj/">星级就医环境</a>
<a href="http://kgdn.kangbeijia.cn/myal/ycmbal/">牙齿美白案例</a>
<a href="http://kgdn.kangbeijia.cn/ppls/lylx/">具体来院路线</a>
</div>
<ul class="am-avg-lg-3 am-fl">
<li><a href="http://kgdn.kangbeijia.cn/zjtd/"><img src="./amazeui-samples_files/navLevel3.jpg"></a></li>
<li><a href="http://kgdn.kangbeijia.cn/ppls/jdcksb/"><img src="./amazeui-samples_files/navLevel5.jpg"></a></li>
<li><a href="javascript:void(0)" onclick="swtCLick()"><img src="./amazeui-samples_files/navLevel4.jpg"></a></li>
</ul>
</div>
</div>

Control js:

//二级导行
function showNav(i,t){
$('.navLevel .navLevelBox').eq(i).stop().slideDown().siblings().stop().slideUp();
}
function hideNav(){
$('.navLevel .navLevelBox').slideUp();
}
var hNav,index=0;
$(document).on('mouseover','.nav li',function(){
var _this=$(this);
index=_this.index();
if(index>=1 && index <=5){
clearTimeout(hNav);
showNav(index-1);
}
}).on('mouseleave','.nav li',function(){
if(index>=1 && index <=5){
hNav=setTimeout(hideNav,250);
}
});
$(document).on('mouseover','.navLevel',function(){
clearTimeout(hNav);
}).on('mouseleave','.navLevel',function(){
hNav=setTimeout(hideNav,250);
}); //二级动画效果
var navlevelHover=new base.gClass.hover('.navLevel .navLevelBox li img','pulse animated');
navlevelHover.hoverFun();

CSS skills: 3) show sub-navigate items when mouse hove on nav-item的更多相关文章

  1. CSS skills: 1) Navigate item's animation

    <style> .nav { border-right:1px solid #268eb7; } .nav li{overflow:hidden;height:55px;border-le ...

  2. [CSS] Re-order the appearance of grid items using the order property

    As with flex items, we can set an order value on grid items. Let’s see how this affects the DOM and ...

  3. CSS skills: 6) auto hide the top bar javascript

    //jquery $(document).ready(function(){ $(window).scroll(function() { $(this).scrollTop() > 10 ? $ ...

  4. CSS skills: 5) jquery hover(over,out)

    $(":div[name=div_edit]").each(function() { $(this).hover(function() { $(this).find("& ...

  5. CSS skills: 4) goto page head script

    //返回顶部 $(document).on('click', '.backTop', function (e) { $('html, body').animate({scrollTop: 0}, 50 ...

  6. CSS skills: 2) change hover dynamically by js

    //命名空间 var base = {}; //class base.gClass={}; //鼠标hover交互方法: 注册对象的hover的class特性以及mouseMoveIn,mouseMo ...

  7. ssdb底层实现——ssdb底层是leveldb,leveldb根本上是skiplist(例如为存储多个list items,必然有多个item key,而非暴力string cat),用它来做redis的list和set等,势必在数据结构和算法层面上有诸多不适

    我已经在用ssdb的hash结构,存储了很多数据了,但是我现在的用法正确吗? 我使用hash结构合理吗? 1. ssdb数据库说是类似redis,而且他们都有hash结构,但是他们的命名有点不同,ss ...

  8. 10 Skills Every SharePoint Developer Needs

    10 Skills Every SharePoint Developer Needs(原文) This blog post guides you through the essential skill ...

  9. ko list and css gradient

    <!DOCTYPE html> <html> <head> <title></title> <script src="js/ ...

随机推荐

  1. 第二百八十一、二、三天 how can I 坚持

    又是三天,真搞不懂人到底是是什么,到底想要啥,好压抑. 周五,李东勇他们来北京开年会,晚上下班,去了趟团结湖公园,好冷,快冻死了,等着他们来了,见面,感觉好亲切,晚上一块吃了个火锅,玩的很happy. ...

  2. Java邮件服务学习之三:邮箱服务客户端-Java Mail

    一.java mail的两个JAR包 1.mail.jar:不在JDK中,核心功能依赖JDK4及以上,该jar包已经加入到java EE5: 下载地址:http://www.oracle.com/te ...

  3. HDU 4370 0 or 1 (最短路+最小环)

    0 or 1 题目链接: Rhttp://acm.hust.edu.cn/vjudge/contest/122685#problem/R Description Given a n*n matrix ...

  4. Spring JdbcTemplate batchUpdate() example

    In some cases, you may required to insert a batch of records into database in one shot. If you call ...

  5. thymeleaf的url属性

    一.使用表达式形式:@{...} 例如: <a th:href="@{http://localhost:8080/gtvg/order/details}">view&l ...

  6. WEB开发框架

  7. oracle连接数据的oci和thin的区别

    1)从使用上来说,oci必须在客户机上安装oracle客户端或才能连接,而thin就不需要,因此从使用上来讲thin还是更加方便,这也是thin比较常见的原因.2)原理上来看,thin是纯java实现 ...

  8. Android学习笔记(1)

    几天开始看Mars老师的Java4Android视频教程. 开始几集都是介绍性的内容,我浏览了一下.主要是看了下Java变量部分. java变量主要由以下几种类型: 1.数值型 2.字符型 3.布尔型 ...

  9. Windbg命令

    (1)!runaway命令显示每个线程消费的时间 参考:http://blog.csdn.net/hgy413/article/details/7564252 (2)!wow64exts.sw 关闭6 ...

  10. HDU 5235 Friends (2015 Multi-University Training Contest 2 搜索+剪枝)

    题目链接:pid=5305">传送门 题意: n个人给定m个关系.每一个关系为x,y表示x,y是朋友.可是可能是online friends,也可能是offline friends. ...