本人正在做课程设计.我想做跟该网站旁边菜单一样的界面.不知道怎么做.能不能给代码给小弟啊!!!
------解决方案--------------------
- HTML code
<!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><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>无标题文档</title><style type="text/css"><!--ul#navlist{margin: 0 0 0 30px;padding: 0;width: 12.5%;}#navlist li{list-style-type: none;background-color: #191970;color: #daa520;border: .2em solid #daa520;font-weight: 600;text-align: center;padding: .3em;margin-bottom: .1em;}#navlist li a{color: #daa520;text-decoration: none;display: block;}#navlist li a:hover{background-color: #faebd7;color: #191970;}--></style></head><body><div id="navcontainer"><ul id="navlist"><li id="active"><a href="http://www.hao123.cn" id="current">首页</a></li><li><a href="http://www.hao123.com">介绍</a></li><li><a href="http://www.hao123.com">歌曲</a></li><li><a href="http://www.hao123.com">电影</a></li><li><a href="http://www.hao123.com">联系</a></li></ul></div></body></html>
------解决方案--------------------
- HTML code
<HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK href="css/applus.css" type=text/css rel=stylesheet><SCRIPT language=javascript src="js/menu.js"></SCRIPT><SCRIPT language=VBScript src="js/formenctype.vbs"></SCRIPT><META content="MSHTML 6.00.2800.1106" name=GENERATOR><style type="text/css"><!--a:link { font-size: 10pt; color: #122b6a; text-decoration: none;}a:visited { font-size: 10pt; color: #122b6a; text-decoration: none;}a:hover { font-size: 10pt; color: #FFFFFF; text-decoration: none;}body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px;}.txt { font-size: 12px; font-weight: bold; }--></style></HEAD><BODY class=menuBody style="OVERFLOW: hidden" noWrap ><TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD id=left_bar style="DISPLAY: none" vAlign=top> <TABLE height="100%" cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD vAlign=top><IMG src="img/leftframe1.jpg" width="28" height="190" style="CURSOR: hand" onclick=javascript:ChangeImg()></TD> </TR> <TR> <TD background="img/leftframe2.jpg" height="100%"></TD> </TR> <TR> <TD><IMG src="img/leftframe3.jpg"></TD> </TR> </TBODY> </TABLE> </TD> <TD id=right_part vAlign=top height="100%"> <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD colSpan=3> <TABLE cellSpacing=0 cellPadding=0 border=0 height="30"> <TBODY> <TR> <TD><IMG src="img/mov1.jpg" width="140" height="30"></TD> <TD width="100%" background="img/movbk.jpg" height="10"></TD> </TR> </TBODY> </TABLE> </TD> </TR> <TR> <TD align=left><IMG src="img/horlogo.jpg" width="115" height="26"></TD> <TD width="100%" height="15px" background="img/logomargin.jpg"></TD> <TD><IMG src="img/closebutton.jpg" width="29" height="26" id=closeImg style="OVERFLOW: hidden; CURSOR: hand" onclick=javascript:ChangeImg()></TD> </TR> <TR> <TD vAlign="top" align="middle" colSpan=3 height="85%"><TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR style="OVERFLOW: visible" vAlign=top> <TD width=4 background="img/treeleft.jpg" height="80"></TD> <TD style="FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#8FC0EB', endColorStr='#5482D7', gradientType='0')" vAlign=top width=5 height="80"></TD> <TD style="FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#8FC0EB', endColorStr='#5482D7', gradientType='0')" vAlign=top><DIV style="SCROLLBAR-FACE-COLOR: #a5c7ed; LEFT: 30px; SCROLLBAR-HIGHLIGHT-COLOR: #a5c7ed; OVERFLOW: auto; WIDTH: 100%; SCROLLBAR-ARROW-COLOR: #6f9ac7; SCROLLBAR-DARKSHADOW-COLOR: #88aedb; SCROLLBAR-BASE-COLOR: #b9d4f1; HEIGHT: 100%" cellspacing="0" cellpadding="0"> <FONT size=2><NOBR> <SPAN class=menuFont> <SPAN id=favoritesChild style="DISPLAY: none"> <SPAN name="WF_TODO"> </SPAN> </SPAN> </SPAN> <!--设备查询--> <SPAN class=menuFont> <span class="txt"> <IMG style="CURSOR: hand" onclick=openBranch(); height=17 src="img/plus.gif" width=17 border=0 name=OAF> <FONT style="CURSOR: hand" onclick=openBranch(); name="OAF_txt">统计查询</FONT></span><BR> <!--设备管理子菜单隐藏--> <SPAN id=OAFChild style="DISPLAY: none"> <SPAN name="OAF_REPORT"> <IMG height=16 src="img/dot.gif" width=16 border=0> <SPAN class=menuFont id=OAFOAF_REPORTID style="CURSOR: hand" onclick=clickLeaf(false); name="OAF_REPORT" isalwaysnew="N" isgotoedit="N" parentcompo="null"> <a href="servlet/surveyServlet" target="mainFrame">资产概况</a> </SPAN><BR> </SPAN> <SPAN name="OAF_REPORT"> <IMG height=16 src="img/dot.gif" width=16 border=0> <SPAN class=menuFont id=OAFOAF_REPORTID style="CURSOR: hand" onclick=clickLeaf(false); name="OAF_REPORT" isalwaysnew="N" isgotoedit="N" parentcompo="null"> <a href="device/deviceStat.html" target="mainFrame">资产统计</a> </SPAN><BR> </SPAN> <SPAN name="OAF_REPORT"> <IMG height=16 src="img/dot.gif" width=16 border=0> <SPAN class=menuFont id=OAFOAF_REPORTID style="CURSOR: hand" onclick=clickLeaf(false); name="OAF_REPORT" isalwaysnew="N" isgotoedit="N" parentcompo="null"> <a href="device/searchDevice.html" target="mainFrame">综合查询</a> </SPAN><BR> </SPAN> </SPAN> </SPAN> </SPAN> <!--设备查询结束--> <!--设备入库,设备分配,设备调拨,设备报废,设备类型,安装位置--> <SPAN class=menuFont> <span class="txt"> <IMG style="CURSOR: hand" onclick=openBranch(); height=17 src="img/plus.gif" width=17 border=0 name=OAD> <FONT style="CURSOR: hand" onclick=openBranch(); name="OAD_txt">设备管理</FONT></span><BR> <!--设备管理子菜单隐藏--> <SPAN id=OADChild style="DISPLAY: none"> <SPAN name="OAD_REPORT"> <IMG height=16 src="img/dot.gif" width=16 border=0> <SPAN class=menuFont id=OADOAD_REPORTID style="CURSOR: hand" onclick=clickLeaf(false); name="OAD_REPORT" isalwaysnew="N" isgotoedit="N" parentcompo="null"> <a href="device/addDevice.jsp" target="mainFrame">设备入库</a> </SPAN><BR> </SPAN> <SPAN name="OAD_REPORT"> <IMG height=16 src="img/dot.gif" width=16 border=0> <SPAN class=menuFont id=OADOAD_REPORTID style="CURSOR: hand" onclick=clickLeaf(false); name="OAD_REPORT" isalwaysnew="N" isgotoedit="N" parentcompo="null"> <a href="device/manageDevice.jsp" target="mainFrame">设备维护</a> </SPAN><BR> </SPAN> <SPAN name="OAD_REPORT"> <IMG height=16 src="img/dot.gif" width=16 border=0> <SPAN class=menuFont id=OADOAD_REPORTID style="CURSOR: hand" onclick=clickLeaf(false); name="OAD_REPORT" isalwaysnew="N" isgotoedit="N" parentcompo="null"> <a href="device/deployDevice.jsp" target="mainFrame">设备分配</a> </SPAN><BR> </SPAN> <SPAN name="OAD_REPORT"> <IMG height=16 src="img/dot.gif" width=16 border=0> <SPAN class=menuFont id=OADOAD_REPORTID style="CURSOR: hand" onclick=clickLeaf(false); name="OAD_REPORT" isalwaysnew="N" isgotoedit="N" parentcompo="null"> <a href="device/redeployDevice.html" target="mainFrame">设备调拨</a> </SPAN><BR> </SPAN> <SPAN name="OAD_REPORT"> <IMG height=16 src="img/dot.gif" width=16 border=0> <SPAN class=menuFont id=OADOAD_REPORTID style="CURSOR: hand" onclick=clickLeaf(false); name="OAD_REPORT" isalwaysnew="N" isgotoedit="N" parentcompo="null"> <a href="device/rejectDevice.html" target="mainFrame">设备报废</a> </SPAN><BR> </SPAN> </SPAN> </SPAN> </SPAN> <!--设备管理结束-->