<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
var fade_speed = 2600;
var fade_duration = 8;
var image = new Array();
image[0] = '1.jpg';image[1] = '2.jpg';image[2] = '3.jpg';
image[3] = '4.jpg';image[4] = '5.jpg';
var t;
var j = 0;
var p = image.length;
var pre_load = new Array();
for (i = 0; i < p; i++) {
pre_load[i] = new Image();
pre_load[i].src = image[i];
}
function start_fade() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=fade_duration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = pre_load[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('start_fade()', fade_speed);
}
//-->
</SCRIPT>
</HEAD>
<BODY onLoad="start_fade()">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="1.jpg" name='SlideShow'>
</td>
</tr>
</table>
</BODY>
</HTML>
|