JS运行出错。想实现的功能
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Menu Design 3</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta name="description" content="CSS menus free for all" /> <meta name="keywords" content="CSS, css, CSS menu, CSS design, css design, CSS menu design, e-lusion, Ian, ian, e-lusion.com" /> <meta name="author" content="Ian Main" /> <meta name="Copyright" content="Creative Commons - http://creativecommons.org/licenses/by/2.0/" /> <style type="text/css"> body { font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 80%; font-weight: bold; } ul { list-style: none; margin: 0; padding: 0; } /* =-=-=-=-=-=-=-[Menu Three]-=-=-=-=-=-=-=- */ #menu3 { width: 200px; border: 1px solid #ccc; margin: 10px; } #menu3 li a { height: 32px; voice-family: "\"}\""; voice-family: inherit; height: 24px; text-decoration: none; } #menu3 li a:link, #menu3 li a:visited { color: #888; display: block; background: url(http://www.kumeir.com/forum/img/menu3/images/menu3.gif); padding: 8px 0 0 30px; } #menu3 li a:hover, #menu3 li a:active { color: #283A50; background: url(http://www.kumeir.com/forum/img/menu3/images/menu3.gif) 0 -32px; padding: 8px 0 0 30px; } </style> </head> <body> <div id="menu3"> <ul> <li><a href="#1" title="Home">Home</a></li> <li><a href="#2" title="About">About</a></li> <li><a href="#3" title="Services">Services</a></li> <li><a href="#4" title="Portfolio">Portfolio</a></li> <li><a href="#5" title="Store">Store</a></li> <li><a href="http://www.aiyiweb.com/forum/img/menu3/menu3.zip" title="Download">Download Menu</a></li> </ul> </div> </body> </html></font> <a href="http://www.Aiyiweb.Com/">
你不尊重别人,别人怎么会理你,代码好歹整理一下
排版一下把
使用插入代码的功能,而不是直接贴上来
整理以后在发
楼主点击这个图标,会有弹窗出现 有语言的选择,选择HTML ,将代码贴进去 就会显示的整齐。
你这个搞笑了,你根本都没有JS,怎么可能包JS的错误呢