类似于
http://www.aspfaq.com/
要求我点击菜单上的哪一项就显示哪一页面,并且该菜单与其他的菜单不同颜色。
用javascript实现。
<html>
<head>
<style>
body, td, th { font-family:verdana,tahoma;font-size:x-small;line-height:17px; }
input, select, textarea { font-family:tahoma,verdana;font-size:8pt;background:#ececec;color:#0000AA; }
.inp { border:1px solid black;padding:2px;height:19px; }
BUTTON { font-family:tahoma,verdana;font-size:8pt;cursor:pointer;color:#0000AA;line-height:14px; }
a { color: #000000; background:#B9CDEF; text-decoration:none; padding-top: 1px; padding-bottom: 1px; padding-left:2px; padding-right:2px }
a:hover { color:#334499; background:#CADEEF; }
a.plain { text-decoration:underline;color:#000080;background:#ffffff }
a.plain:hover { text-decoration:none;background:#ffffff }
a.hide { visibility:hidden }
.crow { font-size:8pt;font-family:tahoma,verdana;cursor:hand;border-right:1px solid black; }
.srow { font-size:8pt;font-family:tahoma,verdana;border-right:1px solid white; }
.tran { color:#ffffff; background:#ffffff; padding:0px; }
.small { font-size:xx-small;color:#c4c4c4;line-height:12pt; }
.txt { border:1px solid black;padding:4px;font-family:tahoma;font-size:7pt;background:#ececec }
.data { border:1px solid black;padding:4px;font-family:lucida console;font-size:8pt;background:#ececec }
.code { font-family:lucida console,ms gothic,courier new;font-size:x-small;color:#000080;background:#ededed;line-height:10.5pt;padding-left:15px; }
.note { background:#ededed; font-family:tahoma,verdana,helvetica;font-size: xx-small;padding:9px;}
</style>
<noscript><meta http-equiv=refresh content=1;url=wholelist.asp></noscript>
<script>
function goKB(art)
{
// EXPECTS Qxxxxxx input!!!
var url=http://support.microsoft.com/?scid=KB;EN-US;+art;
window.open(url,,);
}
function showGrad(el) { document.all(el).style.filter = "progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#FFFFFF, EndColorStr=#CCCCCC)"; }
function showGray(el) { document.all(el).style.filter = "progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#CCCCCC, EndColorStr=#FFFFFF)"; }
function fOn(o) { o.style.filter = "progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr=#8DAED7, EndColorStr=#FFFFFF)"; }
function fOff(o) { o.style.filter = ""; }
function eOn(o,c) { document.getElementById(o).bgcolor=c; }
</script>
</head>
<body bgcolor=#ffffff text=#000000 link=#000080 vlink=#000080 alink=#000080
topmargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0 style=background:url('/img/nli.jpg') no-repeat;>
<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr valign=top><td width=110>
<table border=0 cellpadding=0 cellspacing=0 width=110 style=line-height:19px;background:#8DAED7>
<tr><td class=srow id=selected bgcolor=#ffffff><nobr> Home </nobr></td></tr><tr height=1><td height=1 bgcolor=#000000><img src=/img/blank.gif width=1 height=1 hspace=0 vspace=0 style=visibility:hidden></td></tr><tr onclick="window.location.href=/search.asp;"><td class=crow onmouseover=this.style.background="#FFFFFF";this.style.borderRight="1px solid #ffffff";fOn(this); onmouseout=this.style.background="#8DAED7";this.style.borderRight="1px solid black";fOff(this);><nobr> Search </nobr></td></tr><tr height=1><td height=1 bgcolor=#000000><img src=/img/blank.gif width=1 height=1 hspace=0 vspace=0 style=visibility:hidden></td></tr><tr onclick="window.location.href=/database.asp;"><td class=crow onmouseover=this.style.background="#FFFFFF";this.style.borderRight="1px solid #ffffff";fOn(this); onmouseout=this.style.background="#8DAED7";this.style.borderRight="1px solid black";fOff(this);><nobr> Database </nobr></td></tr><tr height=1><td height=1 bgcolor=#000000><img src=/img/blank.gif width=1 height=1 hspace=0 vspace=0 style=visibility:hidden></td></tr><tr onclick="window.location.href=/filesystem.asp;"><td class=crow onmouseover=this.style.background="#FFFFFF";this.style.borderRight="1px solid #ffffff";fOn(this); onmouseout=this.style.background="#8DAED7";this.style.borderRight="1px solid black";fOff(this);><nobr> File System </nobr></td></tr><tr height=1><td height=1 bgcolor=#000000><img src=/img/blank.gif width=1 height=1 hspace=0 vspace=0 style=visibility:hidden></td></tr><tr onclick="window.location.href=/components.asp;"><td class=crow onmouseover=this.style.background="#FFFFFF";this.style.borderRight="1px solid #ffffff";fOn(this); onmouseout=this.style.background="#8DAED7";this.style.borderRight="1px solid black";fOff(this);><nobr> Components </nobr></td></tr><tr height=1><td height=1 bgcolor=#000000><img src=/img/blank.gif width=1 height=1 hspace=0 vspace=0 style=visibility:hidden></td></tr><tr onclick="window.location.href=/forms.asp;"><td class=crow onmouseover=this.style.background="#FFFFFF";this.style.borderRight="1px solid #ffffff";fOn(this); onmouseout=this.style.background="#8DAED7";this.style.borderRight="1px solid black";fOff(this);><nobr> Forms </nobr></td></tr><tr height=1><td height=1 bgcolor=#000000><img src=/img/blank.gif width=1 height=1 hspace=0 vspace=0 style=visibility:hidden></td></tr><tr onclick="window.location.href=/dates.asp;"><td class=crow onmouseover=this.style.background="#FFFFFF";this.style.borderRight="1px solid #ffffff";fOn(this); onmouseout=this.style.background="#8DAED7";this.style.borderRight="1px solid black";fOff(this);><nobr> Dates </nobr></td></tr><tr height=1><td height=1 bgcolor=#000000><img src=/img/blank.gif width=1 height=1 hspace=0 vspace=0 style=visibility:hidden></td></tr><tr onclick="window.location.href=/email.asp;"><td class=crow onmouseover=this.style.background="#FFFFFF";this.style.borderRight="1px solid #ffffff";fOn(this); onmouseout=this.style.background="#8DAED7";this.style.borderRight="1px solid black";fOff(this);><nobr> E-mail </nobr></td></tr><tr height=1><td height=1 bgcolor=#000000><img src=/img/blank.gif width=1 height=1 hspace=0 vspace=0 style=visibility:hidden></td></tr><tr onclick="window.location.href=/general.asp;"><td class=crow onmouseover=this.style.background="#FFFFFF";this.style.borderRight="1px solid #ffffff";fOn(this); onmouseout=this.style.background="#8DAED7";this.style.borderRight="1px solid black";fOff(this);><nobr> General </nobr></td></tr><tr height=1><td height=1 bgcolor=#000000><img src=/img/blank.gif width=1 height=1 hspace=0 vspace=0 style=visibility:hidden></td></tr><tr onclick="window.location.href=/biglist.asp;"><td class=crow onmouseover=this.style.background="#FFFFFF";this.style.borderRight="1px solid #ffffff";fOn(this);