下面的代码是个目录,它所在的页面有两个框架,我想让目录链接的表格在另一个框架打开!该如何修改以下代码?请高手指点!
<%@ Page Language="VB" ContentType="text/html" %>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<script language="JavaScript1.2">
//菜单1的内容
var menu1=new Array()
menu1[0]='<a href=tab_customer/010101.aspx>新增</a><br>'
menu1[1]='<a href=http://www.sina.com.cn>新浪网</a><br>'
menu1[2]='<a href=http://www.cctv.com>中央电视台</a><br>'
//菜单2的内容
var menu2=new Array()
menu2[0]='<a href=http://vs_server.njavat.net/bbs>本站论坛</a><br>'
menu2[1]='<a href=http://vs_server.njcatv.net/aspchitchat>本站聊天室</a><br>'
menu2[2]='<a href=mailto:baron@njcatv.net>来信联络</a><br>'
</script>
<style>
<!--
.iewrap1{
position:relative;
height:30px;
; font-family: "宋体"; font-size: 9pt}
.iewrap2{
position:absolute;
; font-family: "宋体"; font-size: 9pt}
#dropmenu0, #dropmenu1{
visibility:hide;
z-index:100;
}
#dropmenu0 { font-family: "宋体" ; font-size: 9pt}#dropmenu1 { font-family: "宋体" ; font-size: 9pt}-->
</style>
<TITLE>无标题文档</TITLE>
</HEAD>
<BODY>
<script language="JavaScript1.2">
//以下不要改
var zindex=100
function dropit2(whichone){
if (window.themenu&&themenu.id!=whichone.id)
themenu.style.visibility="hidden"
themenu=whichone
if (document.all){
themenu.style.left=document.body.scrollLeft+event.clientX-event.offsetX
themenu.style.top=document.body.scrollTop+event.clientY-event.offsetY+18
if (themenu.style.visibility=="hidden"){
themenu.style.visibility="visible"
themenu.style.zIndex=zindex++
}
else{
hidemenu()
}
}
}
function dropit(e,whichone){
if (window.themenu&&themenu.id!=eval(whichone).id)
themenu.visibility="hide"
themenu=eval(whichone)
if (themenu.visibility=="hide")
themenu.visibility="show"
else
themenu.visibility="hide"
themenu.zIndex++
themenu.left=e.pageX-e.layerX
themenu.top=e.pageY-e.layerY+19
return false
}
function hidemenu(whichone){
if (window.themenu)
themenu.style.visibility="hidden"
}
function hidemenu2(){
themenu.visibility="hide"
}
if (document.all)
document.body.onclick=hidemenu
//以上不要改
</script>
<!----------菜单1开始---------->
<TABLE WIDTH="96%" BORDER="1">
<TR>
<TD WIDTH="47%"> <HR>
<ilayer height=35px>
<layer visibility=show>
<span class=iewrap1>
<span class=iewrap2 onClick="dropit2(dropmenu0);event.cancelBubble=true;return false"><font face=宋体><a href="#" target="content" onClick="if(document.layers) return dropit(event, 'document.dropmenu0')">站点列表</a></font>
</span>
</span>
</layer>
</ilayer>
</td>
<!----------菜单1结束---------->
<!----------菜单2开始---------->
<td WIDTH="53%">
<ilayer height=35px>
<layer visibility=show>
<span class=iewrap1>
<span class=iewrap2 onClick="dropit2(dropmenu1);event.cancelBubble=true;return false"><font face=宋体><a href="#" target="content" onClick="if(document.layers) return dropit(event, 'document.dropmenu1')">联络方式</a></font>