本文实例讲述了jQuery实现的导航下拉菜单效果。分享给大家供大家参考,具体如下:
导航 .t-nav{ width:100%; height:50px; background:#124057;} .m-nav{ width:1000px; height:50px; margin:0 auto;} .ui-item{ width:99px; height:50px; line-height:50px; text-align:center; border-right:1px solid #103447;} .ui-menu{ width:119px; height:50px; line-height:50px; text-align:center; background:#168db8 url(img/menu_ico.gif) no-repeat 101px 23px; border-right:1px solid #0c769e; position:relative;} .ui-menu-cont{ width:119px; position:absolute; top:50px; left:0px; display:none;} .ui-menu-cont li{ width:119px; height:30px; line-height:30px; background:#168db8; border-top:1px solid #fff;} .ui-menu-cont li a{} .t-nav a{ color:#fff; font-size:14px;} .t-nav a:hover{ color:#fff; text-decoration:underline;}
- 网站首页
- 导航内容
- 导航内容
- 导航内容
效果图:
更多关于jQuery相关内容感兴趣的读者可查看本站专题:《jQuery切换特效与技巧总结》、《jQuery扩展技巧总结》、《jQuery常用插件及用法总结》、《jQuery拖拽特效与技巧总结》、《jQuery表格(table)操作技巧汇总》、《jquery中Ajax用法总结》、《jQuery常见经典特效汇总》、《jQuery动画与特效用法总结》及《jquery选择器用法总结》
希望本文所述对大家jQuery程序设计有所帮助。



