自己看源代码呀!
<html>
<head>
<title>VC知识库开发论坛 2004</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript" src="bbs.js"></script>
<script>
var zoomin = false;
var leftwin = true;
var SysMenuStatus = 0;
var WinObject;
function ShowSysMenu(bVisible)
{
if(bVisible == 1)
{
WinObject.SysMenu.style.left = WinObject.event.clientX + WinObject.document.body.scrollLeft-140;
WinObject.SysMenu.style.top = WinObject.event.clientY + WinObject.document.body.scrollTop;
WinObject.SysMenu.style.visibility = 'visible';
SysMenuStatus = 2;
}
else
SysMenuStatus--;
if( SysMenuStatus == 0 ) WinObject.SysMenu.style.visibility='hidden';
}
function CreateSysMenu(WObject)
{
WinObject = WObject;
DivH=2;
var HrStr="<tr><td align=center valign=middle height=2><TABLE border=0 cellpadding=0 cellspacing=0 width=128 height=2><tr><td height=1 bgcolor=buttonshadow><\/td><\/tr><tr><td height=1 bgcolor=buttonhighlight><\/td><\/tr><\/TABLE><\/td><\/tr>";
var MenuStr1="<tr><td align=center valign=middle height=20><TABLE border=0 cellpadding=0 cellspacing=0 width=132><tr><td valign=middle height=20 class=Mout onMouseOver=this.className='Mover'; onMouseOut=this.className='Mout'; onclick=\"";
var MenuStr2="<\/td><\/tr><\/TABLE><\/td><\/tr>";
var MenuStr="";
MenuStr+=MenuStr1+"location='pa.html'\">个人助理"+MenuStr2;
DivH+=20;
MenuStr+=MenuStr1+"location='myTopic.asp?task=1'\">我的问题"+MenuStr2;
DivH+=20;
MenuStr+=MenuStr1+"location='/city/SMSG/mySMSG.asp'\">消息中心"+MenuStr2;
DivH+=20;
MenuStr+=MenuStr1+"location='/SYS/script/onlineuser.asp'\">在线用户"+MenuStr2;
DivH+=20;
MenuStr+=MenuStr1+"location='upload.html'\">文件上传"+MenuStr2;
DivH+=20;
MenuStr+=HrStr;
MenuStr+=MenuStr1+"location='/bbs/prime'\">论坛精华"+MenuStr2;
DivH+=20;
MenuStr+=MenuStr1+"location='bbshelp.html'\">论坛帮助"+MenuStr2;
DivH+=20;
MenuStr+=MenuStr1+"location='/SYS/script/loginput.asp?from=/bbs/bbsmain.asp'\">用户登陆"+MenuStr2;
DivH+=20;
MenuStr+=MenuStr1+"location='/SYS/script/logout.asp?home=false'\">退出登陆"+MenuStr2;
DivH+=20;
var DivStr1="<DIV id=SysMenu style=\"position:absolute; left:0px; top:0px; width=150;height="+DivH+"; z-index:1; visibility:hidden;\"><TABLE border=0 cellspacing=1 cellpadding=0 bgcolor=#669966><tr><td bgcolor=#ffffff><TABLE border=0 cellpadding=0 cellspacing=0>";
var DivStr2="<\/TABLE><\/td><\/tr><\/TABLE><\/DIV>";
WObject.document.write(DivStr1+MenuStr+DivStr2);
WObject.document.body.onclick= new Function("ShowSysMenu(0);"
;
WObject.document.body.onscroll=new Function("ShowSysMenu(0);"
;
WObject.document.body.onselectstart=new Function("ShowSysMenu(0);"
;
window.onresize=new Function("ShowSysMenu(0);"
;
}
function changeWin(){
if(leftwin == true){
forum.cols = "*,8";
topFrame.menuSwitch.innerHTML = "<img src='3.gif' width=8 height=23 style='cursor:hand;'>";
topFrame.forumtd.style.display="none";
topFrame.document.body.scroll="no";
leftwin = false;
ReadOldStyle();
WriteStyle(OldStyle | 16);
}
else{
forum.cols = "*,140";
topFrame.menuSwitch.innerHTML = "<img src='4.gif' width=8 height=23 style='cursor:hand;'>";
topFrame.forumtd.style.display="";
topFrame.document.body.scroll="auto";
leftwin = true;
var Style = 16;
ReadOldStyle();
WriteStyle(~Style & OldStyle);
}
}
function ZoomWin(){
if(zoomin == false){
leftwin = true;
changeWin();
right.RightFrm.rows = "100%,0"
zoomin = true;
}
else{
leftwin = false;
changeWin();
right.RightFrm.rows = "68%,*"
zoomin = false;
}
}
function ZoomWin2(){
if(zoomin == false){
leftwin = true;
changeWin();
right.RightFrm.rows = "0,100%"
zoomin = true;
}
else{
leftwin = false;
changeWin();
right.RightFrm.rows = "68%,*"
zoomin = false;
}
}
</script>
</head>
<script>
ReadOldStyle();
if(OldStyle & 16) leftwin = false;
if(leftwin == false) document.write("<frameset name='forum' cols='*,8' rows='*' FRAMEBORDER=0 FRAMESPACING=0 TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 BORDER=0>"
;
else document.write("<frameset name='forum' cols='*,140' rows='*' FRAMEBORDER=0 FRAMESPACING=0 TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 BORDER=0>"
;
document.write("<frame name='right' frameborder='NO' border='0' framespacing='0' scrolling='AUTO' noresize src='bbsmain.asp'>"
;
document.write("<frameset rows='*,0' frameborder='NO' border='0' framespacing='0' cols='*'>"
;
if(leftwin == false) document.write("<frame name='topFrame' scrolling='NO' noresize src='forumlist.html'>"
;
else document.write("<frame name='topFrame' scrolling='AUTO' noresize src='forumlist.html'>"
;
</script>
<frame src="FindSM.asp">
</frameset> </frameset>
</html>