Hallo @ all!
Weiß jemand wie ich eine Diashow mit PHÜ machen kann?
Sie sollte so änlich wie bei www.lachschon.de sein!
					Weiß jemand wie ich eine Diashow mit PHÜ machen kann?
Sie sollte so änlich wie bei www.lachschon.de sein!
 Wie viele Threads gibt es zu dem Thema. 
 Und noch dazu ist es das falsche Forum!!!
<body onload="runSlideShow()">
<script language="JavaScript1.2">
var crossFadeDuration = 3;
var Pic = new Array();
Pic[0]   = '001.jpg'
Pic[1]   = '002.jpg'
Pic[2]   = '003.jpg'
Pic[3]   = '004.jpg'
Pic[4]   = '005.jpg'
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
}
</script>
<br><br><br><br><br><br>
<center>
<table border="0" bgcolor="#010e49" cellspacing="0" cellpadding="7">
<tr>
<td>
<img src="001.jpg" name='SlideShow'></td>
</tr>
</table>
<br>
<button onclick="runSlideShow()">next</button>
</center>
</body> 
function runSlideShowback() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j - 1;
if (j = 0) j = p;
} 
Comment