|
主题: 请问:怎样让网页一打开就执行一个onClick的命令
|
 chenxy
职务:普通成员
等级:1
金币:1.0
发贴:75
注册:2001/9/12 18:08:47
|
#12002/12/4 12:15:44
页面中有一个onClick="MFXrunMenu(0,5)的命令,我需要在页面一打开就自动执行这个onCLick命令,但我用onLoad或onStart都不行。 不知有无办法?
谢谢
|
 chenxy
职务:普通成员
等级:1
金币:1.0
发贴:75
注册:2001/9/12 18:08:47
|
#22002/12/4 14:29:48
是啊,我用却不行。真遗憾!!
|
 chenxy
职务:普通成员
等级:1
金币:1.0
发贴:75
注册:2001/9/12 18:08:47
|
#32002/12/4 16:31:27
我是将JS代码放在里的。
|
 5D荣誉斑竹
职务:普通成员
等级:2
金币:10.0
发贴:622
注册:2001/10/21 13:06:17
|
#42002/12/4 18:36:37
或者你也可以这样试试 (你代码贴的不全,下面代码仅仅是做个例子) <body onload=obj.click()> <table id="obj" onClick="MFXrunMenu(0,5)> .. .. ..
编辑历史:[此帖最近一次被 allinhands 编辑过(编辑时间:2004-05-11 11:37:10)]
|
 我佛山人
职务:版主
等级:4
金币:16.0
发贴:2269
注册:2002/8/7 15:09:27
|
#52002/12/4 20:06:58
检查一下看你是不是在中用了两个以上的onload
|
 不是高手
职务:普通成员
等级:3
金币:5.0
发贴:1352
注册:2002/8/23 2:27:18
|
#62002/12/5 8:58:23
onclick可以,没道理onload不行的! 一定是你代码写错了。
|
 chenxy
职务:普通成员
等级:1
金币:1.0
发贴:75
注册:2001/9/12 18:08:47
|
#72002/12/5 15:27:57
我按照上面几位朋友的方法试过,还是不行,现在我附上完整的代码,再帮我请看看,谢谢了! (我会新发一个贴,上传一个完整页面设计文件:仿XP任务菜单自动展开的问题)
<HTML> <HEAD> <TITLE>PhotoManager 中文帮助系统</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)"> <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5)"> <!-- <body style="overflow-x:hidden;overflow-y:hidden"> -->
<script language=javascript>//语言选择框(自动显示) var defaultSel = 1 var autourl=new Array() autourl[0]="../enu/" autourl[1]="../chs/" autourl[2]="../cht/" autourl[3]="../jan/" autourl[4]="../fre/" autourl[5]="../des/" var name =new Array() name[0]="Englsih" name[1]="简体中文" name[2]="繁體中文" name[3]="日本語" name[4]="français" name[5]="Deutsch" bVal = new Array() bVal[0] = bVal[1] = bVal[2] = bVal[3] = bVal[4] = bVal[5] = true total = 0;
function hrefErr(index){ bVal[index] = false; } function writeSel() { textSel = " <p align=left><font face=Arial size=2>选择语言:</font> "; textSel += "<SELECT onchange=\"var jmpURL=this.options[this.selectedIndex].value; "; textSel += " if(jmpURL!='') {self.location=jmpURL;} else {this.selectedIndex=0;}\" "; textSel += " size=1 name=Language style=\"background-color: #BFC6D1; font-family:arial\"> "; document.write(textSel)
var selected = "" for(var i=0;i<bVal.length;i++) { if(i==defaultSel) { selected = " selected" } else { selected = "" } if(bVal[i]) { document.write("<option value="+autourl[i]+"help.htm"+selected+">"+name[i]+"</option> ") } } } function doSelect() { for(var i=0;i<bVal.length;i++) { if(bVal[i]) total++; } if(total>1) { writeSel() } }
function run() { for(var i=0;i<autourl.length;i++) { image = autourl[i]+"image/Title_Left.gif" document.write("<div style='position: absolute;visibility:hidden'><img src="+image+""+" width=1 height=1 onerror=hrefErr('"+ i+"')></div>") } }
run()
var relay = 0 // wait 1 second while(relay<600000) { relay++ } </script>
<SCRIPT language=javascript><!--自动滚动图层代码_Begin--> self.onError=null; currentX = currentY = 0; whichIt = null; lastScrollX = 0; lastScrollY = 0; NS = (document.layers) ? 1 : 0; IE = (document.all) ? 1: 0; <!-- STALKER CODE --> function heartBeat() { if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; } if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; } if(diffY != lastScrollY) { percent = .1 * (diffY - lastScrollY); if(percent > 0) percent = Math.ceil(percent); else percent = Math.floor(percent); if(IE) document.all.floater.style.pixelTop += percent; if(NS) document.floater.top += percent; lastScrollY = lastScrollY + percent; } if(diffX != lastScrollX) { percent = .1 * (diffX - lastScrollX); if(percent > 0) percent = Math.ceil(percent); else percent = Math.floor(percent); if(IE) document.all.floater.style.pixelLeft += percent; if(NS) document.floater.left += percent; lastScrollX = lastScrollX + percent; } } <!-- /STALKER CODE --> <!-- DRAG DROP CODE --> function checkFocus(x,y) { stalkerx = document.floater.pageX; stalkery = document.floater.pageY; stalkerwidth = document.floater.clip.width; stalkerheight = document.floater.clip.height; if( (x > stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkery+stalkerheight))) return true; else return false; } function grabIt(e) { if(IE) { whichIt = event.srcElement; while (whichIt.id.indexOf("floater") == -1) { whichIt = whichIt.parentElement; if (whichIt == null) { return true; } } whichIt.style.pixelLeft = whichIt.offsetLeft; whichIt.style.pixelTop = whichIt.offsetTop; currentX = (event.clientX + document.body.scrollLeft); currentY = (event.clientY + document.body.scrollTop); } else { window.captureEvents(Event.MOUSEMOVE); if(checkFocus (e.pageX,e.pageY)) { whichIt = document.floater; StalkerTouchedX = e.pageX-document.floater.pageX; StalkerTouchedY = e.pageY-document.floater.pageY; } } return true; } function moveIt(e) { if (whichIt == null) { return false; } if(IE) { newX = (event.clientX + document.body.scrollLeft); newY = (event.clientY + document.body.scrollTop); distanceX = (newX - currentX); distanceY = (newY - currentY); currentX = newX; currentY = newY; whichIt.style.pixelLeft += distanceX; whichIt.style.pixelTop += distanceY; if(whichIt.style.pixelTop < document.body.scrollTop) whichIt.style.pixelTop = document.body.scrollTop; if(whichIt.style.pixelLeft < document.body.scrollLeft) whichIt.style.pixelLeft = document.body.scrollLeft; if(whichIt.style.pixelLeft > document.body.offsetWidth - document.body.scrollLeft - whichIt.style.pixelWidth - 20) whichIt.style.pixelLeft = document.body.offsetWidth - whichIt.style.pixelWidth - 20; if(whichIt.style.pixelTop > document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5) whichIt.style.pixelTop = document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5; event.returnvalue = false; } else { whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY); if(whichIt.left < 0+self.pageXOffset) whichIt.left = 0+self.pageXOffset; if(whichIt.top < 0+self.pageYOffset) whichIt.top = 0+self.pageYOffset; if( (whichIt.left + whichIt.clip.width) >= (window.innerWidth+self.pageXOffset-17)) whichIt.left = ((window.innerWidth+self.pageXOffset)-whichIt.clip.width)-17; if( (whichIt.top + whichIt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) whichIt.top = ((window.innerHeight+self.pageYOffset)-whichIt.clip.height)-17; return false; } return false; } function dropIt() { whichIt = null; if(NS) window.releaseEvents (Event.MOUSEMOVE); return true; }
<!-- DRAG DROP CODE --> if(NS) { window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN); window.onmousedown = grabIt; window.onmousemove = moveIt; window.onmouseup = dropIt; } if(IE) { document.onmousedown = grabIt; document.onmousemove = moveIt; document.onmouseup = dropIt; } if(NS || IE) action = window.setInterval("heartBeat()",1);
</SCRIPT><!--自动滚动图层代码_End-->
<style> <!-- body { font-size: 10pt; font-family: SimSun; Color:243859 } --> </style>
<script language="javascript">//下拉菜单展开代码 <!-- function MFXinitMenu(){ IE = document.all ? 1:0; NN = document.layers ? 1:0; HIDDEN = (NN) ? 'hide' : 'hidden'; VISIBLE = (NN) ? 'show' : 'visible'; myLayer=new Array(); mySpeed=5; subLeft=0; closes=true;
myLayer[0]=(NN) ? document.MFX1_1 : document.all.MFX1_1.style; myLayer[1]=(NN) ? document.MFX1_2 : document.all.MFX1_2.style; myLayer[2]=(NN) ? document.MFX2_1 : document.all.MFX2_1.style; myLayer[3]=(NN) ? document.MFX2_2 : document.all.MFX2_2.style; myLayer[4]=(NN) ? document.MFX3_1 : document.all.MFX3_1.style; myLayer[5]=(NN) ? document.MFX3_2 : document.all.MFX3_2.style; myLayer[6]=(NN) ? document.MFX4_1 : document.all.MFX4_1.style; myLayer[7]=(NN) ? document.MFX4_2 : document.all.MFX4_2.style; myLayer[8]=(NN) ? document.MFX5_1 : document.all.MFX5_1.style; myLayer[9]=(NN) ? document.MFX5_2 : document.all.MFX5_2.style; myLayer[10]=(NN) ? document.MFX6_1 : document.all.MFX6_1.style; myLayer[11]=(NN) ? document.MFX6_2 : document.all.MFX6_2.style; myLayer[12]=(NN) ? document.MFX7_1 : document.all.MFX7_1.style; myLayer[13]=(NN) ? document.MFX7_2 : document.all.MFX7_2.style;
running=false; whichOpen=-1; lastMain=myLayer.length-2; MFXmain=new Array(); for(i=0; i<myLayer.length; i++){ mainORsub= i % 2; MFXmain[i] = mainORsub ? 0:1; } myTop=new Array(); myLeft=new Array(); myHeight=new Array(); myWidth=new Array(); mySlide=new Array(); for(i=0; i<myLayer.length; i++){ if(NN&&MFXmain[i]){ if(i==0){ myTop[i]=myLayer[i].top; myLeft[i]=myLayer[i].left;} else{ myLeft[i]=myLeft[i-2]; myTop[i]=myTop[i-2]+myHeight[i-2];} myHeight[i]=myLayer[i].clip.height; myWidth[i]=myLayer[i].clip.width; myLayer[i].left=myLeft[i]; myLayer[i].top=myTop[i]; myLayer[i].visibility=VISIBLE;} if(NN&&!MFXmain[i]){ myTop[i]=myTop[i-1]+myHeight[i-1]; myLeft[i]=myLeft[i-1]; myHeight[i]=myLayer[i].clip.height; myWidth[i]=myLayer[i].clip.width; mySlide[i]=myTop[i]+myHeight[i]; myLayer[i].left=myLeft[i]+subLeft; myLayer[i].top=myTop[i];} if(IE&&MFXmain[i]){ if(i==0){ myLeft[i]=myLayer[i].pixelLeft; myTop[i]=myLayer[i].pixelTop;} else{ myLeft[i]=myLeft[i-2]; myTop[i]=myTop[i-2]+myHeight[i-2];} myHeight[i]=myLayer[i].pixelHeight; myWidth[i]=myLayer[i].pixelWidth; myLayer[i].left=myLeft[i]; myLayer[i].top=myTop[i]; myLayer[i].visibility=VISIBLE;} if(IE&&!MFXmain[i]){ myTop[i]=myTop[i-1]+myHeight[i-1]; myLeft[i]=myLeft[i-1]; myHeight[i]=myLayer[i].pixelHeight; myWidth[i]=myLayer[i].pixelWidth; myLayer[i].pixelLeft=myLeft[i]+subLeft; myLayer[i].pixelTop=myTop[i]; mySlide[i]=myTop[i]+myHeight[i]; } } } function MFXrunMenu(myName,newspeed){ ieStep=0; thereS=false; thereC=false; if(newspeed>0){mySpeed=newspeed;} first=myName; if(whichOpen==-1&&!running&&MFXmain[myName]&&!(whichOpen==myName)){ running=true; if(NN){ myLayer[myName+1].clip.height=0; myLayer[myName+1].visibility=VISIBLE; } if(IE){ myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (0) +" "+ ("auto") +")"; myLayer[myName+1].visibility=VISIBLE; } MFXopenMenuS(myName); MFXopenMenuC(myName); } if(whichOpen>=0&&!running&&!(whichOpen==myName)){ running=true; second=whichOpen; ieStep1=myHeight[second+1]; thereCS=false; thereCC=false; MFXcloseMenuS(second); MFXcloseMenuC(second); } if(whichOpen>=0&&!running&&whichOpen==myName&&closes){ running=true; second=whichOpen; ieStep1=myHeight[second+1]; thereCS=false; thereCC=false; MFXcloseMenuS(second); MFXcloseMenuC(second); } } function MFXstopCloseS(myName){ running=false; thereCS=true; if(closes&&first==whichOpen){whichOpen=-1;} else{whichOpen=-1; MFXrunMenu(first); } } function MFXstopOpenS(myName){ running=false; thereS=true; if(IE){myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ ("auto") +" "+ ("auto") +")";} whichOpen=myName; } function MFXopenMenuS(myName){ myStep=mySpeed; if(NN&&!thereS&&!(first==lastMain)){ if(myLayer[first+2].top+myStep>mySlide[first+1]){ myStep=mySlide[first+1]-myLayer[first+2].top; } for(i=first+2; i<myLayer.length; i+=2){ myLayer[i].top+=myStep; } if(myLayer[first+2].top==mySlide[first+1]){ MFXstopOpenS(first) } if(running)setTimeout('MFXopenMenuS(first)',10); } if(IE&&!thereS&&!(first==lastMain)){ if(myLayer[first+2].pixelTop+myStep>mySlide[first+1]){ myStep=mySlide[first+1]-myLayer[first+2].pixelTop; } for(i=first+2; i<myLayer.length; i+=2){ myLayer[i].pixelTop+=myStep; } if(myLayer[first+2].pixelTop==mySlide[first+1]){ MFXstopOpenS(first) } if(running)setTimeout('MFXopenMenuS(first)',10); } } function MFXopenMenuC(myName){ myStep=mySpeed; if(NN&&!thereC){ if ((myLayer[first+1].clip.height+myStep)>myHeight[first+1]){ myLayer[first+1].clip.height=myHeight[first+1] } if(myLayer[first+1].clip.height==myHeight[first+1]){ thereC=true; whichOpen=first; MFXstopOpenS(first)
}else{ myLayer[first+1].clip.height+=myStep;
} if(running)setTimeout('MFXopenMenuC(first)',10); } if(IE&&!thereC){ ieStep+=myStep; myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (ieStep) +" "+ ("auto") +")";
if(ieStep>=myHeight[first+1]){ thereC=true; whichOpen=first; MFXstopOpenS(first) } if(running)setTimeout('MFXopenMenuC(first)',10); } } function MFXcloseMenuS(myName){ myStep=mySpeed; if(NN&&!thereCS&&!(second==lastMain)){ if(myLayer[second+2].top-myStep<myTop[second+2]){ myStep=myLayer[second+2].top-myTop[second+2]; } for(i=second+2; i<myLayer.length; i+=2){ myLayer[i].top-=myStep;
} if(myLayer[second+2].top==myTop[second+2]){ MFXstopCloseS(second); } if(running)setTimeout('MFXcloseMenuS(second)',10); } if(IE&&!thereCS&&!(second==lastMain)){ if(myLayer[second+2].pixelTop-myStep<myTop[second+2]){ myStep=myLayer[second+2].pixelTop-myTop[second+2]; } for(i=second+2; i<myLayer.length; i+=2){ myLayer[i].pixelTop-=myStep;
} if(myLayer[second+2].pixelTop==myTop[second+2]){ MFXstopCloseS(second); } if(running)setTimeout('MFXcloseMenuS(second)',10); } } function MFXcloseMenuC(myName){ myStep=-mySpeed; ieStep1-=mySpeed; if(NN&&!thereCC){ if ((myLayer[second+1].clip.bottom+myStep)<0){ myLayer[second+1].clip.bottom=0; } if(myLayer[second+1].clip.bottom==0){ thereCC=true;
if(second==lastMain)MFXstopCloseS(second); }else{ myLayer[second+1].clip.bottom+=myStep;
} if(running)setTimeout('MFXcloseMenuC(second)',10); } if(IE&&!thereCC){ if(ieStep1<=0){ myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (0) +" "+ ("auto") +")"; thereCC=true; if(second==lastMain)MFXstopCloseS(second); }else{ myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (ieStep1) +" "+ ("auto") +")";
} if(running)setTimeout('MFXcloseMenuC(second)',10); } } //--> </script> <link rel="stylesheet" type="text/css" href="Help.css"> <base target="MainFrame">
</HEAD> <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 background="image/MainBG.gif"> <BODY onLoad="MFXinitMenu()" topmargin="0" leftmargin="0" bgcolor="#657896">
<!-- Design by Chenxy --> <div align="center"> <TABLE WIDTH=1024 BORDER=0 CELLPADDING=0 CELLSPACING=0 style="border-collapse: collapse" bordercolor="#111111" height="765"> <TR> <TD COLSPAN=3 width="265" height="72" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="265" id="TitleLeft" height="72"> <tr> <td valign="top"> <P ALIGN="left"> <IMG SRC="image/TitleLeft.gif" WIDTH=265 HEIGHT=72 ALT=""></td> </tr> </table> </TD> <TD id=TitleMiddle COLSPAN=2 width="759" height="72" valign="top" background="image/TitleMiddle.gif"> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse" BORDERCOLOR="#111111" WIDTH="100%" ID="AutoNumber6" HEIGHT="100%"> <TR> <TD WIDTH="85%" HEIGHT="34">PhotoManager 中文帮助系统</TD> <TD WIDTH="16%" HEIGHT="34" VALIGN="middle"> <script language=javascript> doSelect() </script> </TD>
</TR> </TABLE> </TD> </TR> <TR> <TD width="226" height="671" valign="top" background="image/LeftPanel.gif"> </TD> <TD background="image/LeftPanel2.gif" valign="top" width="12" height="667"> </TD> <TD COLSPAN=3 width="786" height="667" valign="top"> <iframe name="MainFrame" src="MainFrame.htm" target="rbottom" height="100%" width="100%" border="0" frameborder="0"> </iframe></TD> </TR> <TR> <TD COLSPAN=2 width="238" height="25"> <IMG SRC="image/FrameBottomLeft.gif" WIDTH=238 HEIGHT=25 ALT=""></TD> <TD COLSPAN=2 width="773" height="25" background="image/FrameBottomMiddle.gif"> <p align="center" style="margin-top: 4; margin-bottom: 0"><font size="2" color="#FFFFFF" face="Arial"> Copyright © 1999-2002 Thalia Image Technology Co.,Ltd</font></TD> <TD width="15" height="25"> <IMG SRC="image/FrameBottomRight.gif" WIDTH=15 HEIGHT=25 ALT=""></TD> </TR> <TR> <TD width="226" height="1"> <IMG SRC="image/spacer.gif" WIDTH=226 HEIGHT=1 ALT=""></TD> <TD width="12" height="1"> <IMG SRC="image/spacer.gif" WIDTH=12 HEIGHT=1 ALT=""></TD> <TD width="27" height="1"> <IMG SRC="image/spacer.gif" WIDTH=27 HEIGHT=1 ALT=""></TD> <TD width="746" height="1"> <IMG SRC="image/spacer.gif" WIDTH=720 HEIGHT=1 ALT=""></TD> <TD width="15" height="1"> <IMG SRC="image/spacer.gif" WIDTH=15 HEIGHT=1 ALT=""></TD> </TR> </TABLE> </DIV> <!-- Design by Chenxy (以上是整个页面的布局)-->
<!--以下的自动滚动图层是左边的菜单(LeftMenu)--> <!--自动滚动的图层_Begin,将下面的Tablen改为DIV即可成为自动滚动的图层--> <DIV id=floater style="position: absolute; top:75; left:6; width: 224; height: 200"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="220" id="AutoNumber2" height="300" bgcolor=""> <tr> <td height="300" valign="top"> <!--Begin Menu 1--> <DIV id="MFX1_1" style="position:absolute; width:220; height:25; z-index:2; left:0; top: 0; visibility: hidden"> <table border="0" cellpadding="0" cellspacing="0" width="220" id="AutoNumber1" height="25" style="border-collapse:collapse; cursor:hand" onClick="MFXrunMenu(0,5)" bordercolor="#111111" style="border-collapse: collapse"> <tr> <td height="20" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> <p align="center"> <img border="0" src="image/MenuTitle_L.gif" width="11" height="25"></td> <th background="image/MenuTitle_M.gif" height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="186"> <p align="center" style="margin-top: 0; margin-bottom: 0"> <font size="2" color="#FFFFFF">关于相册小管家</font></th> <td width="25" height="20" valign="top"><onfocus=this.blur() a href="#" class="c215DC6"> <img src="image/MenuTitleBT_Right.gif" width="25" height="25" border="0" name=img1></a></td> </tr> </table> </DIV> <DIV id="MFX1_2" style="position:absolute; width:220; height:89; z-index:1; left:0; top: 24; visibility:hidden"> <div align="center"> <table width="220" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" height="1"> <tr> <td width="156" bgcolor="#E8EBF0" height="61" colspan="3" style="background-image: url(''); background-repeat: no-repeat; background-position: right bottom" valign="top"> <table border="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#243859" width="220" id="AutoNumber5" cellpadding="0" height="59"> <tr> <td height="59" valign="top"> <iframe name="Menu1" target="MainFrame" marginwidth="1" marginheight="1" height="65" width="218" src="Menu/AboutManageMenu.htm" border="0" frameborder="0" scrolling="no"></iframe> </td> </tr> </table> </td> </tr> <tr> <td width="1" height="12" valign="top"> <img border="0" src="image/MenuBottom_L.gif" width="11" height="9"></td> <td width="192" height="12" style="background-image: url('image/MenuBottom_M.gif'); background-repeat: repeat-x; background-position-y: top"></td> <td width="15" height="12" valign="top"> <img border="0" src="image/MenuBottom_R.gif" width="20" height="9"></td> </tr> </table> </div> </DIV><!--End Menu 1-->
<!--Begin Menu 2--> <DIV id="MFX2_1" style="position:absolute; width:220; height:45; z-index:2; left:0; top: 111; visibility: hidden"> <table border="0" cellpadding="0" cellspacing="0" width="220" id="AutoNumber1" height="25" style="border-collapse:collapse; cursor:hand" onClick="MFXrunMenu(2,10)" bordercolor="#111111" style="border-collapse: collapse"> <tr> <td height="20" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> </td> <th style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top"> </th> <td width="25" height="20" valign="top"> </td> </tr> <tr> <td height="20" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> <p align="center"> <img border="0" src="image/MenuTitle_L.gif" width="11" height="25"></td> <th background="image/MenuTitle_M.gif" height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="186" valign="middle"> <p align="center" style="margin-top: 0; margin-bottom: 0"> <font size="2" color="#FFFFFF">照片管理</font></th> <td width="25" height="20" valign="top"><onfocus=this.blur() a href="#" class="c215DC6"> <img src="image/MenuTitleBT_Right.gif" width="25" height="25" border="0" name=img2></a></td> </tr> </table> </DIV> <DIV id="MFX2_2" style="position:absolute; width:220; height:246; z-index:1; left:0; top: 155; visibility: hidden"> <div align="center"> <table width="220" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" height="44"> <tr> <td width="156" bgcolor="#E8EBF0" height="165" colspan="3" style="background-image: url('image/MP_Icon.jpg'); background-repeat: no-repeat; background-position: right bottom" valign="top"> <table border="1" cellspacing="0" bordercolor="#243859" width="220" id="AutoNumber3" height="83" cellpadding="0" style="border-collapse: collapse"> <tr> <td height="83" valign="top"> <iframe name="Menu2" target="MainFrame" height="225" width="218" border="0" frameborder="0" src="Menu/PhotoManageMenu.htm"> </iframe></td> </tr> </table> </td> </tr> <tr> <td width="1" height="1" valign="top"> <img border="0" src="image/MenuBottom_L.gif" width="11" height="9"></td> <td width="192" height="1" style="background-image: url('image/MenuBottom_M.gif'); background-repeat: repeat-x; background-position-y: top"></td> <td width="15" height="1" valign="top"> <img border="0" src="image/MenuBottom_R.gif" width="20" height="9"></td> </tr> </table> </div> </DIV><!--End Menu 2--> <!--Begin Menu 3--> <DIV id="MFX3_1" style="position:absolute; width:220; height:45; z-index:2; left:0; top: 400; visibility: hidden"> <table border="0" cellpadding="0" cellspacing="0" width="220" id="AutoNumber1" height="45" style="border-collapse:collapse; cursor:hand" onClick="MFXrunMenu(4,8)" bordercolor="#111111" style="border-collapse: collapse"> <tr> <td height="20" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> </td> <th style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" height="20"> </th> <td width="25" height="20" valign="top"> </td> </tr> <tr> <td height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> <p align="center"> <img border="0" src="image/MenuTitle_L.gif" width="11" height="25"></td> <th background="image/MenuTitle_M.gif" height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="186" valign="middle"> <p align="center" style="margin-top: 0; margin-bottom: 0"> <font size="2" color="#FFFFFF">相册管理</font></b></th> <td width="25" height="25" valign="top"><onfocus=this.blur() a href="#" class="c215DC6"> <img src="image/MenuTitleBT_Right.gif" width="25" height="25" border="0" name=img3></a></td> </tr> </table> </DIV> <DIV id="MFX3_2" style="position:absolute; width:220; height:225; z-index:1; left:0; top: 445; visibility: hidden"> <div align="center"> <table width="220" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" height="1"> <tr> <td width="156" bgcolor="#E8EBF0" height="122" colspan="3" style="background-image: url(''); background-repeat: no-repeat; background-position: right bottom" valign="top"> <table border="1" cellspacing="0" bordercolor="#243859" width="220" id="AutoNumber4" height="100%" cellpadding="0" style="border-collapse: collapse"> <tr> <td height="121" valign="top"> <iframe name="Menu3" target="MainFrame" marginwidth="1" marginheight="1" height="204" width="218" src="Menu/AlbumManageMenu.htm" border="0" frameborder="0" scrolling="no"></iframe> </td> </tr> </table> </td> </tr> <tr> <td width="1" height="1" valign="top"> <img border="0" src="image/MenuBottom_L.gif" width="11" height="9"></td> <td width="192" height="1" style="background-image: url('image/MenuBottom_M.gif'); background-repeat: repeat-x; background-position-y: top"></td> <td width="15" height="1" valign="top"> <img border="0" src="image/MenuBottom_R.gif" width="20" height="9"></td> </tr> </table> </div> </DIV><!--End Menu 3-->
<!--Begin Menu 4--> <DIV id="MFX4_1" style="position:absolute; width:220; height:45; z-index:2; left:0; top: 669; visibility: hidden"> <table border="0" cellpadding="0" cellspacing="0" width="220" id="AutoNumber1" height="45" style="border-collapse:collapse; cursor:hand" onClick="MFXrunMenu(6,5)" bordercolor="#111111" style="border-collapse: collapse"> <tr> <td height="20" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> </td> <th style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" height="20"> </th> <td width="25" height="20" valign="top"> </td> </tr> <tr> <td height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> <p align="center"> <img border="0" src="image/MenuTitle_L.gif" width="11" height="25"></td> <th background="image/MenuTitle_M.gif" height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="186" valign="middle"> <p align="center" style="margin-top: 0; margin-bottom: 0"> <font size="2" color="#FFFFFF">桌面管理</font></th> <td width="25" height="25" valign="top"><onfocus=this.blur() a href="#" class="c215DC6"> <img src="image/MenuTitleBT_Right.gif" width="25" height="25" border="0" name=img4></a></td> </tr> </table> </DIV> <DIV id="MFX4_2" style="position:absolute; width:220; height:87; z-index:1; left:0; top: 713; visibility: hidden"> <div align="center"> <table width="220" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" height="1"> <tr> <td width="156" bgcolor="#E8EBF0" height="62" colspan="3" style="background-image: url(''); background-repeat: no-repeat; background-position: right bottom" valign="top"> <table border="1" cellspacing="0" bordercolor="#243859" width="220" id="AutoNumber4" height="71" cellpadding="0" style="border-collapse: collapse"> <tr> <td height="71" valign="top"> <iframe name="I1" target="MainFrame" marginwidth="1" marginheight="1" height="65" width="218" src="Menu/DesktopManageMenu.htm" border="0" frameborder="0" scrolling="no"></iframe> </td> </tr> </table> </td> </tr> <tr> <td width="1" height="1" valign="top"> <img border="0" src="image/MenuBottom_L.gif" width="11" height="9"></td> <td width="192" height="1" style="background-image: url('image/MenuBottom_M.gif'); background-repeat: repeat-x; background-position-y: top"></td> <td width="15" height="1" valign="top"> <img border="0" src="image/MenuBottom_R.gif" width="20" height="9"></td> </tr> </table> </div> </DIV><!--End Menu 4-->
<!--Begin Menu 5--> <DIV id="MFX5_1" style="position:absolute; width:220; height:45; z-index:2; left:0; top: 799; visibility: hidden"> <table border="0" cellpadding="0" cellspacing="0" width="220" id="AutoNumber1" height="45" style="border-collapse:collapse; cursor:hand" onClick="MFXrunMenu(8,5)" bordercolor="#111111" style="border-collapse: collapse"> <tr> <td height="20" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> </td> <th style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" height="20"> </th> <td width="25" height="20" valign="top"> </td> </tr> <tr> <td height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> <p align="center"> <img border="0" src="image/MenuTitle_L.gif" width="11" height="25"></td> <th background="image/MenuTitle_M.gif" height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="186" valign="middle"> <p align="center" style="margin-top: 0; margin-bottom: 0"> <font size="2" color="#FFFFFF">信息管理</font></th> <td width="25" height="25" valign="top"><onfocus=this.blur() a href="#" class="c215DC6"> <img src="image/MenuTitleBT_Right.gif" width="25" height="25" border="0" name=img4></a></td> </tr> </table> </DIV> <DIV id="MFX5_2" style="position:absolute; width:220; height:127; z-index:1; left:0; top: 841; visibility: hidden"> <div align="center"> <table width="220" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" height="1"> <tr> <td width="156" bgcolor="#E8EBF0" height="62" colspan="3" style="background-image: url(''); background-repeat: no-repeat; background-position: right bottom" valign="top"> <table border="1" cellspacing="0" bordercolor="#243859" width="220" id="AutoNumber4" height="77" cellpadding="0" style="border-collapse: collapse"> <tr> <td height="77" valign="top"> <iframe name="I1" target="MainFrame" marginwidth="1" marginheight="1" height="106" width="218" src="Menu/InfoManageMenu.htm" border="0" frameborder="0" scrolling="no"></iframe> </td> </tr> </table> </td> </tr> <tr> <td width="1" height="1" valign="top"> <img border="0" src="image/MenuBottom_L.gif" width="11" height="9"></td> <td width="192" height="1" style="background-image: url('image/MenuBottom_M.gif'); background-repeat: repeat-x; background-position-y: top"></td> <td width="15" height="1" valign="top"> <img border="0" src="image/MenuBottom_R.gif" width="20" height="9"></td> </tr> </table> </div> </DIV><!--End Menu 5-->
<!--Begin Menu 6--> <DIV id="MFX6_1" style="position:absolute; width:220; height:45; z-index:2; left:0; top: 967; visibility: hidden"> <table border="0" cellpadding="0" cellspacing="0" width="220" id="AutoNumber1" height="45" style="border-collapse:collapse; cursor:hand" onClick="MFXrunMenu(10,5)" bordercolor="#111111" style="border-collapse: collapse"> <tr> <td height="20" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> </td> <th style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" height="20"> </th> <td width="25" height="20" valign="top"> </td> </tr> <tr> <td height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> <p align="center"> <img border="0" src="image/MenuTitle_L.gif" width="11" height="25"></td> <th background="image/MenuTitle_M.gif" height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="186" valign="middle"> <p align="center" style="margin-top: 0; margin-bottom: 0"> 迷你修描</th> <td width="25" height="25" valign="top"><onfocus=this.blur() a href="#" class="c215DC6"> <img src="image/MenuTitleBT_Right.gif" width="25" height="25" border="0" name=img4></a></td> </tr> </table> </DIV> <DIV id="MFX6_2" style="position:absolute; width:220; height:86; z-index:1; left:0; top: 1011; visibility: hidden"> <div align="center"> <table width="220" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" height="1"> <tr> <td width="156" bgcolor="#E8EBF0" height="62" colspan="3" style="background-image: url(''); background-repeat: no-repeat; background-position: right bottom" valign="top"> <table border="1" cellspacing="0" bordercolor="#243859" width="220" id="AutoNumber4" height="71" cellpadding="0" style="border-collapse: collapse"> <tr> <td height="71" valign="top"> <iframe name="I1" target="MainFrame" marginwidth="1" marginheight="1" height="65" width="218" src="Menu/RetouchMenu.htm" border="0" frameborder="0" scrolling="no"></iframe> </td> </tr> </table> </td> </tr> <tr> <td width="1" height="1" valign="top"> <img border="0" src="image/MenuBottom_L.gif" width="11" height="9"></td> <td width="192" height="1" style="background-image: url('image/MenuBottom_M.gif'); background-repeat: repeat-x; background-position-y: top"></td> <td width="15" height="1" valign="top"> <img border="0" src="image/MenuBottom_R.gif" width="20" height="9"></td> </tr> </table> </div> </DIV><!--End Menu 6-->
<!--Begin Menu 7--> <DIV id="MFX7_1" style="position:absolute; width:220; height:45; z-index:2; left:0; top: 1097; visibility: hidden"> <table border="0" cellpadding="0" cellspacing="0" width="220" id="AutoNumber1" height="45" style="border-collapse:collapse; cursor:hand" onClick="MFXrunMenu(12,5)" bordercolor="#111111" style="border-collapse: collapse"> <tr> <td height="20" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> </td> <th style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" height="20"> </th> <td width="25" height="20" valign="top"> </td> </tr> <tr> <td height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="11"> <p align="center"> <img border="0" src="image/MenuTitle_L.gif" width="11" height="25"></td> <th background="image/MenuTitle_M.gif" height="25" style="background-repeat: repeat-x; background-attachment: fixed; background-position-y: top" width="186" valign="middle"> <p align="center" style="margin-top: 0; margin-bottom: 0"> 技术支持</th> <td width="25" height="25" valign="top"><onfocus=this.blur() a href="#" class="c215DC6"> <img src="image/MenuTitleBT_Right.gif" width="25" height="25" border="0" name=img4></a></td> </tr> </table> </DIV> <DIV id="MFX7_2" style="position:absolute; width:220; height:86; z-index:1; left:0; top: 1140; visibility: hidden"> <div align="center"> <table width="220" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" height="1"> <tr> <td width="156" bgcolor="#E8EBF0" height="62" colspan="3" style="background-image: url(''); background-repeat: no-repeat; background-position: right bottom" valign="top"> <table border="1" cellspacing="0" bordercolor="#243859" width="220" id="AutoNumber4" height="71" cellpadding="0" style="border-collapse: collapse"> <tr> <td height="71" valign="top"> <iframe name="I1" target="MainFrame" marginwidth="1" marginheight="1" height="65" width="218" src="Menu/SupportMenu.htm" border="0" frameborder="0" scrolling="no"></iframe> </td> </tr> </table> </td> </tr> <tr> <td width="1" height="1" valign="top"> <img border="0" src="image/MenuBottom_L.gif" width="11" height="9"></td> <td width="192" height="1" style="background-image: url('image/MenuBottom_M.gif'); background-repeat: repeat-x; background-position-y: top"></td> <td width="15" height="1" valign="top"> <img border="0" src="image/MenuBottom_R.gif" width="20" height="9"></td> </tr> </table> </div> </DIV><!--End Menu 7-->
</td> </tr> </table> </DIV><!--自动滚动的图层_End-->
</BODY> </HTML>
编辑历史:[此帖最近一次被 allinhands 编辑过(编辑时间:2004-05-11 11:38:21)]
|
 我佛山人
职务:版主
等级:4
金币:16.0
发贴:2269
注册:2002/8/7 15:09:27
|
#82002/12/6 0:13:51
我倒~~~合成一个再看看
|
 chenxy
职务:普通成员
等级:1
金币:1.0
发贴:75
注册:2001/9/12 18:08:47
|
#92002/12/6 10:24:41
我将
合成一个仍是不行。 将onLoad="MFXinitMenu()" 改成onLoad="MFXrunMenu(0,5)" 会提示whichOpen=1出错, 再请大家帮帮我。 非常感谢!!
|