高分相送,看看你的水平有多高 ( 积分: 100 )

  • 主题发起人 主题发起人 lmeagle01
  • 开始时间 开始时间
L

lmeagle01

Unregistered / Unconfirmed
GUEST, unregistred user!
请问在网页中用JavaScript做脚本,但是for循环导致cpu占用率过高,怎么解决,用sleep函数?可是JavaScript中又没有,谁能给出好的解决方法,100分送上,请详细点,最好有源码?必须是用JavaScript作开发
 
请问在网页中用JavaScript做脚本,但是for循环导致cpu占用率过高,怎么解决,用sleep函数?可是JavaScript中又没有,谁能给出好的解决方法,100分送上,请详细点,最好有源码?必须是用JavaScript作开发
 
做一些檢驗類的東西,絕對不會這麼高的。
如果JavaScript遊戲類的東西,就要了。
for (var i = 0;
i < 9;
i++) {
n += i;
myfunc(n);
}
 
没办法,我要的是网页特效,所以比较慢
for(i=0;i<=58;i++)
{
Circle = eval(doc+&quot;Circle&quot;+i+obj);

//break;
//continue;
}
58个字在页面上顺时针转动
谁有好的解决办法
 
使用 setTimeout,延时n毫秒后执行,用作循环时类似于递归执行
functiondo
Fun() {
……

setTimeout(&quot;DoFun()&quot;,1000);
}
 
functiondo
Fun(i) {
Circle = eval(doc+&quot;Circle&quot;+i+obj);

i=i+1
if (i<=58) setTimeout(&quot;DoFun(&quot;+i+&quot;)&quot;,1000);

}
onLoad=&quot;DoFun(0)&quot;
 
to plenilune168
不行啊,我那个本来就是个函数中的循环,其代码如下:
function Setting()
{
vardo
c = (IsNN4)? &quot;document.&quot;
: &quot;document.all.&quot;;

var obj = (IsNN4)? &quot;&quot;
: &quot;.style&quot;;


Title1 = eval(doc+&quot;Title1&quot;+obj);

Title2 = eval(doc+&quot;Title2&quot;+obj);

Title3 = eval(doc+&quot;Title3&quot;+obj);

Text1 = eval(doc+&quot;Text1&quot;+obj);

Text2 = eval(doc+&quot;Text2&quot;+obj);

Text3 = eval(doc+&quot;Text3&quot;+obj);

Text4 = eval(doc+&quot;Text4&quot;+obj);

Now = eval(doc+&quot;Now&quot;+obj);

Add = eval(doc+&quot;Add&quot;+obj);

Entry = eval(doc+&quot;Entry&quot;+obj);

for(i=0;i<=58;i++)
{
Circle = eval(doc+&quot;Circle&quot;+i+obj);

//break;
//continue;
//setTimeout(&quot;Setting()&quot;,1000);加了这句,就总死掉,没响应
}
......
......
onLoad=&quot;Setting()&quot;
 
to all
有谁能解决呢?帮个忙阿?
 
function Setting()
{
vardo
c = (IsNN4)? &quot;document.&quot;
: &quot;document.all.&quot;;

var obj = (IsNN4)? &quot;&quot;
: &quot;.style&quot;;


Title1 = eval(doc+&quot;Title1&quot;+obj);

Title2 = eval(doc+&quot;Title2&quot;+obj);

Title3 = eval(doc+&quot;Title3&quot;+obj);

Text1 = eval(doc+&quot;Text1&quot;+obj);

Text2 = eval(doc+&quot;Text2&quot;+obj);

Text3 = eval(doc+&quot;Text3&quot;+obj);

Text4 = eval(doc+&quot;Text4&quot;+obj);

Now = eval(doc+&quot;Now&quot;+obj);

Add = eval(doc+&quot;Add&quot;+obj);

Entry = eval(doc+&quot;Entry&quot;+obj);

do
Fun(0)
}
functiondo
Fun(i)
{
Circle = eval(doc+&quot;Circle&quot;+i+obj);

i=i+1
if (i<=58) {
setTimeout(&quot;DoFun(&quot;+i+&quot;)&quot;,1000);
//延迟1秒
}
}
……
OnLoad=&quot;Setting()&quot;
 
to plenilune168
谢谢阿,不过还是不行啊,可能我的水平有问题,我把htm的代码都发上来吧,你帮我看看,弄好,马上结帖
 
<HTML>
<HEAD>
<TITLE>幻灯片播放</TITLE>
<META HTTP-EQUIV=&quot;Content-Type&quot;
CONTENT=&quot;text/html;
charset=gb2312&quot;>
<link href=&quot;style.css&quot;
type=&quot;text/css&quot;
rel=&quot;stylesheet&quot;>
</HEAD>

<SCRIPT language=&quot;VBScript&quot;>
Dim FileList,FileListArr
FileList = &quot;./照片/何小菱.jpg,./照片/me2.jpg,./照片/照片12.jpg,./照片/喜乐 33.jpg,./照片/喜乐 37.jpg,./照片/me.jpg,./照片/照片002.jpg,./照片/照片21.jpg,./照片/喜乐 50.jpg,./照片/喜乐 61.jpg,./照片/喜乐 68.jpg,./照片/喜乐 70.jpg,./照片/喜乐 81.jpg,./照片/照片57.jpg,./照片/照片96.jpg,./照片/照片99.jpg,./照片/照片111.jpg,./照片/照片212.jpg,./照片/照片222.jpg&quot;
FileListArr = Split(FileList,&quot;,&quot;)
Dim CanPlay
CanPlay = CInt(Split(Split(navigator.appVersion,&quot;;&quot;)(1),&quot;
&quot;)(2))>5
Dim FilterStr
FilterStr = &quot;RevealTrans(duration=2,transition=23)&quot;
FilterStr = FilterStr + &quot;;BlendTrans(duration=2)&quot;
If CanPlay then
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Pixelate(,enabled=false,duration=2,maxSquare=25)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Fade(duration=2,overlap=0)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.GradientWipe(duration=2,gradientSize=0.25,motion=forward )&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Stretch(duration=2,stretchStyle=PUSH)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Wheel(duration=2,spokes=16)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.RandomDissolve(duration=2)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Spiral(duration=2,gridSizeX=50,gridSizeY=50)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Slide(duration=2,bands=1,slideStyle=SWAP)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.RadialWipe(duration=2,wipeStyle=CLOCK)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=1)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Wipe(duration=3,gradientsize=0.25,motion=reverse)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Barn( motion=out,orientation=vertical)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Blinds( Bands=10,direction=up)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Checkerboard( Direction=right,SquaresX=2,SquaresY=2)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Iris(irisstyle=PLUS,motion=out)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Stretch(stretchstyle=PUSH)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Strips(motion=rightdown)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.RandomBars()&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Inset()&quot;


else
Msgbox &quot;幻灯片播放具有多种动态图片切换效果,但此功能需要您的浏览器为IE5.5或以上版本,否则您将只能看到部分的切换效果。&quot;,64
End If
Dim FilterArr
FilterArr = Split(FilterStr,&quot;;&quot;)
Dim PlayImg_M
PlayImg_M = 6 * 1000 '切换时间(毫秒)
Dim J
J = 1
Sub ChangeImg
Do While FileListArr(J)=&quot;&quot;
J = J + 1
If J>UBound(FileListArr) then
J = 0
Loop
Dim K
If J>UBound(FileListArr) then
J = 0
Randomize
K = Int(Rnd * (UBound(FilterArr)+1))
Img.style.filter = FilterArr(K)
Img.filters(0).Apply
Img.Src = FileListArr(J)
Img.filters(0).play
J = J + 1
If J>UBound(FileListArr) then
J = 0
TempImg.Src = FileListArr(J)
SetTimeout &quot;ChangeImg&quot;,PlayImg_M,&quot;VBScript&quot;
End Sub
</SCRIPT>
<BODY BGCOLOR=&quot;#000000&quot;
onload=Setting() >
<SPAN id=Set
style=&quot;FONT: bold 24pt arial;
POSITION: relative;
VISIBILITY: hidden&quot;>
<P style=&quot;margin-top: 0;
margin-bottom: 0&quot;><font color=&quot;#FFFF00&quot;>Welcome to I - TIME !</font></P>
</SPAN>
<DIV id=Text1
style=&quot;COLOR: white;
FONT: bold 16pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><font color=&quot;#FF00FF&quot;>欢迎来到</font></P></DIV>
<DIV id=Text2
style=&quot;COLOR: red;
FONT: bold 20pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P> </P></DIV>
<DIV id=Text3
style=&quot;color: blue;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 26pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 322;
width: 916;
height: 62&quot;>
<P><BIG>Only For You</BIG></P></DIV>
<DIV id=Text4
style=&quot;color: black;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 16pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 6;
top: 421;
width: 916;
height: 19&quot;></DIV>
<DIV id=Title2
style=&quot;color: gray;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 7;
top: 422;
width: 916;
height: 58&quot;>
<P><font color=&quot;#008000&quot;>小菱主页 生活点滴</font></P></DIV>
<DIV id=Title1
style=&quot;color: white;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 4;
top: 519;
width: 700;
height: 93&quot;>
<P><font color=&quot;#00FF00&quot;>小菱主页 生活点滴</font></P></DIV>
<DIV id=Circle0
style=&quot;COLOR:green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>欢</FONT></P></DIV>
<DIV id=Circle1
style=&quot;COLOR:green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>迎</FONT></P></DIV>
<DIV id=Circle2
style=&quot;COLOR: green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>小</FONT></P></DIV>
<DIV id=Circle3
style=&quot;COLOR: green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>菱</FONT></P></DIV>
<DIV id=Circle4
style=&quot;color: steelblue;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 334;
width: 916;
height: 58&quot;>
<P><FONT color=#ffff00 size=6>*</FONT></P></DIV>
<DIV id=Circle5
style=&quot;COLOR: steelblue;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>淡</FONT></P></DIV>
<DIV id=Circle6
style=&quot;COLOR: steelblue;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>淡</FONT></P></DIV>
<DIV id=Circle7
style=&quot;COLOR: orange;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>烟</FONT></P></DIV>
<DIV id=Circle8
style=&quot;COLOR: pink;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>雨</FONT></P></DIV>
<DIV id=Circle9
style=&quot;COLOR: pink;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>淡</FONT></P></DIV>
<DIV id=Circle10
style=&quot;COLOR: red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>淡</FONT></P></DIV>
<DIV id=Circle11
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>愁</FONT></P></DIV>
<DIV id=Circle12
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>,</FONT></P></DIV>

<DIV id=Circle13
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle14
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle15
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>明</FONT></P></DIV>
<DIV id=Circle16
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>月</FONT></P></DIV>
<DIV id=Circle17
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>上</FONT></P></DIV>
<DIV id=Circle18
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>西</FONT></P></DIV>
<DIV id=Circle19
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>楼</FONT></P></DIV>
<DIV id=Circle20
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>。</FONT></P></DIV>

<DIV id=Circle21
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle22
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle23
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>流</FONT></P></DIV>
<DIV id=Circle24
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>水</FONT></P></DIV>
<DIV id=Circle25
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>溪</FONT></P></DIV>
<DIV id=Circle26
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>中</FONT></P></DIV>
<DIV id=Circle27
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>过</FONT></P></DIV>


<DIV id=Circle28
style=&quot;color: yellow;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 344;
width: 916;
height: 58&quot;>
<P><FONT color=yellow size=6>*</FONT></P></DIV>
<DIV id=Circle29
style=&quot;COLOR: lightseagreen;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle30
style=&quot;COLOR: lightseagreen;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle31
style=&quot;COLOR: lightseagreen;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>鱼</FONT></P></DIV>
<DIV id=Circle32
style=&quot;COLOR: orange;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>儿</FONT></P></DIV>
<DIV id=Circle33
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 12;
top: 408;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>水</FONT></P></DIV>
<DIV id=Circle34
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 11;
top: 431;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>中</FONT></P></DIV>
<DIV id=Circle35
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>游</FONT></P></DIV>
<DIV id=Circle36
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>。</FONT></P></DIV>

<DIV id=Circle37
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle38
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle39
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>清</FONT></P></DIV>
<DIV id=Circle40
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>香</FONT></P></DIV>
<DIV id=Circle41
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>香</FONT></P></DIV>
<DIV id=Circle42
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>盈</FONT></P></DIV>
<DIV id=Circle43
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>袖</FONT></P></DIV>
<DIV id=Circle44
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>,</FONT></P></DIV>

<DIV id=Circle45
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle46
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle47
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>蝴</FONT></P></DIV>
<DIV id=Circle48
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>蝶</FONT></P></DIV>
<DIV id=Circle49
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>落</FONT></P></DIV>
<DIV id=Circle50
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>绣</FONT></P></DIV>
<DIV id=Circle51
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>球</FONT></P></DIV>


<DIV id=Circle52
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 10;
top: 423;
width: 916;
height: 56&quot;>
<P><FONT color=#ff80c0 size=6>*</FONT></P></DIV>
<DIV id=Circle53
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 14;
top: 420;
width: 916;
height: 56&quot;>
<P><FONT color=#ff80c0 size=6>*</FONT></P></DIV>
<DIV id=Circle54
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 347;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>感</FONT></P></DIV>
<DIV id=Circle55
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 330;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>谢</FONT></P></DIV>
<DIV id=Circle56
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 12;
top: 437;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>上</FONT></P></DIV>
<DIV id=Circle57
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 12;
top: 416;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>帝</FONT></P></DIV>
<DIV id=Circle58
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 339;
width: 916;
height: 41&quot;>
<P><FONT color=#ff80c0 size=4>*</FONT></P></DIV>
<DIV id=Now
style=&quot;color: orange;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 5;
top: 402;
width: 916;
height: 19&quot;></DIV>
<DIV id=Title3
style=&quot;color: orange;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 357;
width: 916;
height: 19&quot;></DIV>
<DIV id=Add
style=&quot;font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
text-align: right;
visibility: hidden;
width: 250;
left: 17;
top: 348;
height: 19&quot;></DIV>
<DIV id=Entry
style=&quot;FONT: bold 24pt arial;
POSITION: absolute;
TEXT-ALIGN: right;
VISIBILITY: hidden;
WIDTH: 250px&quot;>
<P> </P></DIV>



<TABLE WIDTH=&quot;100%&quot;
height=&quot;100%&quot;
BORDER=&quot;0&quot;
CELLSPACING=&quot;0&quot;
CELLPADDING=&quot;0&quot;>
<TR ID=&quot;NoScript&quot;>
<TD Align=&quot;Center&quot;
Style=&quot;Color:White&quot;>对不起,图片浏览功能需脚本支持,但您的浏览器已经设置了禁止脚本运行。请您在浏览器设置中调整有关安全选项。</TD>
</TR>
<TR Style=&quot;Display:none&quot;
ID=&quot;CanRunScript&quot;>
<TD HEIGHT=&quot;100%&quot;
Align=&quot;Center&quot;
vAlign=&quot;Center&quot;>
<CENTER><Img style=&quot;right: 521px;
height=&quot;400&quot;
ID=&quot;Img&quot;
width=&quot;400&quot;
Border=&quot;0&quot;
></CENTER>
</TD>
</TR>
<TR Style=&quot;Display:none&quot;>
<TD><Img ID=&quot;TempImg&quot;
Border=&quot;0&quot;></TD>
</TR>
</TABLE>


<SCRIPT language=&quot;JavaScript&quot;>
var IsIE4 = (navigator.appVersion.charAt(0) >= 4 &amp;&amp;
navigator.appName == &quot;Microsoft Internet Explorer&quot;);

var IsNN4 = (navigator.appVersion.charAt(0) >= 4 &amp;&amp;
navigator.appName == &quot;Netscape&quot;);


var Title1,Title2,Title3,Text1,Text2,Text3,Text4,Now,Add,Entry;


var CenterX,CenterY,Pi,Inc;

var Circle = new Array();

var Pos = new Array();


var NowLeft,NowTop;

var Count = 0;

var Bright = 0;

var Brightfold = true;

var ColorIndex = &quot;0123456789ABCDEFFF&quot;;


if(!(IsIE4||IsNN4))
top.location=&quot;building.html&quot;;


function SetCenter()
{
this.left = (innerWidth - this.clip.width) / 2;

this.top = (innerHeight - this.clip.height) / 2;

}

function Setting()
{
vardo
c = (IsNN4)? &quot;document.&quot;
: &quot;document.all.&quot;;

var obj = (IsNN4)? &quot;&quot;
: &quot;.style&quot;;


Title1 = eval(doc+&quot;Title1&quot;+obj);

Title2 = eval(doc+&quot;Title2&quot;+obj);

Title3 = eval(doc+&quot;Title3&quot;+obj);

Text1 = eval(doc+&quot;Text1&quot;+obj);

Text2 = eval(doc+&quot;Text2&quot;+obj);

Text3 = eval(doc+&quot;Text3&quot;+obj);

Text4 = eval(doc+&quot;Text4&quot;+obj);

Now = eval(doc+&quot;Now&quot;+obj);

Add = eval(doc+&quot;Add&quot;+obj);

Entry = eval(doc+&quot;Entry&quot;+obj);

do
Fun(0)
if(IsNN4)
{
Layer.prototype.setCenter = SetCenter;

LayerWidth =do
cument.Set.clip.width;

LayerHeight =do
cument.Set.clip.height;

BodyWidth = innerWidth;

BodyHeight = innerHeight;

Title1.setCenter();

Title2.setCenter();

Title3.setCenter();

Entry.setCenter();

Now.setCenter();

Title1.top = Title1.top - 24;

Title2.top = Title2.top - 24;

Title3.top = Title3.top - 24;

Now.top = Entry.top - 90;

Now.left = Entry.left - 110;

Entry.top = Entry.top + 30;

Entry.left = Entry.left + 35;

}
else

{
BodyWidth =do
cument.body.offsetWidth;

BodyHeight =do
cument.body.offsetHeight;

LayerWidth =do
cument.all.Set.offsetWidth;

LayerHeight =do
cument.all.Set.offsetHeight;

SetLeft = (BodyWidth - LayerWidth) / 2;

SetTop = (BodyHeight - LayerHeight) / 2;

Title1.left = SetLeft;

Title1.top = SetTop - 24;

Title2.left = SetLeft;

Title2.top = SetTop - 24;

Title3.left = SetLeft;

Title3.top = SetTop - 24;

Now.left = SetLeft - 55;

Now.top = SetTop - 65;

Add.left = SetLeft + 85;

Add.top = SetTop + 55;

Entry.left = SetLeft + 85;

Entry.top = SetTop + 75;

}
CenterX = BodyWidth / 2-20 ;

CenterY = BodyHeight / 2+25 ;

Radius = 260;

Pi = Math.PI;

Inc = Pi/180;


Pos[0] = 0;

for(i=1;i<Circle.length;i++) Pos = parseFloat(Pos[i-1] + ((2*Pi)/Circle.length));

for(i=0;i<Pos.length;i++)
{
Pos = Pos + Inc;

Circle.left = Radius*Math.cos(Pos) + CenterX - 5;

Circle.top = Radius*Math.sin(Pos) + CenterY - 5;

}

NowLeft = (BodyWidth - LayerWidth) / 2 - 100;

NowTop = (BodyHeight - LayerHeight) / 2 - 115;

MoveText1();

}

functiondo
Fun()
{
Circle = eval(doc+&quot;Circle&quot;+i+obj);

i=i+1
if (i<=58) {
setTimeout(&quot;DoFun(&quot;+i+&quot;)&quot;,100);
//延迟1秒
}
}

function MoveText1()
{
Text1.visibility = &quot;visible&quot;;

Text1.left = NowLeft;

Text1.top = NowTop;


NowLeft = NowLeft + 10;

NowTop = NowTop + 5;

if(NowLeft < (BodyWidth - LayerWidth) / 2 - 10 )
MoveText1ID = setTimeout(&quot;MoveText1()&quot;,50);

else

{
clearTimeout(MoveText1ID);

NowLeft = (BodyWidth - LayerWidth) / 2 + 200;

NowTop = (BodyHeight - LayerHeight) / 2 - 115;

MoveText2();

}
}

function MoveText2()
{
Text2.visibility = &quot;visible&quot;;

Text2.left = NowLeft;

Text2.top = NowTop;


NowLeft = NowLeft - 8;

NowTop = NowTop + 5;

if(NowLeft > (BodyWidth - LayerWidth) / 2 + 90 )
MoveText2ID = setTimeout(&quot;MoveText2()&quot;,50);

else

{
clearTimeout(MoveText2ID);

NowLeft = (BodyWidth - LayerWidth) / 2 - 50;

NowTop = (BodyHeight - LayerHeight) / 2 + 115;

MoveText3();

}
}

function MoveText3()
{
Text3.visibility = &quot;visible&quot;;

Text3.left = NowLeft;

Text3.top = NowTop;


NowLeft = NowLeft + 10;

NowTop = NowTop - 5;

if(NowLeft < (BodyWidth - LayerWidth) / 2 + 50 )
MoveText3ID = setTimeout(&quot;MoveText3()&quot;,50);

else

{
clearTimeout(MoveText3ID);

NowLeft = (BodyWidth - LayerWidth) / 2 + 200;

NowTop = (BodyHeight - LayerHeight) / 2 + 115;

MoveText4();

}
}

function MoveText4()
{
Text4.visibility = &quot;visible&quot;;

Text4.left = NowLeft;

Text4.top = NowTop;


NowLeft = NowLeft - 5;

NowTop = NowTop - 2;

if(NowLeft > (BodyWidth - LayerWidth) / 2 + 150 )
MoveText4ID = setTimeout(&quot;MoveText4()&quot;,50);

else

{
clearTimeout(MoveText4ID);

Fade();

}
}

function Fade()
{
var BackX = Math.random()*10;

var BackY = Math.random()*5;


if(Count<=50)
{
if(Math.random()<0.5)
{
BackX = -BackX;

BackY = -BackY;

}

Title1.visibility = &quot;visible&quot;;

Title2.visibility = &quot;visible&quot;;

Title2.left = parseInt(Title1.left) + BackX;

Title2.top = parseInt(Title1.top) + BackY;

FadeID = setTimeout(&quot;Fade()&quot;,50);

Count++;

}
else

{
Text1.visibility = &quot;hidden&quot;;

Text2.visibility = &quot;hidden&quot;;

Text3.visibility = &quot;hidden&quot;;

Text4.visibility = &quot;hidden&quot;;

Title1.visibility = &quot;hidden&quot;;

Title2.visibility = &quot;hidden&quot;;

clearTimeout(FadeID);

setInterval(&quot;Last()&quot;,10);

}
}

function Last()
{
var ColorHex = ColorIndex.charAt(Bright);

ColorHex = ColorHex + ColorHex + ColorHex + ColorHex + ColorHex + ColorHex;


if(IsIE4)
Add.visibility = &quot;visible&quot;;

Now.visibility = &quot;visible&quot;;

Entry.visibility = &quot;visible&quot;;

for (i=0;i<Pos.length;i++) Circle.visibility = &quot;visible&quot;;

Title3.visibility = &quot;visible&quot;;


if(IsIE4)
{
Title3.color = ColorHex;

if(Bright >= 17) Brightfold = false;

if(Bright <= 0) Brightfold = true;

if(Brightfold)
Bright++;

else

Bright--;

}

for(i=0;i<Pos.length;i++)
{
Pos = Pos - Inc;

Circle.left = Radius*Math.cos(Pos) + CenterX - 5;

Circle.top = Radius*Math.sin(Pos) + CenterY - 5;

}
}
</SCRIPT>

<Script Language=&quot;VBScript&quot;>
NoScript.Style.Display = &quot;none&quot;
CanRunScript.Style.Display = &quot;&quot;
Img.Src = FileListArr(0)
SetTimeout &quot;ChangeImg&quot;, PlayImg_M
</Script>

<SCRIPT language=JavaScript>
<!--
file://锁鼠标右键和键盘CONTEXTMENU键
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) { alert(&quot;不好意思,朋友,我可不希望我所喜欢的人的照片被拷贝,谢谢合作-_^&quot;);
oncontextmenu='return false';
}
}
if (document.layers) {
if (e.which == 3) {
oncontextmenu='return false';
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
document.oncontextmenu = new Function(&quot;return false;&quot;)
// -->
</SCRIPT>
<script language=&quot;JavaScript&quot;>
<!--
function window::onresize()
{
location.reload();
}
// -->
</script>
 
to plenilune168
你可以把图片那个地方换上自己的一张图片就行,把上面的代码村成htm你看看,图像的外圈应该有一圈旋转的字体的
 
收到,你等等
 
可以了,你犯了两个错误
1、DoFun()定义你少了i,即DoFun(i)
2、DoFun中引用到了doc和obj,所以doc和obj不能定义在 Setting() 里面,而是放在函数之外作为全局变量,这样 Setting() 和do
Fun()都能够引用了
<HTML>
<HEAD>
<TITLE>幻灯片播放</TITLE>
<META HTTP-EQUIV=&quot;Content-Type&quot;
CONTENT=&quot;text/html;
charset=gb2312&quot;>
<link href=&quot;style.css&quot;
type=&quot;text/css&quot;
rel=&quot;stylesheet&quot;>
</HEAD>

<SCRIPT language=&quot;VBScript&quot;>
Dim FileList,FileListArr
FileList = &quot;./照片/何小菱.jpg,./照片/me2.jpg,./照片/照片12.jpg,./照片/喜乐 33.jpg,./照片/喜乐 37.jpg,./照片/me.jpg,./照片/照片002.jpg,./照片/照片21.jpg,./照片/喜乐 50.jpg,./照片/喜乐 61.jpg,./照片/喜乐 68.jpg,./照片/喜乐 70.jpg,./照片/喜乐 81.jpg,./照片/照片57.jpg,./照片/照片96.jpg,./照片/照片99.jpg,./照片/照片111.jpg,./照片/照片212.jpg,./照片/照片222.jpg&quot;
FileListArr = Split(FileList,&quot;,&quot;)
Dim CanPlay
CanPlay = CInt(Split(Split(navigator.appVersion,&quot;;&quot;)(1),&quot;
&quot;)(2))>5
Dim FilterStr
FilterStr = &quot;RevealTrans(duration=2,transition=23)&quot;
FilterStr = FilterStr + &quot;;BlendTrans(duration=2)&quot;
If CanPlay then
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Pixelate(,enabled=false,duration=2,maxSquare=25)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Fade(duration=2,overlap=0)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.GradientWipe(duration=2,gradientSize=0.25,motion=forward )&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Stretch(duration=2,stretchStyle=PUSH)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Wheel(duration=2,spokes=16)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.RandomDissolve(duration=2)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Spiral(duration=2,gridSizeX=50,gridSizeY=50)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Slide(duration=2,bands=1,slideStyle=SWAP)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.RadialWipe(duration=2,wipeStyle=CLOCK)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=1)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Wipe(duration=3,gradientsize=0.25,motion=reverse)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Barn( motion=out,orientation=vertical)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Blinds( Bands=10,direction=up)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Checkerboard( Direction=right,SquaresX=2,SquaresY=2)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Iris(irisstyle=PLUS,motion=out)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Stretch(stretchstyle=PUSH)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Strips(motion=rightdown)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.RandomBars()&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Inset()&quot;


else
Msgbox &quot;幻灯片播放具有多种动态图片切换效果,但此功能需要您的浏览器为IE5.5或以上版本,否则您将只能看到部分的切换效果。&quot;,64
End If
Dim FilterArr
FilterArr = Split(FilterStr,&quot;;&quot;)
Dim PlayImg_M
PlayImg_M = 6 * 1000 '切换时间(毫秒)
Dim J
J = 1
Sub ChangeImg
Do While FileListArr(J)=&quot;&quot;
J = J + 1
If J>UBound(FileListArr) then
J = 0
Loop
Dim K
If J>UBound(FileListArr) then
J = 0
Randomize
K = Int(Rnd * (UBound(FilterArr)+1))
Img.style.filter = FilterArr(K)
Img.filters(0).Apply
Img.Src = FileListArr(J)
Img.filters(0).play
J = J + 1
If J>UBound(FileListArr) then
J = 0
TempImg.Src = FileListArr(J)
SetTimeout &quot;ChangeImg&quot;,PlayImg_M,&quot;VBScript&quot;
End Sub
</SCRIPT>
<BODY BGCOLOR=&quot;#000000&quot;
onload=Setting() >
<SPAN id=Set
style=&quot;FONT: bold 24pt arial;
POSITION: relative;
VISIBILITY: hidden&quot;>
<P style=&quot;margin-top: 0;
margin-bottom: 0&quot;><font color=&quot;#FFFF00&quot;>Welcome to I - TIME !</font></P>
</SPAN>
<DIV id=Text1
style=&quot;COLOR: white;
FONT: bold 16pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><font color=&quot;#FF00FF&quot;>欢迎来到</font></P></DIV>
<DIV id=Text2
style=&quot;COLOR: red;
FONT: bold 20pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P> </P></DIV>
<DIV id=Text3
style=&quot;color: blue;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 26pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 322;
width: 916;
height: 62&quot;>
<P><BIG>Only For You</BIG></P></DIV>
<DIV id=Text4
style=&quot;color: black;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 16pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 6;
top: 421;
width: 916;
height: 19&quot;></DIV>
<DIV id=Title2
style=&quot;color: gray;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 7;
top: 422;
width: 916;
height: 58&quot;>
<P><font color=&quot;#008000&quot;>小菱主页 生活点滴</font></P></DIV>
<DIV id=Title1
style=&quot;color: white;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 4;
top: 519;
width: 700;
height: 93&quot;>
<P><font color=&quot;#00FF00&quot;>小菱主页 生活点滴</font></P></DIV>
<DIV id=Circle0
style=&quot;COLOR:green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>欢</FONT></P></DIV>
<DIV id=Circle1
style=&quot;COLOR:green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>迎</FONT></P></DIV>
<DIV id=Circle2
style=&quot;COLOR: green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>小</FONT></P></DIV>
<DIV id=Circle3
style=&quot;COLOR: green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>菱</FONT></P></DIV>
<DIV id=Circle4
style=&quot;color: steelblue;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 334;
width: 916;
height: 58&quot;>
<P><FONT color=#ffff00 size=6>*</FONT></P></DIV>
<DIV id=Circle5
style=&quot;COLOR: steelblue;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>淡</FONT></P></DIV>
<DIV id=Circle6
style=&quot;COLOR: steelblue;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>淡</FONT></P></DIV>
<DIV id=Circle7
style=&quot;COLOR: orange;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>烟</FONT></P></DIV>
<DIV id=Circle8
style=&quot;COLOR: pink;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>雨</FONT></P></DIV>
<DIV id=Circle9
style=&quot;COLOR: pink;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>淡</FONT></P></DIV>
<DIV id=Circle10
style=&quot;COLOR: red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>淡</FONT></P></DIV>
<DIV id=Circle11
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>愁</FONT></P></DIV>
<DIV id=Circle12
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>,</FONT></P></DIV>

<DIV id=Circle13
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle14
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle15
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>明</FONT></P></DIV>
<DIV id=Circle16
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>月</FONT></P></DIV>
<DIV id=Circle17
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>上</FONT></P></DIV>
<DIV id=Circle18
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>西</FONT></P></DIV>
<DIV id=Circle19
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>楼</FONT></P></DIV>
<DIV id=Circle20
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>。</FONT></P></DIV>

<DIV id=Circle21
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle22
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle23
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>流</FONT></P></DIV>
<DIV id=Circle24
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>水</FONT></P></DIV>
<DIV id=Circle25
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>溪</FONT></P></DIV>
<DIV id=Circle26
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>中</FONT></P></DIV>
<DIV id=Circle27
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>过</FONT></P></DIV>


<DIV id=Circle28
style=&quot;color: yellow;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 344;
width: 916;
height: 58&quot;>
<P><FONT color=yellow size=6>*</FONT></P></DIV>
<DIV id=Circle29
style=&quot;COLOR: lightseagreen;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle30
style=&quot;COLOR: lightseagreen;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle31
style=&quot;COLOR: lightseagreen;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>鱼</FONT></P></DIV>
<DIV id=Circle32
style=&quot;COLOR: orange;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>儿</FONT></P></DIV>
<DIV id=Circle33
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 12;
top: 408;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>水</FONT></P></DIV>
<DIV id=Circle34
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 11;
top: 431;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>中</FONT></P></DIV>
<DIV id=Circle35
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>游</FONT></P></DIV>
<DIV id=Circle36
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>。</FONT></P></DIV>

<DIV id=Circle37
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle38
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle39
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>清</FONT></P></DIV>
<DIV id=Circle40
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>香</FONT></P></DIV>
<DIV id=Circle41
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>香</FONT></P></DIV>
<DIV id=Circle42
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>盈</FONT></P></DIV>
<DIV id=Circle43
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>袖</FONT></P></DIV>
<DIV id=Circle44
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>,</FONT></P></DIV>

<DIV id=Circle45
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle46
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle47
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>蝴</FONT></P></DIV>
<DIV id=Circle48
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>蝶</FONT></P></DIV>
<DIV id=Circle49
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>落</FONT></P></DIV>
<DIV id=Circle50
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>绣</FONT></P></DIV>
<DIV id=Circle51
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>球</FONT></P></DIV>


<DIV id=Circle52
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 10;
top: 423;
width: 916;
height: 56&quot;>
<P><FONT color=#ff80c0 size=6>*</FONT></P></DIV>
<DIV id=Circle53
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 14;
top: 420;
width: 916;
height: 56&quot;>
<P><FONT color=#ff80c0 size=6>*</FONT></P></DIV>
<DIV id=Circle54
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 347;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>感</FONT></P></DIV>
<DIV id=Circle55
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 330;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>谢</FONT></P></DIV>
<DIV id=Circle56
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 12;
top: 437;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>上</FONT></P></DIV>
<DIV id=Circle57
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 12;
top: 416;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>帝</FONT></P></DIV>
<DIV id=Circle58
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 339;
width: 916;
height: 41&quot;>
<P><FONT color=#ff80c0 size=4>*</FONT></P></DIV>
<DIV id=Now
style=&quot;color: orange;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 5;
top: 402;
width: 916;
height: 19&quot;></DIV>
<DIV id=Title3
style=&quot;color: orange;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 357;
width: 916;
height: 19&quot;></DIV>
<DIV id=Add
style=&quot;font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
text-align: right;
visibility: hidden;
width: 250;
left: 17;
top: 348;
height: 19&quot;></DIV>
<DIV id=Entry
style=&quot;FONT: bold 24pt arial;
POSITION: absolute;
TEXT-ALIGN: right;
VISIBILITY: hidden;
WIDTH: 250px&quot;>
<P> </P></DIV>



<TABLE WIDTH=&quot;100%&quot;
height=&quot;100%&quot;
BORDER=&quot;0&quot;
CELLSPACING=&quot;0&quot;
CELLPADDING=&quot;0&quot;>
<TR ID=&quot;NoScript&quot;>
<TD Align=&quot;Center&quot;
Style=&quot;Color:White&quot;>对不起,图片浏览功能需脚本支持,但您的浏览器已经设置了禁止脚本运行。请您在浏览器设置中调整有关安全选项。</TD>
</TR>
<TR Style=&quot;Display:none&quot;
ID=&quot;CanRunScript&quot;>
<TD HEIGHT=&quot;100%&quot;
Align=&quot;Center&quot;
vAlign=&quot;Center&quot;>
<CENTER><Img style=&quot;right: 521px;
height=&quot;400&quot;
ID=&quot;Img&quot;
width=&quot;400&quot;
Border=&quot;0&quot;
></CENTER>
</TD>
</TR>
<TR Style=&quot;Display:none&quot;>
<TD><Img ID=&quot;TempImg&quot;
Border=&quot;0&quot;></TD>
</TR>
</TABLE>


<SCRIPT language=&quot;JavaScript&quot;>
var IsIE4 = (navigator.appVersion.charAt(0) >= 4 &amp;&amp;
navigator.appName == &quot;Microsoft Internet Explorer&quot;);

var IsNN4 = (navigator.appVersion.charAt(0) >= 4 &amp;&amp;
navigator.appName == &quot;Netscape&quot;);


var Title1,Title2,Title3,Text1,Text2,Text3,Text4,Now,Add,Entry;


var CenterX,CenterY,Pi,Inc;

var Circle = new Array();

var Pos = new Array();


var NowLeft,NowTop;

var Count = 0;

var Bright = 0;

var Brightfold = true;

var ColorIndex = &quot;0123456789ABCDEFFF&quot;;


vardo
c = (IsNN4)? &quot;document.&quot;
: &quot;document.all.&quot;;

var obj = (IsNN4)? &quot;&quot;
: &quot;.style&quot;;

if(!(IsIE4||IsNN4))
top.location=&quot;building.html&quot;;


function SetCenter()
{
this.left = (innerWidth - this.clip.width) / 2;

this.top = (innerHeight - this.clip.height) / 2;

}

function Setting()
{
Title1 = eval(doc+&quot;Title1&quot;+obj);

Title2 = eval(doc+&quot;Title2&quot;+obj);

Title3 = eval(doc+&quot;Title3&quot;+obj);

Text1 = eval(doc+&quot;Text1&quot;+obj);

Text2 = eval(doc+&quot;Text2&quot;+obj);

Text3 = eval(doc+&quot;Text3&quot;+obj);

Text4 = eval(doc+&quot;Text4&quot;+obj);

Now = eval(doc+&quot;Now&quot;+obj);

Add = eval(doc+&quot;Add&quot;+obj);

Entry = eval(doc+&quot;Entry&quot;+obj);

do
Fun(0)
if(IsNN4)
{
Layer.prototype.setCenter = SetCenter;

LayerWidth =do
cument.Set.clip.width;

LayerHeight =do
cument.Set.clip.height;

BodyWidth = innerWidth;

BodyHeight = innerHeight;

Title1.setCenter();

Title2.setCenter();

Title3.setCenter();

Entry.setCenter();

Now.setCenter();

Title1.top = Title1.top - 24;

Title2.top = Title2.top - 24;

Title3.top = Title3.top - 24;

Now.top = Entry.top - 90;

Now.left = Entry.left - 110;

Entry.top = Entry.top + 30;

Entry.left = Entry.left + 35;

}
else

{
BodyWidth =do
cument.body.offsetWidth;

BodyHeight =do
cument.body.offsetHeight;

LayerWidth =do
cument.all.Set.offsetWidth;

LayerHeight =do
cument.all.Set.offsetHeight;

SetLeft = (BodyWidth - LayerWidth) / 2;

SetTop = (BodyHeight - LayerHeight) / 2;

Title1.left = SetLeft;

Title1.top = SetTop - 24;

Title2.left = SetLeft;

Title2.top = SetTop - 24;

Title3.left = SetLeft;

Title3.top = SetTop - 24;

Now.left = SetLeft - 55;

Now.top = SetTop - 65;

Add.left = SetLeft + 85;

Add.top = SetTop + 55;

Entry.left = SetLeft + 85;

Entry.top = SetTop + 75;

}
CenterX = BodyWidth / 2-20 ;

CenterY = BodyHeight / 2+25 ;

Radius = 260;

Pi = Math.PI;

Inc = Pi/180;


Pos[0] = 0;

for(i=1;i<Circle.length;i++) Pos = parseFloat(Pos[i-1] + ((2*Pi)/Circle.length));

for(i=0;i<Pos.length;i++)
{
Pos = Pos + Inc;

Circle.left = Radius*Math.cos(Pos) + CenterX - 5;

Circle.top = Radius*Math.sin(Pos) + CenterY - 5;

}

NowLeft = (BodyWidth - LayerWidth) / 2 - 100;

NowTop = (BodyHeight - LayerHeight) / 2 - 115;

MoveText1();

}

functiondo
Fun(i)
{
Circle = eval(doc+&quot;Circle&quot;+i+obj);

i=i+1
if (i<=58) {
setTimeout(&quot;DoFun(&quot;+i+&quot;)&quot;,100);
//延迟1秒
}
}

function MoveText1()
{
Text1.visibility = &quot;visible&quot;;

Text1.left = NowLeft;

Text1.top = NowTop;


NowLeft = NowLeft + 10;

NowTop = NowTop + 5;

if(NowLeft < (BodyWidth - LayerWidth) / 2 - 10 )
MoveText1ID = setTimeout(&quot;MoveText1()&quot;,50);

else

{
clearTimeout(MoveText1ID);

NowLeft = (BodyWidth - LayerWidth) / 2 + 200;

NowTop = (BodyHeight - LayerHeight) / 2 - 115;

MoveText2();

}
}

function MoveText2()
{
Text2.visibility = &quot;visible&quot;;

Text2.left = NowLeft;

Text2.top = NowTop;


NowLeft = NowLeft - 8;

NowTop = NowTop + 5;

if(NowLeft > (BodyWidth - LayerWidth) / 2 + 90 )
MoveText2ID = setTimeout(&quot;MoveText2()&quot;,50);

else

{
clearTimeout(MoveText2ID);

NowLeft = (BodyWidth - LayerWidth) / 2 - 50;

NowTop = (BodyHeight - LayerHeight) / 2 + 115;

MoveText3();

}
}

function MoveText3()
{
Text3.visibility = &quot;visible&quot;;

Text3.left = NowLeft;

Text3.top = NowTop;


NowLeft = NowLeft + 10;

NowTop = NowTop - 5;

if(NowLeft < (BodyWidth - LayerWidth) / 2 + 50 )
MoveText3ID = setTimeout(&quot;MoveText3()&quot;,50);

else

{
clearTimeout(MoveText3ID);

NowLeft = (BodyWidth - LayerWidth) / 2 + 200;

NowTop = (BodyHeight - LayerHeight) / 2 + 115;

MoveText4();

}
}

function MoveText4()
{
Text4.visibility = &quot;visible&quot;;

Text4.left = NowLeft;

Text4.top = NowTop;


NowLeft = NowLeft - 5;

NowTop = NowTop - 2;

if(NowLeft > (BodyWidth - LayerWidth) / 2 + 150 )
MoveText4ID = setTimeout(&quot;MoveText4()&quot;,50);

else

{
clearTimeout(MoveText4ID);

Fade();

}
}

function Fade()
{
var BackX = Math.random()*10;

var BackY = Math.random()*5;


if(Count<=50)
{
if(Math.random()<0.5)
{
BackX = -BackX;

BackY = -BackY;

}

Title1.visibility = &quot;visible&quot;;

Title2.visibility = &quot;visible&quot;;

Title2.left = parseInt(Title1.left) + BackX;

Title2.top = parseInt(Title1.top) + BackY;

FadeID = setTimeout(&quot;Fade()&quot;,50);

Count++;

}
else

{
Text1.visibility = &quot;hidden&quot;;

Text2.visibility = &quot;hidden&quot;;

Text3.visibility = &quot;hidden&quot;;

Text4.visibility = &quot;hidden&quot;;

Title1.visibility = &quot;hidden&quot;;

Title2.visibility = &quot;hidden&quot;;

clearTimeout(FadeID);

setInterval(&quot;Last()&quot;,10);

}
}

function Last()
{
var ColorHex = ColorIndex.charAt(Bright);

ColorHex = ColorHex + ColorHex + ColorHex + ColorHex + ColorHex + ColorHex;


if(IsIE4)
Add.visibility = &quot;visible&quot;;

Now.visibility = &quot;visible&quot;;

Entry.visibility = &quot;visible&quot;;

for (i=0;i<Pos.length;i++) Circle.visibility = &quot;visible&quot;;

Title3.visibility = &quot;visible&quot;;


if(IsIE4)
{
Title3.color = ColorHex;

if(Bright >= 17) Brightfold = false;

if(Bright <= 0) Brightfold = true;

if(Brightfold)
Bright++;

else

Bright--;

}

for(i=0;i<Pos.length;i++)
{
Pos = Pos - Inc;

Circle.left = Radius*Math.cos(Pos) + CenterX - 5;

Circle.top = Radius*Math.sin(Pos) + CenterY - 5;

}
}
</SCRIPT>

<Script Language=&quot;VBScript&quot;>
NoScript.Style.Display = &quot;none&quot;
CanRunScript.Style.Display = &quot;&quot;
Img.Src = FileListArr(0)
SetTimeout &quot;ChangeImg&quot;, PlayImg_M
</Script>

<SCRIPT language=JavaScript>
<!--
file://锁鼠标右键和键盘CONTEXTMENU键
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) { alert(&quot;不好意思,朋友,我可不希望我所喜欢的人的照片被拷贝,谢谢合作-_^&quot;);
oncontextmenu='return false';
}
}
if (document.layers) {
if (e.which == 3) {
oncontextmenu='return false';
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
document.oncontextmenu = new Function(&quot;return false;&quot;)
// -->
</SCRIPT>
<script language=&quot;JavaScript&quot;>
<!--
function window::onresize()
{
location.reload();
}
// -->
</script>
 
楼上代码我试过了
我的机子C633的CPU占用50%,应该没有问题了
 
to plenilune168
是可以了,但是却不是我原来的效果,我原来是50多个字同时在转动,可是经那样一改之后,就只剩一个字在那里转动了
 
我改的程序原理就是根据你循环的原理,逻辑应该没有变化的,只不过是延时循环而已
你的程序复杂了,我不是很明白其中的逻辑,不过我提醒一下你,采用 setTimeout 之后相当于异步执行,执行了setTimeout,除了等待延时之后要执行的函数,程序还是会继续执行原来循环之后的程序。也就是说程序还是会继续往下执行,而不是象你原来的循环完所有内容才会继续执行。
 
帮你改了,原来循环后执行的代码放到一个函数do
Next(),等全部延时循环完再去调用就OK了
不过开始等慢了一点,不知道是不是你要的效果,没有看CPU占用情况,也不知道你的逻辑,自己考虑看看是否有必要把do
Next()里面的循环也放用类似DoFun()的setTimeout延时的形式修改。
<HTML>
<HEAD>
<TITLE>幻灯片播放</TITLE>
<META HTTP-EQUIV=&quot;Content-Type&quot;
CONTENT=&quot;text/html;
charset=gb2312&quot;>
<link href=&quot;style.css&quot;
type=&quot;text/css&quot;
rel=&quot;stylesheet&quot;>
</HEAD>

<SCRIPT language=&quot;VBScript&quot;>
Dim FileList,FileListArr
FileList = &quot;./照片/何小菱.jpg,./照片/me2.jpg,./照片/照片12.jpg,./照片/喜乐 33.jpg,./照片/喜乐 37.jpg,./照片/me.jpg,./照片/照片002.jpg,./照片/照片21.jpg,./照片/喜乐 50.jpg,./照片/喜乐 61.jpg,./照片/喜乐 68.jpg,./照片/喜乐 70.jpg,./照片/喜乐 81.jpg,./照片/照片57.jpg,./照片/照片96.jpg,./照片/照片99.jpg,./照片/照片111.jpg,./照片/照片212.jpg,./照片/照片222.jpg&quot;
FileListArr = Split(FileList,&quot;,&quot;)
Dim CanPlay
CanPlay = CInt(Split(Split(navigator.appVersion,&quot;;&quot;)(1),&quot;
&quot;)(2))>5
Dim FilterStr
FilterStr = &quot;RevealTrans(duration=2,transition=23)&quot;
FilterStr = FilterStr + &quot;;BlendTrans(duration=2)&quot;
If CanPlay then
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Pixelate(,enabled=false,duration=2,maxSquare=25)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Fade(duration=2,overlap=0)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.GradientWipe(duration=2,gradientSize=0.25,motion=forward )&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Stretch(duration=2,stretchStyle=PUSH)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Wheel(duration=2,spokes=16)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.RandomDissolve(duration=2)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Spiral(duration=2,gridSizeX=50,gridSizeY=50)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Slide(duration=2,bands=1,slideStyle=SWAP)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.RadialWipe(duration=2,wipeStyle=CLOCK)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=1)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Wipe(duration=3,gradientsize=0.25,motion=reverse)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Barn( motion=out,orientation=vertical)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Blinds( Bands=10,direction=up)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Checkerboard( Direction=right,SquaresX=2,SquaresY=2)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Iris(irisstyle=PLUS,motion=out)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Stretch(stretchstyle=PUSH)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Strips(motion=rightdown)&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.RandomBars()&quot;
FilterStr = FilterStr + &quot;;progid:DXImageTransform.Microsoft.Inset()&quot;


else
Msgbox &quot;幻灯片播放具有多种动态图片切换效果,但此功能需要您的浏览器为IE5.5或以上版本,否则您将只能看到部分的切换效果。&quot;,64
End If
Dim FilterArr
FilterArr = Split(FilterStr,&quot;;&quot;)
Dim PlayImg_M
PlayImg_M = 6 * 1000 '切换时间(毫秒)
Dim J
J = 1
Sub ChangeImg
Do While FileListArr(J)=&quot;&quot;
J = J + 1
If J>UBound(FileListArr) then
J = 0
Loop
Dim K
If J>UBound(FileListArr) then
J = 0
Randomize
K = Int(Rnd * (UBound(FilterArr)+1))
Img.style.filter = FilterArr(K)
Img.filters(0).Apply
Img.Src = FileListArr(J)
Img.filters(0).play
J = J + 1
If J>UBound(FileListArr) then
J = 0
TempImg.Src = FileListArr(J)
SetTimeout &quot;ChangeImg&quot;,PlayImg_M,&quot;VBScript&quot;
End Sub
</SCRIPT>
<BODY BGCOLOR=&quot;#000000&quot;
onload=Setting() >
<SPAN id=Set
style=&quot;FONT: bold 24pt arial;
POSITION: relative;
VISIBILITY: hidden&quot;>
<P style=&quot;margin-top: 0;
margin-bottom: 0&quot;><font color=&quot;#FFFF00&quot;>Welcome to I - TIME !</font></P>
</SPAN>
<DIV id=Text1
style=&quot;COLOR: white;
FONT: bold 16pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><font color=&quot;#FF00FF&quot;>欢迎来到</font></P></DIV>
<DIV id=Text2
style=&quot;COLOR: red;
FONT: bold 20pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P> </P></DIV>
<DIV id=Text3
style=&quot;color: blue;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 26pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 322;
width: 916;
height: 62&quot;>
<P><BIG>Only For You</BIG></P></DIV>
<DIV id=Text4
style=&quot;color: black;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 16pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 6;
top: 421;
width: 916;
height: 19&quot;></DIV>
<DIV id=Title2
style=&quot;color: gray;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 7;
top: 422;
width: 916;
height: 58&quot;>
<P><font color=&quot;#008000&quot;>小菱主页 生活点滴</font></P></DIV>
<DIV id=Title1
style=&quot;color: white;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 4;
top: 519;
width: 700;
height: 93&quot;>
<P><font color=&quot;#00FF00&quot;>小菱主页 生活点滴</font></P></DIV>
<DIV id=Circle0
style=&quot;COLOR:green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>欢</FONT></P></DIV>
<DIV id=Circle1
style=&quot;COLOR:green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>迎</FONT></P></DIV>
<DIV id=Circle2
style=&quot;COLOR: green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>小</FONT></P></DIV>
<DIV id=Circle3
style=&quot;COLOR: green;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>菱</FONT></P></DIV>
<DIV id=Circle4
style=&quot;color: steelblue;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 334;
width: 916;
height: 58&quot;>
<P><FONT color=#ffff00 size=6>*</FONT></P></DIV>
<DIV id=Circle5
style=&quot;COLOR: steelblue;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>淡</FONT></P></DIV>
<DIV id=Circle6
style=&quot;COLOR: steelblue;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>淡</FONT></P></DIV>
<DIV id=Circle7
style=&quot;COLOR: orange;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>烟</FONT></P></DIV>
<DIV id=Circle8
style=&quot;COLOR: pink;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>雨</FONT></P></DIV>
<DIV id=Circle9
style=&quot;COLOR: pink;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#ff0000 size=4>淡</FONT></P></DIV>
<DIV id=Circle10
style=&quot;COLOR: red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT size=4>淡</FONT></P></DIV>
<DIV id=Circle11
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>愁</FONT></P></DIV>
<DIV id=Circle12
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>,</FONT></P></DIV>

<DIV id=Circle13
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle14
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle15
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>明</FONT></P></DIV>
<DIV id=Circle16
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>月</FONT></P></DIV>
<DIV id=Circle17
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>上</FONT></P></DIV>
<DIV id=Circle18
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>西</FONT></P></DIV>
<DIV id=Circle19
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>楼</FONT></P></DIV>
<DIV id=Circle20
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>。</FONT></P></DIV>

<DIV id=Circle21
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle22
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>淡</FONT></P></DIV>
<DIV id=Circle23
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>流</FONT></P></DIV>
<DIV id=Circle24
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>水</FONT></P></DIV>
<DIV id=Circle25
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>溪</FONT></P></DIV>
<DIV id=Circle26
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>中</FONT></P></DIV>
<DIV id=Circle27
style=&quot;COLOR:red;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=red size=4>过</FONT></P></DIV>


<DIV id=Circle28
style=&quot;color: yellow;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 344;
width: 916;
height: 58&quot;>
<P><FONT color=yellow size=6>*</FONT></P></DIV>
<DIV id=Circle29
style=&quot;COLOR: lightseagreen;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle30
style=&quot;COLOR: lightseagreen;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle31
style=&quot;COLOR: lightseagreen;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>鱼</FONT></P></DIV>
<DIV id=Circle32
style=&quot;COLOR: orange;
FONT: bold 11pt arial;
POSITION: absolute;
VISIBILITY: hidden&quot;>
<P><FONT color=#8080ff size=4>儿</FONT></P></DIV>
<DIV id=Circle33
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 12;
top: 408;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>水</FONT></P></DIV>
<DIV id=Circle34
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 11;
top: 431;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>中</FONT></P></DIV>
<DIV id=Circle35
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>游</FONT></P></DIV>
<DIV id=Circle36
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>。</FONT></P></DIV>

<DIV id=Circle37
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle38
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle39
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>清</FONT></P></DIV>
<DIV id=Circle40
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>香</FONT></P></DIV>
<DIV id=Circle41
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>香</FONT></P></DIV>
<DIV id=Circle42
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>盈</FONT></P></DIV>
<DIV id=Circle43
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>袖</FONT></P></DIV>
<DIV id=Circle44
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>,</FONT></P></DIV>

<DIV id=Circle45
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle46
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>淡</FONT></P></DIV>
<DIV id=Circle47
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>蝴</FONT></P></DIV>
<DIV id=Circle48
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>蝶</FONT></P></DIV>
<DIV id=Circle49
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>落</FONT></P></DIV>
<DIV id=Circle50
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>绣</FONT></P></DIV>
<DIV id=Circle51
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 9;
top: 436;
width: 916;
height: 42&quot;>
<P><FONT color=#8080ff size=4>球</FONT></P></DIV>


<DIV id=Circle52
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 10;
top: 423;
width: 916;
height: 56&quot;>
<P><FONT color=#ff80c0 size=6>*</FONT></P></DIV>
<DIV id=Circle53
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 14;
top: 420;
width: 916;
height: 56&quot;>
<P><FONT color=#ff80c0 size=6>*</FONT></P></DIV>
<DIV id=Circle54
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 347;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>感</FONT></P></DIV>
<DIV id=Circle55
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 330;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>谢</FONT></P></DIV>
<DIV id=Circle56
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 12;
top: 437;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>上</FONT></P></DIV>
<DIV id=Circle57
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 12;
top: 416;
width: 916;
height: 42&quot;>
<P><FONT color=#ff0000 size=4>帝</FONT></P></DIV>
<DIV id=Circle58
style=&quot;color: lemonchiffon;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 11pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 339;
width: 916;
height: 41&quot;>
<P><FONT color=#ff80c0 size=4>*</FONT></P></DIV>
<DIV id=Now
style=&quot;color: orange;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 5;
top: 402;
width: 916;
height: 19&quot;></DIV>
<DIV id=Title3
style=&quot;color: orange;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
visibility: hidden;
left: 13;
top: 357;
width: 916;
height: 19&quot;></DIV>
<DIV id=Add
style=&quot;font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 24pt;
font-family: arial;
position: absolute;
text-align: right;
visibility: hidden;
width: 250;
left: 17;
top: 348;
height: 19&quot;></DIV>
<DIV id=Entry
style=&quot;FONT: bold 24pt arial;
POSITION: absolute;
TEXT-ALIGN: right;
VISIBILITY: hidden;
WIDTH: 250px&quot;>
<P> </P></DIV>



<TABLE WIDTH=&quot;100%&quot;
height=&quot;100%&quot;
BORDER=&quot;0&quot;
CELLSPACING=&quot;0&quot;
CELLPADDING=&quot;0&quot;>
<TR ID=&quot;NoScript&quot;>
<TD Align=&quot;Center&quot;
Style=&quot;Color:White&quot;>对不起,图片浏览功能需脚本支持,但您的浏览器已经设置了禁止脚本运行。请您在浏览器设置中调整有关安全选项。</TD>
</TR>
<TR Style=&quot;Display:none&quot;
ID=&quot;CanRunScript&quot;>
<TD HEIGHT=&quot;100%&quot;
Align=&quot;Center&quot;
vAlign=&quot;Center&quot;>
<CENTER><Img style=&quot;right: 521px;
height=&quot;400&quot;
ID=&quot;Img&quot;
width=&quot;400&quot;
Border=&quot;0&quot;
></CENTER>
</TD>
</TR>
<TR Style=&quot;Display:none&quot;>
<TD><Img ID=&quot;TempImg&quot;
Border=&quot;0&quot;></TD>
</TR>
</TABLE>


<SCRIPT language=&quot;JavaScript&quot;>
var IsIE4 = (navigator.appVersion.charAt(0) >= 4 &amp;&amp;
navigator.appName == &quot;Microsoft Internet Explorer&quot;);

var IsNN4 = (navigator.appVersion.charAt(0) >= 4 &amp;&amp;
navigator.appName == &quot;Netscape&quot;);


var Title1,Title2,Title3,Text1,Text2,Text3,Text4,Now,Add,Entry;


var CenterX,CenterY,Pi,Inc;

var Circle = new Array();

var Pos = new Array();


var NowLeft,NowTop;

var Count = 0;

var Bright = 0;

var Brightfold = true;

var ColorIndex = &quot;0123456789ABCDEFFF&quot;;


vardo
c = (IsNN4)? &quot;document.&quot;
: &quot;document.all.&quot;;

var obj = (IsNN4)? &quot;&quot;
: &quot;.style&quot;;

if(!(IsIE4||IsNN4))
top.location=&quot;building.html&quot;;


function SetCenter()
{
this.left = (innerWidth - this.clip.width) / 2;

this.top = (innerHeight - this.clip.height) / 2;

}

function Setting()
{
Title1 = eval(doc+&quot;Title1&quot;+obj);

Title2 = eval(doc+&quot;Title2&quot;+obj);

Title3 = eval(doc+&quot;Title3&quot;+obj);

Text1 = eval(doc+&quot;Text1&quot;+obj);

Text2 = eval(doc+&quot;Text2&quot;+obj);

Text3 = eval(doc+&quot;Text3&quot;+obj);

Text4 = eval(doc+&quot;Text4&quot;+obj);

Now = eval(doc+&quot;Now&quot;+obj);

Add = eval(doc+&quot;Add&quot;+obj);

Entry = eval(doc+&quot;Entry&quot;+obj);

do
Fun(0)
}

functiondo
Fun(i)
{
Circle = eval(doc+&quot;Circle&quot;+i+obj);

i=i+1
if (i<=58) {
setTimeout(&quot;DoFun(&quot;+i+&quot;)&quot;,100);
//延迟1秒
}
else
{
do
Next()
}
}

functiondo
Next()
{
if(IsNN4)
{
Layer.prototype.setCenter = SetCenter;

LayerWidth =do
cument.Set.clip.width;

LayerHeight =do
cument.Set.clip.height;

BodyWidth = innerWidth;

BodyHeight = innerHeight;

Title1.setCenter();

Title2.setCenter();

Title3.setCenter();

Entry.setCenter();

Now.setCenter();

Title1.top = Title1.top - 24;

Title2.top = Title2.top - 24;

Title3.top = Title3.top - 24;

Now.top = Entry.top - 90;

Now.left = Entry.left - 110;

Entry.top = Entry.top + 30;

Entry.left = Entry.left + 35;

}
else

{
BodyWidth =do
cument.body.offsetWidth;

BodyHeight =do
cument.body.offsetHeight;

LayerWidth =do
cument.all.Set.offsetWidth;

LayerHeight =do
cument.all.Set.offsetHeight;

SetLeft = (BodyWidth - LayerWidth) / 2;

SetTop = (BodyHeight - LayerHeight) / 2;

Title1.left = SetLeft;

Title1.top = SetTop - 24;

Title2.left = SetLeft;

Title2.top = SetTop - 24;

Title3.left = SetLeft;

Title3.top = SetTop - 24;

Now.left = SetLeft - 55;

Now.top = SetTop - 65;

Add.left = SetLeft + 85;

Add.top = SetTop + 55;

Entry.left = SetLeft + 85;

Entry.top = SetTop + 75;

}
CenterX = BodyWidth / 2-20 ;

CenterY = BodyHeight / 2+25 ;

Radius = 260;

Pi = Math.PI;

Inc = Pi/180;


Pos[0] = 0;

for(i=1;i<Circle.length;i++) Pos = parseFloat(Pos[i-1] + ((2*Pi)/Circle.length));

for(i=0;i<Pos.length;i++)
{
Pos = Pos + Inc;

Circle.left = Radius*Math.cos(Pos) + CenterX - 5;

Circle.top = Radius*Math.sin(Pos) + CenterY - 5;

}

NowLeft = (BodyWidth - LayerWidth) / 2 - 100;

NowTop = (BodyHeight - LayerHeight) / 2 - 115;

MoveText1();

}

function MoveText1()
{
Text1.visibility = &quot;visible&quot;;

Text1.left = NowLeft;

Text1.top = NowTop;


NowLeft = NowLeft + 10;

NowTop = NowTop + 5;

if(NowLeft < (BodyWidth - LayerWidth) / 2 - 10 )
MoveText1ID = setTimeout(&quot;MoveText1()&quot;,50);

else

{
clearTimeout(MoveText1ID);

NowLeft = (BodyWidth - LayerWidth) / 2 + 200;

NowTop = (BodyHeight - LayerHeight) / 2 - 115;

MoveText2();

}
}

function MoveText2()
{
Text2.visibility = &quot;visible&quot;;

Text2.left = NowLeft;

Text2.top = NowTop;


NowLeft = NowLeft - 8;

NowTop = NowTop + 5;

if(NowLeft > (BodyWidth - LayerWidth) / 2 + 90 )
MoveText2ID = setTimeout(&quot;MoveText2()&quot;,50);

else

{
clearTimeout(MoveText2ID);

NowLeft = (BodyWidth - LayerWidth) / 2 - 50;

NowTop = (BodyHeight - LayerHeight) / 2 + 115;

MoveText3();

}
}

function MoveText3()
{
Text3.visibility = &quot;visible&quot;;

Text3.left = NowLeft;

Text3.top = NowTop;


NowLeft = NowLeft + 10;

NowTop = NowTop - 5;

if(NowLeft < (BodyWidth - LayerWidth) / 2 + 50 )
MoveText3ID = setTimeout(&quot;MoveText3()&quot;,50);

else

{
clearTimeout(MoveText3ID);

NowLeft = (BodyWidth - LayerWidth) / 2 + 200;

NowTop = (BodyHeight - LayerHeight) / 2 + 115;

MoveText4();

}
}

function MoveText4()
{
Text4.visibility = &quot;visible&quot;;

Text4.left = NowLeft;

Text4.top = NowTop;


NowLeft = NowLeft - 5;

NowTop = NowTop - 2;

if(NowLeft > (BodyWidth - LayerWidth) / 2 + 150 )
MoveText4ID = setTimeout(&quot;MoveText4()&quot;,50);

else

{
clearTimeout(MoveText4ID);

Fade();

}
}

function Fade()
{
var BackX = Math.random()*10;

var BackY = Math.random()*5;


if(Count<=50)
{
if(Math.random()<0.5)
{
BackX = -BackX;

BackY = -BackY;

}

Title1.visibility = &quot;visible&quot;;

Title2.visibility = &quot;visible&quot;;

Title2.left = parseInt(Title1.left) + BackX;

Title2.top = parseInt(Title1.top) + BackY;

FadeID = setTimeout(&quot;Fade()&quot;,50);

Count++;

}
else

{
Text1.visibility = &quot;hidden&quot;;

Text2.visibility = &quot;hidden&quot;;

Text3.visibility = &quot;hidden&quot;;

Text4.visibility = &quot;hidden&quot;;

Title1.visibility = &quot;hidden&quot;;

Title2.visibility = &quot;hidden&quot;;

clearTimeout(FadeID);

setInterval(&quot;Last()&quot;,10);

}
}

function Last()
{
var ColorHex = ColorIndex.charAt(Bright);

ColorHex = ColorHex + ColorHex + ColorHex + ColorHex + ColorHex + ColorHex;


if(IsIE4)
Add.visibility = &quot;visible&quot;;

Now.visibility = &quot;visible&quot;;

Entry.visibility = &quot;visible&quot;;

for (i=0;i<Pos.length;i++) Circle.visibility = &quot;visible&quot;;

Title3.visibility = &quot;visible&quot;;


if(IsIE4)
{
Title3.color = ColorHex;

if(Bright >= 17) Brightfold = false;

if(Bright <= 0) Brightfold = true;

if(Brightfold)
Bright++;

else

Bright--;

}

for(i=0;i<Pos.length;i++)
{
Pos = Pos - Inc;

Circle.left = Radius*Math.cos(Pos) + CenterX - 5;

Circle.top = Radius*Math.sin(Pos) + CenterY - 5;

}
}
</SCRIPT>

<Script Language=&quot;VBScript&quot;>
NoScript.Style.Display = &quot;none&quot;
CanRunScript.Style.Display = &quot;&quot;
Img.Src = FileListArr(0)
SetTimeout &quot;ChangeImg&quot;, PlayImg_M
</Script>

<SCRIPT language=JavaScript>
<!--
file://锁鼠标右键和键盘CONTEXTMENU键
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) { alert(&quot;不好意思,朋友,我可不希望我所喜欢的人的照片被拷贝,谢谢合作-_^&quot;);
oncontextmenu='return false';
}
}
if (document.layers) {
if (e.which == 3) {
oncontextmenu='return false';
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
document.oncontextmenu = new Function(&quot;return false;&quot;)
// -->
</SCRIPT>
<script language=&quot;JavaScript&quot;>
<!--
function window::onresize()
{
location.reload();
}
// -->
</script>
 
顺便说一句,搂主你做的这个页面花样还真多,呵呵
 
后退
顶部