?? all.js
字號:
{
var ls=stgstlay(i);
ls[n].parentLayer.bgColor=ibdc[n];
ls[n].visibility="show";
ls[1-n].visibility="hide";
}
else
{
var o=stglay(i);
var s=o.style;
if(nIEM)
{
if(ibgd[0]!=ibgd[1]) s.background=ibgd[n];
}
else
{
if(ibgc[0]!=ibgc[1])
{
if(nOP&&nVER<6)
s.background=ibgc[n];
else
s.backgroundColor=ibgc[n];
}
if(ibgi[0]!=ibgi[1]) s.backgroundImage="url("+(ibgi[n]?ibgi[n]:stgme(i).mbnk)+")";
if(ibgr[0]!=ibgr[1]) s.backgroundRepeat=ibgr[n];
}
if(ibdc[0]!=ibdc[1]) s.borderColor=ibdc[n];
var t;
if(iicn[0]!=iicn[1])
{
t=nIE?o.all[ids+"ICON"]:stgobj(ids+"ICON");
if(t) t.src=iicn[n];
}
if(iarr[0]!=iarr[1])
{
t=nIE?o.all[ids+"ARROW"]:stgobj(ids+"ARROW");
if(t) t.src=iarr[n];
}
if(ityp==2&&iimg[0]!=iimg[1])
{
t=nIE?o.all[ids+"IMG"]:stgobj(ids+"IMG");
if(t) t.src=iimg[n];
}
if(!i.txstyle) i.txstyle=(nIE?o.all[ids+"TX"]:stgobj(ids+"TX")).style;
t=txstyle;
if(itxf[0]!=itxf[1])
t.font=itxf[n];
if(itxd[0]!=itxd[1])
t.textDecoration=itxd[n];
if(nOP) stgobj(ids+"MTD").style.color=itxc[n];
else t.color=itxc[n];
}
}
function stshpp(p)
{
stshow(p);
}
function sthdpp(p)
{
if(p.citi>=0)
{
var t=p.is[p.citi].sub;
if(t&&t.issh)
sthdpp(t);
stshst(p.is[p.citi],0);
p.citi=-1;
}
sthide(p);
}
function stshit(i)
{
var w=stgme(i).tfrm,p=stgtsub(i);
if(p&&!p.issh)
w.stshpp(p);
stshst(i,1);
}
function sthdit(i)
{
var w=stgme(i).tfrm,p=stgtsub(i);
if(p&&p.issh)
w.sthdpp(p);
stshst(i,0);
}
function stshow(p)
{
var d=p.ppi&&stgpar(p.par).pver?stgme(p).msdv:stgme(p).msdh;
p.exed=0;
if(!p.rc)
stgxy(p);
if(p.tmid)
{
clearTimeout(p.tmid);
p.tmid=0;
stwels(1,p)
}
if(d>0)
p.tmid=setTimeout(stsdstr(p,1),d);
p.issh=1;
if(d<=0)
eval(stsdstr(p,1));
}
function sthide(p)
{
if(p.tmid)
{
clearTimeout(p.tmid);
p.tmid=0;
}
if(p.issh&&!p.exed)
{
p.exed=0;
p.issh=0;
}
else
{
p.exed=0;
p.issh=0;
eval(stsdstr(p,0));
}
}
function stshx(p)
{
var l=stglay(p);
if(nNN4)
{
l.visibility="show";
if(!p.fixed)
{
l.resizeBy(p.ipbw*2,p.ipbw*2);
l=l.document.layers[0];
l.moveTo(p.ipbw,p.ipbw);
l.onmouseover=stppovn;
l.onmouseout=stppoun;
for(var j=p.is.length-1;j>=0;--j)
{
var i=p.is[j];
if(i.ityp!=6)
{
var ls=stgstlay(i);
if(i.ityp!=1||i.iurl)
ls[2].resizeTo(ls[0].parentLayer.clip.width,ls[0].parentLayer.clip.height);
if(i.iurl)
{
with(ls[2].document)
{
open();
write("<A "+stgurl(i,0)+"><IMG BORDER=0 SRC='"+stgme(i).mbnk+"' WIDTH="+ls[2].clip.width+" HEIGHT="+ls[2].clip.height+"></A>");
close();
}
}
ls[0].resizeBy(-i.ipbw,-i.ipbw);
ls[1].resizeBy(-i.ipbw,-i.ipbw);
l=stglay(i).document.layers[0];
l.onmouseover=stitovn;
l.onmouseout=stitoun;
l.onclick=stitckn;
}
}
if(p.ipbw)
setTimeout("var p=st_ms["+p.mei+"].ps["+p.ppi+"];stglay(p).bgColor=p.pbdc;",1);
p.fixed=1;
}
}
else
{
l.style.visibility="visible";
if(nIE5)
l.filters["Alpha"].opacity=p.popc;
}
}
function sthdx(p)
{
var l=stglay(p);
if(nNN4)
l.visibility="hide";
else
{
if(nIE5)
l.filters["Alpha"].opacity=0;
l.style.visibility="hidden";
}
}
function sthdall(m,f)
{
var w=m.sfrm,s=w==window?m:w.stmenu(m.mnam),p=s.ps[0];
if(s.hdid)
{
w.clearTimeout(s.hdid);
s.hdid=0;
}
s.cked=0;
if(p.issh)
{
if(p.citi>=0)
{
w.sthdit(p.is[p.citi]);
p.citi=-1;
}
if(s.mtyp==2&&(f||stAHCM))
w.sthide(p);
}
}
function stcls()
{
for(var i=st_ms.length-1;i>=0;--i)
sthdall(st_ms[i],0);
}
function stnmsh(p)
{
stmvto(stgxy(p),p);
stwels(-1,p);
stshx(p);
}
function stnmhd(p)
{
sthdx(p);
stwels(1,p);
}
function stftsh(p)
{
if(nVER<5.5)
stshfx(p);
else if(st_reg)
eval("try{stshfx(p);}catch(e){st_reg=0;stnmsh(p);}");
else
stnmsh(p);
}
function stfthd(p)
{
if(nVER<5.5)
sthdfx(p);
else if(st_reg)
eval("try{sthdfx(p);}catch(e){st_reg=0;stnmhd(p);}");
else
stnmhd(p);
}
function stshfx(p)
{
var t=stglay(p).filters[0];
if(nVER>=5.5)
t.enabled=1;
if(t.Status)
t.stop();
stmvto(stgxy(p),p);
stwels(-1,p);
t.apply();
stshx(p);
t.play();
}
function sthdfx(p)
{
var t=stglay(p).filters[stglay(p).filters.length-1];
if(nVER>=5.5)
t.enabled=1;
if(t.Status)
t.stop();
t.apply();
sthdx(p);
stwels(1,p);
t.play();
}
function ststxy(m,xy)
{
m.mcox=xy[0];
m.mcoy=xy[1];
}
function stnav()
{
var v=navigator.appVersion,a=navigator.userAgent;
nMAC=v.indexOf("Mac")>=0;
nOP=a.indexOf("Opera")>=0;
if(nOP)
{
nVER=parseFloat(a.substring(Math.max(a.indexOf("Opera/"),a.indexOf("Opera "))+6,a.length));
nOP5=nVER>=5.12;
}
else
{
nIE=document.all?1:0;
if(nIE)
{
nIE4=(eval(v.substring(0,1)>=4));
nVER=parseFloat(a.substring(a.indexOf("MSIE ")+5,a.length));
nIE5=nVER>=5&&nVER<5.5&&!nMAC;
nIEM=nIE4&&nMAC;
nIEW=nIE4&&!nMAC;
}
else
{
nNN4=navigator.appName.toLowerCase()=="netscape"&&v.substring(0,1)=="4";
if(!nNN4)
{
nNN6=(document.getElementsByTagName("*")&&a.indexOf("Gecko")!=-1);
if(nNN6)
{
nVER=parseInt(navigator.productSub);
if(a.indexOf("Netscape")>=0)
{
st_delb=nVER<20001108+1;
st_addb=nVER>20020512-1;
}
else
{
st_delb=nVER<20010628+1;
st_addb=nVER>20011221-1;
}
}
}
else
nVER=parseFloat(v);
nNN=nNN4||nNN6;
}
}
nDM=nOP5||nIE4||nNN;
}
function stckpg()
{
var w=st_cw,h=st_ch,l=st_cl,t=st_ct;
st_cw=stgcw();
st_ch=stgch();
st_cl=stgcl();
st_ct=stgct();
if((st_cw-w||st_ch-h)&&(nOP&&nVER<7||nNN4))
document.location.reload();
else if((st_cl-l||st_ct-t)&&!nIE)
stscr();
else if(stAHWR&&(st_cw-w||st_ch-h))
stcls();
}
function st_onload()
{
if(st_load) return;
if(nIEM||nOP5||nNN||(nIEW&&nVER<5))
{
if(st_ht)
document.body.insertAdjacentHTML("BeforeEnd",st_ht);
for(var j=0;j<st_ms.length;++j)
stpre(st_ms[j]);
}
st_load=1;
if(st_old)
{
st_old();
st_old=0;
}
for(var j=0;j<st_ms.length;++j)
{
var m=st_ms[j];
for(var k=0;k<m.ps.length;++k)
{
var p=m.ps[k];
if(p.issh&&p.exed)
stwels(-1,p);
}
}
}
function stpre(m)
{
var p=m.ps[m.ps.length-1],i=p.is[p.is.length-1];
while(1)
if(stglay(i)) break;
if(!nNN4)
stfix(m);
if(m.mtyp!=2)
stshow(m.ps[0]);
if(nIE)
onscroll=new Function("if(st_scr)clearTimeout(st_scr);st_scr=setTimeout('stscr();',500);");
if(!st_rl)
{
st_cw=stgcw();
st_ch=stgch();
st_cl=stgcl();
st_ct=stgct();
st_rl=setInterval("stckpg();",500);
}
m.ready=1;
}
function stfix(m)
{
for(var j=0;j<m.ps.length;++j)
{
var p=m.ps[j];
if(!p.isst&&(nOP&&nVER>=7||nNN6))
{
var l=stglay(p);
l.style.left="0px";
l.style.top="0px";
document.body.appendChild(l);
}
if(nOP&&nVER<6)
stglay(p).style.pixelWidth=parseInt(stgobj(p.ids+"TB").style.pixelWidth);
if(nIE5)
stglay(p).style.width=stglay(p).offsetWidth;
else if(nIEM||!nIE)
{
if(!p.pver)
{
var f=stgobj(p.ids+0),h=parseInt(nOP&&nVER<7?f.style.pixelHeight:f.offsetHeight);
if(h)
{
h-=2*p.pspc;
for(var k=0;k<p.is.length;++k)
{
var i=p.is[k];
with(stglay(i).style)
if(nOP)
pixelHeight=nVER<7||i.ityp==6?h:h-2*p.ppad-2*i.ipbw;
else if(i.ityp==6||nIE)
height=h+"px";
else
height=h-2*i.ipbw+"px";
if(nIEM)
{
var l=stgobj(i.ids+"LTD"),r=stgobj(i.ids+"RTD");
if(l)
l.style.height=h+"px";
stgobj(i.ids+"MTD").style.height=h+"px";
if(r)
r.style.height=h+"px";
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -