-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path11_slide_show_random.htm
48 lines (46 loc) · 1.24 KB
/
11_slide_show_random.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
42
43
44
45
46
47
48
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>I colori del buio ~ Slide Show</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="JavaScript" type="text/javascript">
<!--
var myimages=new Array(
"g_01_gambe_ritsu",
"g_02_osabe_hiroshi",
"g_03_hirasaha_miwayasu",
"g_04_sonoda_tsutomu",
"g_05_watanabe_yoshitsugu",
"i_gabbiani_bosilio",
"i_menenti_elsa",
"i_castiglione_ferdinando",
"i_matteini_gianguido",
"i_torre_pasquale",
"t_kramer_edith",
"t_petzsch_r")
function random_imglink(){
var ry=Math.floor(Math.random()*myimages.length);
var hgt=200;
if (document.getElementById) {
hgt=document.body.clientWidth*0.67;
if (hgt > document.body.clientHeight*.9) hgt=document.body.clientHeight*.9;
document.title=myimages[ry]+".jpg " + document.body.clientWidth + " " + document.body.clientHeight + " " + hgt;
}
else {
hgt=document.innerWidth*0.67;
}
document.sld.height=hgt;
document.sld.src="images/"+myimages[ry]+".jpg";
setTimeout("random_imglink()",3000);
}
//-->
</script>
</head>
<body bgcolor=black onload="random_imglink()">
<div align="center">
<center>
<img src="images/g_01_gambe_ritsu.jpg" align="center" name="sld" height="480">
</center>
</div>
</body>
</html>