-
Notifications
You must be signed in to change notification settings - Fork 2
/
PictureBox.htm
41 lines (30 loc) · 972 Bytes
/
PictureBox.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<title>PictureBox</title>
<link rel="stylesheet" type="text/css" href="jWebForm.css" />
<script type="text/javascript" src="jWebForm.js"></script>
<script type="text/javascript" src="PictureBox.js"></script>
<script type="text/javascript">
$j.Page_Load = function Page_Load() {
var picBox1 = $j("picBox1");
picBox1.LoadImages(
[
"images/美女1-1.jpg",
"images/美女1-2.jpg",
"images/美女1-3.jpg"
],
function (p) {
p.Play();
}
);
}
</script>
</head>
<body>
每 5 秒 播放一张图片<br /><br />
PictureBox 已经过时,建议使用 PictureBoxFit <a target="_blank" href="PictureBoxFit.htm">PictureBoxFit.htm</a>
<br /><br />
<j:PictureBox id="picBox1" ></j:PictureBox>
</body>
</html>