127、编程时文件上传

127、编程时文件上传

脚本说明:

把如下代码加入<body>区域中:

<DIV id=jh0

style="FONT-SIZE: 32pt; FILTER: shadow(color=gray,direction=270) alpha(opacity=50); VISIBILITY: hidden; WIDTH: 250px; COLOR: yellow; POSITION: absolute; TOP: 100px"><IMG

src="xiao-x.gif"></DIV>

<DIV id=jh1

style="FONT-SIZE: 16px; FILTER: glow(color=#0000ff,strength=1) shadow(color=gray,direction=90) alpha(opacity=50); VISIBILITY: hidden; WIDTH: 200px; COLOR: #aaaaff; POSITION: absolute; TOP: 160px">

</DIV>

<DIV id=jh2

style="FILTER: revealtrans(duration=2,transition=23); LEFT: 150px; VISIBILITY: hidden; POSITION: absolute; TOP: 130px"></div>

<SCRIPT language=javascript>

function Start(){s=1;t=100;jh0.style.visibility="visible";jh1.style.visibility="visible";Move1();}

function Move1(){jh0.style.left=s;jh1.style.left=600-s;s+=4;if(s<260)setTimeout("Move1()",50);else{s=1;jh0.style.filter="shadow(color=gray,direction=180) alpha(opacity=50)";jh1.style.filter="glow(color=#0000ff,strength=1) shadow(color=gray,direction=180) alpha(opacity=50)";Move2();}}

function Move2(){jh0.style.top=t-s;jh1.style.top=t+60-s;s+=3;if(s<60)setTimeout("Move2()",100);else{jh2.style.visibility="visible";if(jh2.filters(0).status!=2){jh2.filters(0).Apply();jh2.filters(0).Play();}jh0.style.filter="shadow(color=gray,direction=135) alpha(opacity=50)";jh1.style.filter="glow(color=#0000ff,strength=1) shadow(color=gray,direction=135) alpha(opacity=50)";}}

Start()

</SCRIPT>

 

Write a comment

Comments: 0