求助:关于设为首页
以下是一段javascript代码:var lefter="<table border=0 width='"+web_wid+"' cellspacing=0 cellpadding=0><tr><td width=1 bgcolor='" + color_2 + "'></td><td width=* align=center bgcolor=" + bg_color + ">";var righter="</td><td width=1 bgcolor='" + color_2 + "'></td></tr></table>";
function web_head(tit_fir,tit,var3,tim_today,tim_week,index_url,login_message)
{
document.write ("<body topmargin=0 leftmargin=0 bgcolor=" + bg_color + " background='images/" + web_bg + ".gif'><a name='top'></a><center>");
if (var3==4) return true ;
document.write ( lefter );
.....
.....
document.write ("<IMG SRC='images/moban_08.gif' WIDTH=56 HEIGHT=74 ALT='' border='0' usemap='#Map'></TD>");
document.write ("<TD ROWSPAN=2>");
.....
.....
document.write ("<map name='Map'>");
document.write ("<area shape='rect' coords='1,5,52,21' href='xuzhi.asp'>");
document.write ("<area shape='rect' coords='3,30,50,45' href='#'>");
document.write ("</map>");
.....
.....
请问怎么才能在document.write ("<area shape='rect' coords='3,30,50,45' href='#'>"); 上实现设为首页的功能?谢谢大家,急!!!在线等!!!
[此贴子已经被作者于2005-2-5 15:09:45编辑过]