87,910
社区成员
发帖
与我相关
我的任务
分享
<script language='javascript'>
var preFrameW = '206,*';
var FrameHide = 0;
var curStyle = 1;
var totalItem = 9;
function ChangeMenu(way){
var addwidth = 10;
var fcol = top.document.all.btFrame.cols;
if(way==1) addwidth = 10;
else if(way==-1) addwidth = -10;
else if(way==0){
if(FrameHide == 0){
preFrameW = top.document.all.btFrame.cols;
top.document.all.btFrame.cols = '0,*';
FrameHide = 1;
return;
}else{
top.document.all.btFrame.cols = preFrameW;
FrameHide = 0;
return;
}
}
fcols = fcol.split(',');
fcols[0] = parseInt(fcols[0]) + addwidth;
top.document.all.btFrame.cols = fcols[0]+',*';
}
function mv(selobj,moveout,itemnum)
{
if(itemnum==curStyle) return false;
if(moveout=='m') selobj.className = 'itemsel';
if(moveout=='o') selobj.className = 'item';
return true;
}
function changeSel(itemnum)
{
curStyle = itemnum;
for(i=1;i<=totalItem;i++)
{
if(document.getElementById('item'+i)) document.getElementById('item'+i).className='item';
}
document.getElementById('item'+itemnum).className='itemsel';
}
function changeToDefault()
{
document.getElementById("iframeB").src="menu.aspx";
document.getElementById("iframeC").src="main.aspx";
}
</script>