模板无忧
网页特效
每日更新
|
TOP排行榜
|
Tag标签
|
充值
无忧首页
网页模板
程序模板
建站教程
视频教程
网页特效
图标素材
字体下载
站长工具
站长问答
网页特效
菜单导航
图片特效
文本链接
层和布局
页面背景
表单按钮
日期时间
计算转换
键盘鼠标
浏览器
游戏娱乐
综合其它
常用代码
jQuery特效
Prototype
Ajax/JavaScript
ExtJS
CSS特效
在线编辑器
Mootools
HTML
JS广告代码合集
站长工具
站长常用软件
网站综合查询
Alexa排名查询
Google PR查询
域名Whois查询
网站收录查询
友情链接查询
CSS2中文手册
CSS精简优化工具
网页特效代码
模板无忧
>
网页特效
>
菜单导航特效代码
>
收藏
分享
查看评论
菜单导航
演示
菜单效果2_菜单导航特效
查看演示效果
特效Tag:
菜单
效果
添加
菜单效果2,您可以先修改部分代码再运行.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <title>菜单效果02</title> <script type="text/javascript"> function fetch_object(idname) { var my_obj = document.getElementById(idname); return my_obj; } function toggle_nav(obj) { for (i = 1; i<= 11; i++ ) { var nav_img = fetch_object("nav_" + i); var sub_nav = fetch_object("sub_nav_" + i); var sub_nav_index = fetch_object("sub_nav_0"); sub_nav_index.style.display = "none"; if (obj == i) { nav_img.src = "http://p1.mb5u.com/texiao/nav_" + i + "_on.gif"; sub_nav.style.display = "block"; } else { nav_img.src = "http://p1.mb5u.com/texiao/nav_" + i + "_off.gif"; sub_nav.style.display = "none"; } } } </script> <style> img { border:0 } .navmain{ width:960px; height:33px; } .navsub{ background-color: #ebf0f4; height: 24px; width: 960px; border-right:1px solid #cccccc; border-bottom:1px solid #cccccc; border-left:1px solid #cccccc; } .navsub a{ font-size: 12px; color: #000000; text-decoration: none; } </style> <!--主导航栏--> <div class="navmain"> <a href="#"><img src="http://p1.mb5u.com/texiao/nav_1_off.gif" alt="Nightlife" name="nav_1" width="80" height="33" id="nav_1" onmouseover="javascript:toggle_nav(1)"></a><a href="#"><img src="http://p1.mb5u.com/texiao/nav_2_off.gif" alt="Dining" name="nav_2" width="80" height="33" id="nav_2" onMouseOver="javascript:toggle_nav(2)"></a><a href="#"><img src="http://p1.mb5u.com/texiao/nav_3_off.gif" alt="Shopping" name="nav_3" width="80" height="33" id="nav_3" onMouseOver="javascript:toggle_nav(3)"></a><a href="#"><img src="http://p1.mb5u.com/texiao/nav_4_off.gif" alt="Health & Beauty" name="nav_4" width="80" height="33" id="nav_4" onMouseOver="javascript:toggle_nav(4)"></a><a href="#"><img src="http://p1.mb5u.com/texiao/nav_5_off.gif" alt="For Kids" name="nav_5" width="80" height="33" id="nav_5" onMouseOver="javascript:toggle_nav(5)"></a><a href="#"><img src="http://p1.mb5u.com/texiao/nav_6_off.gif" alt="Travel" name="nav_6" width="80" height="33" id="nav_6" onMouseOver="javascript:toggle_nav(6)"></a><a href="#"><img src="http://p1.mb5u.com/texiao/nav_7_off.gif" alt="Culture&Entertainment" name="nav_7" width="120" height="33" id="nav_7" onMouseOver="javascript:toggle_nav(7)"></a><a href="#"><img src="http://p1.mb5u.com/texiao/nav_8_off.gif" alt="Housing & Real Estate" name="nav_8" width="80" height="33" id="nav_8" onMouseOver="javascript:toggle_nav(8)"></a><a href="#"><img src="http://p1.mb5u.com/texiao/nav_9_off.gif" alt="Education & Training" name="nav_9" width="120" height="33" id="nav_9" onMouseOver="javascript:toggle_nav(9)"></a><a href="#"><img src="http://p1.mb5u.com/texiao/nav_10_off.gif" alt="Sports" name="nav_10" width="80" height="33" id="nav_10" onMouseOver="javascript:toggle_nav(10)"></a><a href="#"><img src="http://p1.mb5u.com/texiao/nav_11_off.gif" alt="Services" name="nav_11" width="80" height="33" id="nav_11" onMouseOver="javascript:toggle_nav(11)"></a></div> <!-- 次导行栏 --> <div class="navsub"> <div id="sub_nav_0" style="display: none;"></div> <div id="sub_nav_1" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="3"> <a href="#">Bars</a> | <a href="#">Cafes</a> | <a href="#">KTV</a> | <a href="#">Live Music</a> | <a href="#">Nightclubs</a> | <a href="#">Teahouses</a> | <a href="#">Others</a> </div> <div id="sub_nav_2" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="6"> <a href="#">American</a> | <a href="#">Beijing Style Cuisine</a> | <a href="#">Cantonese</a> | <a href="#">Delis & Sandwich</a> | <a href="#">French</a> | <a href="#">Hot pot</a> | <a href="#">Indian</a> | <a href="#">Italian</a> | <a href="#">Japanese</a> | <a href="#">Sichuan</a> | <a href="#">Southeast Asian</a> </div> <div id="sub_nav_3" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="2"> <a href="#">Art & Craft Shops</a> | <a href="#">Clothing</a> | <a href="#">Antique & Curio shop</a> | <a href="#">Electrical Goods</a> | <a href="#">Flowers & Gifts</a> | <a href="#">Jewelry & Watch</a> | <a href="#">Souvenir shops</a> | <a href="#">Sports Goods</a> </div> <div id="sub_nav_4" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="2"> <a href="#">Beauty salon</a> | <a href="#">Dental care</a> | <a href="#">Eye care</a> | <a href="#">Hair salons</a> | <a href="#">Traditional Chinese Medicine</a> | <a href="#">Hospitals & Clinics</a> | <a href="#">Massage</a> | <a href="#">SPA & Sauna</a> </div> <div id="sub_nav_5" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="123"> <a href="#">Children's Activities</a> | <a href="#">Children's Bookstores</a> | <a href="#">Shop for Children</a> | <a href="#">Children's Health</a> | <a href="#">Children's schools& Kindergarten</a> </div> <div id="sub_nav_6" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="171"> <a href="#">Folkloric travel around Beijing</a> | <a href="#">Hotel</a> | <a href="#">Tourist attraction</a> | <a href="#">Travel agencies</a> | <a href="#">Airlines</a> </div> <div id="sub_nav_7" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="258"> <a href="#">Bookstores</a> | <a href="#">Concert Halls</a> | <a href="#">Libraries & Museums</a> | <a href="#">Theaters</a> | <a href="#">Others</a> </div> <div id="sub_nav_8" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="169"> <a href="#">Apartment for Rent</a> | <a href="#">Apartment for Sale</a> | <a href="#">Villa for Rent</a> | <a href="#">Villa for Sale</a> | <a href="#">Office & Business buildings</a> | <a href="#">Others</a> </div> <div id="sub_nav_9" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="552"> <a href="#">Schools & Colleges</a> | <a href="#">Language School</a> | <a href="#">Others</a> </div> <div id="sub_nav_10" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="338"> <a href="#">Bowling</a> | <a href="#">Fitness centers</a> | <a href="#">Golf</a> | <a href="#">Gyms</a> | <a href="#">Outdoor Pursuits</a> | <a href="#">Yoga</a> | <a href="#">Winter sports</a> | <a href="#">Tennis</a> </div> <div id="sub_nav_11" style="display: none;"><img src="http://p1.mb5u.com/texiao/pixel.gif" alt="blank" height="2" width="598"> <a href="#">Homemaking</a> | <a href="#">Law</a> | <a href="#">Tickets</a> | <a href="#">Veterinary/Pet Services</a> </div> </div>
所属频道:
菜单导航特效
/
更新时间:2011-02-23
[收藏]
[报错]
[返回列表]
相关
菜单导航特效
:
CSS+div+js组合强大实现超酷菜单
超酷仿GOOGLE首页导航菜单效果
仿网易的滑动门技术DIV+CSS实现
仿蓝色理想网站的导航菜单
鼠标触及带边框菜单
用JS实现的类似框架的链接导航模式
CSS立体层
右键弹出菜单
纯css的导航下拉菜单
隐藏菜单效果
css模拟title和alt的提示效果
下拉菜单链接页面打开方式选择
菜单导航特效Rss订阅
特效代码搜索
菜单导航特效推荐
基于表格的 Tab
自动切换的简洁网页选项卡
侧边栏导航菜单,溢出式导航
CSS经典Tab滑动门菜单
相当漂亮的CSS蓝色滑动门式的导航菜单
仿蓝色理想网站的导航菜单
有间隔带“更多”字样的选项卡
下拉式导航菜单(慢慢隐现有点爽)
Js打造层拖动实例:网站菜单拖拽移位效果
纯CSS实现图标围成的圆环菜单
猜你也喜欢看这些
链接图片无缝向左平滑滚动Js版代码
点小图弹出放大图片的JavaScript效果
JS/CSS点小图弹大图实例代码
自由移动的图片
jquery 自动轮换内容
JS打造立体旋转的图片特效
超逼真的JS图片放大镜
鼠标拖动图片的JavaScript
按钮可以控制的JS横向图片滚动
NBA网站大幅JS焦点图切换
相关链接:
复制本页链接
|
搜索菜单效果2
特效说明:
菜单导航模板
-
菜单效果2
。