Die Diashow klappt aber der öffnet die Bilder irgendwie nicht in nem neuen Fenster.
Wo liegt hier der Fehler?
externer Link
Hier der code:
<script language="JavaScript1.2">
<!--
function reapply(){
setTimeout("slideit()",2000)
return true
}
window.onerror=reapply
// einbinden der Grafiken
var image1=new Image()
image1.src="dia/1.jpg"
var image2=new Image()
image2.src="dia/2.jpg"
var image3=new Image()
image3.src="dia/3.jpg"
var image4=new Image()
image4.src="dia/4.jpg"
var image5=new Image()
image5.src="dia/5.jpg"
var image6=new Image()
image6.src="dia/6.jpg"
var image7=new Image()
image7.src="dia/7.jpg"
var image8=new Image()
image8.src="dia/8.jpg"
// -->
</script>
<a href="javascript:slidelink()"
onMouseover="window.status='LAN & Friends';return true"
onMouseout="window.status=''">
<img src="dia/8.jpg" name="slide" border=0 style="filter:blendTrans(duration=3)" width="96" height="72"></a>
<script>
<!--
var number_of_images=8 // Anzahl der Grafiken
var speed=3 // Geschwindigkeit des Filterübergang
var step=1 // Schrittanzahl
var image=1 // Start der ersten Grafik
function slideit(){
if (!document.images)
return
if (document.all)
slide.filters.blendTrans.apply()
document.images.slide.src=eval("image"+step+".src")
if (document.all)
slide.filters.blendTrans.play()
whichimage=step
if (step<number_of_images)
step++
else
step=1
if (document.all)
setTimeout("slideit()",speed*1000+2500)
else
setTimeout("slideit()",speed*1000)
}
function slidelink(){
if (image==1) // 1 Grafik
window.location="http://www.future-djs.apg-hosting.info/Lan/dia/1.jpg" // Link zur 1 Grafik
else if (image==2) // 2 Grafik
window.location="http://www.future-djs.apg-hosting.info/Lan/dia/2.jpg" // Link zur 2 Grafik
else if (image==3) // 3 Grfik
window.location="http://www.future-djs.apg-hosting.info/Lan/dia/3.jpg" // Link zur 3 Garfik
else if (image==4) // 4 Grafik
window.location="http://www.future-djs.apg-hosting.info/Lan/dia/4.jpg"
// Link zur 4 Grafik
window.location="http://www.future-djs.apg-hosting.info/Lan/dia/5.jpg"
window.location="http://www.future-djs.apg-hosting.info/Lan/dia/6.jpg"
window.location="http://www.future-djs.apg-hosting.info/Lan/dia/7.jpg"
window.location="http://www.future-djs.apg-hosting.info/Lan/dia/8.jpg"
}
// -->
</script>
Zuletzt geändert von Calypso am 16.07.2004 - 13:53
Zuletzt geändert von Calypso am 16.07.2004 - 13:53