📄 index.aspx
字号:
<tr>
<td height=20>
<img src=../../Lib/Images/icon_course.gif align="absmiddle" border="0" width="16" height="16" alt="JS调用"><a href="ForJS.aspx" target="main"> JS调用</a>
</td>
</tr>
<tr>
<td height=20><!--spacer--></td>
</tr>
</table>
</div></td>
</tr>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center class="menu">
<tr style="cursor:hand;">
<td height=25 class=menu_title background=../../Lib/Images/title_bg_hide.gif id=menuTitle4 class="menu">
<span>系统信息</span> </td>
</tr>
<tr>
<td> <div class=sec_menu id=menu4>
<table cellpadding=0 cellspacing=0 align=center width=135 style="position:relative;top:10px;">
<tr>
<td height=20>
<img src=../../Lib/Images/icon_course.gif align="absmiddle" border="0" width="16" height="16" alt="系统说明"><a href="AboutLB.aspx" target="main"> 系统说明</a>
</td>
</tr>
<tr>
<td height=20>
<img src=../../Lib/Images/icon_course.gif align="absmiddle" border="0" width="16" height="16" alt="支持论坛"><a href="http://www.lbnow.com/bbs" target="_Blank"> 支持论坛</a>
</td>
</tr>
<tr>
<td height=20><!--spacer--></td>
</tr>
</table>
</div></td>
</tr>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center class="menu">
<tr style="cursor:hand;">
<td height=25 class=menu_title background=../../Lib/Images/title_bg_hide.gif id=menuTitle2 class="menu">
<span>用户信息</span> </td>
</tr>
<tr>
<td> <div class=sec_menu id=menu2>
<table cellpadding=2 cellspacing=0 align=center width=135 style="position:relative;top:10px;">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="3" align="center">
<tr>
<td align="center">帐号:<input type="text" name="username" id="formstyle12" size="20">
</td>
</tr>
<tr>
<td align="center">密码:<input type="password" name="Password" id="formstyle12" size="20">
</td>
</tr>
<tr align="center">
<td colspan="2">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center">日期:2004-10-31
</td>
</tr>
<tr>
<td align="center">版本:Ver 1.0Beta
</td>
</tr>
<tr>
<td height=20></td>
</tr>
</table>
</div></td>
</tr>
</table>
<!---------主菜单结束-------------->
</td></tr></table>
<!--Start XP Style Menu-->
<SCRIPT LANGUAGE="Javascript" DEFER="TRUE">
<!--
var menuinit=new Array(50),vers;//(don't change this)
for(i=0;i<51;i++)menuinit[i]=new Array(3);//(don't change this)
////////////////////////////////////////////////////////////////////////////////////////
//
vers="XP Style Menu SP2(V2002.12.10.1452 NEW_CORE_DEV_BETA build 69)";
//
//Improved by: swnet(swnet@263.net)
//Original by: Zhong Zhong
//
//Note: best work with MS IE5/6, also looks fine on Netscape/Mozilla but without
// visualized effect.
//
//*THIS CODE IS UNDER GUN GPL LICENCE*
////////////////////////////////////Setting Section////////////////////////////////////
//
var onemenu = 0; //open one menu at same time.1 is yes, 0 is no. default=1.
var speedmout = 100; //menu show speed(1~100;default=50) *the large the fast, but also come with more bump.
var speedmin = 100; //menu hide speed(1~100;default=50)
var developversion = true; //when false block all script error if any.
//setting of which menu should be showen. In this example you have 4 menu, which you can switch between "show" and "not show"
//if you want to add extra one, you should follow this order: "menuinit[n][1]=;" (in [a][b], b must be '1', a is the serial number of menu)
menuinit[1][1]="show";
menuinit[2][1]="show";
menuinit[3][1]="show";
menuinit[4][1]="show";
menuinit[5][1]="show";
menuinit[6][1]="show";
menuinit[7][1]="show";
menuinit[8][1]="show";
////////////////////////!!!DO NOT CHANGE BELOW THIS LINE!!!!/////////////////////////////
//
var da=new Date();
var browser=new BrowserDetectLite();
var fstrun=1;
var op="";
var whichContinue="";
var whichOpen="";
var opp=0;
var opd=0;
var opc=0;
var sc=1;sd=1;
var mnunum=0;
var cacheObj,cacheMaxh,cacheObj2;
//----------------------------------------------------------------------------------------
function menuShow(obj,maxh,obj2)
{
var da=new Date();
if(fstrun==1){
op="show";
mountmfunc(0,0,0);
obj2.background="../../Lib/Images/title_bg_hide.gif";
obj.style.pixelHeight=2;
obj.style.display='block';
opc=6.18*(speedmout*0.01); //step length
opp=Math.round(opc); //rounded step length
opd=(maxh/opp)/100; //times
sc=1;sd=opd;
fstrun=0;
cacheObj=obj;cacheMaxh=maxh;cacheObj2=obj2;
}else{
if(op!="show") return false;
}
if(obj.style.pixelHeight<maxh-opp)
{
if(opd>1){//for slow speed
if(sd-sc<1){obj.filters.alpha.opacity+=1;sd+=opd;}
sc++;
}else{//for fast speed
obj.filters.alpha.opacity+=Math.ceil(1/opd);
}
obj.style.pixelHeight+=opp;
cacheObj=obj;cacheMaxh=maxh;cacheObj2=obj2;
setTimeout('menuShow(cacheObj,cacheMaxh,cacheObj2)','5');
}else{
obj.style.pixelHeight=maxh;
obj.filters.alpha.opacity=100;
fstrun=1;
op="";
sc=1;sd=1;
mountmfunc(1,1,1);
return true;
}
}
//----------------------------------------------------------------------------------------
function menuHide(obj,maxh,obj2)
{
da=new Date();
if(fstrun==1){
op="hide";
mountmfunc(0,0,0);
obj2.background="../../Lib/Images/title_bg_show.gif";
opc=6.18*(speedmout*0.01); //step length
opp=Math.round(opc);
opd=((maxh-3)/opp)/100;
sc=1;sd=opd;
fstrun=0;
cacheObj=obj;cacheMaxh=maxh;cacheObj2=obj2;
}else{
if(op!="hide") return false;
}
if(obj.style.pixelHeight-opp>1)
{
if(opd>1){
if(sd-sc<1){obj.filters.alpha.opacity-=1;sd+=opd;}
sc++;
}else{
obj.filters.alpha.opacity-=Math.ceil(1/opd)*0.38;
}
obj.style.pixelHeight-=opp;
setTimeout('menuHide(cacheObj,cacheMaxh,cacheObj2)','5');
}else{
obj.style.pixelHeight=1;
obj.style.display='none';
obj.filters.alpha.opacity=0;
fstrun=1;
op="";
sc=1;sd=1;
mountmfunc(1,1,1);
if(whichContinue && onemenu==1) whichContinue.click();
return true;
}
}
//----------------------------------------------------------------------------------------
function menuChange(obj,maxh,obj2)
{
if(obj.style.pixelHeight>1)
{
menuHide(obj,maxh,obj2);
whichOpen='';
}
else
if(whichOpen)
{
whichContinue=obj2;
whichOpen.click();
}
else
{
menuShow(obj,maxh,obj2);
if(onemenu==1)whichOpen=obj2;
whichContinue='';
}
}
//----------------------------------------------------------------------------------------
function mountmfunc(clk,mi,mo){
//var=1 mount, var=0 disable var=2 do nothing
//clk=mouse click function
//mi=mouse over function
//mo=mouse out function
if(clk==1){document.onclick=monclick;}else if(clk==0){document.onclick="return false;";}else{}
if(mi==1){document.onmousemove=monmouseover;}else if(mi==0){document.onmousemove="return false;";}else{}
if(mo==1){document.onmouseout=monmouseout;}else if(mo==0){document.onmouseout="return false;";}else{}
for(i=1;i<mnunum;i++){
eval("document.all.menuTitle"+i+".className='menu_title';");
}
}
//----------------------------------------------------------------------------------------
//[Public]
var regex=new RegExp("menuTitle\d*","i");
var regex1=new RegExp("[0-9]*$","i");
var boo=0;
//----------------------------------------------------------------------------------------
function monmouseover(){
if(event.srcElement.tagName!="TD" || boo==1) return false;
if(regex.test(event.srcElement.id)){
event.srcElement.className="menu_title2";
boo=1;
}
}
//----------------------------------------------------------------------------------------
function monmouseout(){
if(event.srcElement.tagName!="TD") return false;
if(regex.test(event.srcElement.id)){
event.srcElement.className="menu_title";
boo=0;
}
}
//----------------------------------------------------------------------------------------
function monclick(){
if(!browser.isIE5up || browser.isIE55) return true;
if(event.srcElement.tagName=="A") return true;
if(event.srcElement.tagName=="SPAN"){
if(regex.test(event.srcElement.parentNode.id)){
b=event.srcElement.parentNode.id.match(regex1);
codex="menuChange(menu" + b + "," + eval("menuinit[" + b + "][2]") + "," + event.srcElement.parentNode.id+ ")";
eval(codex);
}
}
if(regex.test(event.srcElement.id)){
b=event.srcElement.id.match(regex1);
codex="menuChange(menu" + b + "," + eval("menuinit[" + b + "][2]") + "," + event.srcElement.id+ ")";
eval(codex);
}
}
//----------------------------------------------------------------------------------------
function init(){
if (document.readyState!="complete") return false;
if(!browser.isIE5up || browser.isIE55) return false;
if(!developversion)window.onerror = function(){window.onerror = blockError;return true;};
var mccount=0;
var showornot;
reg=new RegExp("menu[0-9]{1,2}","i");
reg1=new RegExp("[0-9]*$","i");
for(i=0;i<document.all.length;i++){
if(reg.test(document.all[i].id)){
mnunum++;
s=document.all[i].id.match(reg1);
k=eval("document.all.menu" + s + ".children[0].offsetHeight"); //code to get the height
eval("menuinit[s][2]=k");
for(n=0;n<document.all[i].childNodes.length;n++){
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -