会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
[Leya] 管理掌握前進方向 技術提供前進動力
博客园
首页
新随笔
联系
订阅
管理
创建幻灯片
Code
1
<
script language
=
”JavaScript”
>
2
var imageList
=
new
Array;
3
imageList[
0
]
=
new
Image;
4
imageList[
0
].src
=
“image1.jpg”;
5
imageList[
1
]
=
new
Image;
6
imageList[
1
].src
=
“image2.jpg”;
7
imageList[
2
]
=
new
Image;
8
imageList[
2
].src
=
“image3.jpg”;
9
imageList[
3
]
=
new
Image;
10
imageList[
3
].src
=
“image4.jpg”;
11
function slideShow(imageNumber)
{
12
document.slideShow.src
=
imageList[imageNumber].src;
13
imageNumber
+=
1
;
14
if
(imageNumber
<
imageList.length)
{
15
window.setTimeout(“slideShow(“
+
imageNumber
+
“)”,
3000
);
16
}
17
}
18
</
script
>
19
</
head
>
20
<
body onLoad
=
”slideShow(
0
)”
>
21
<
img src
=
'
http://www.cnzzw.com.cn/”image1.jpg
'
” width
=
100
name
=
”slideShow”
>
posted @
2008-01-08 16:52
Leya
阅读(
108
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
公告