Hi everybody
Thank you SO MUCH for all you help, now it's almost working - I'm very very greatfull for all your help.
But theres still something... Cause when you click on the slideshow, the slideshow opens in the correct frame, but it should be the link associated with the slideshow that opens in the frame.
Well, that's not a good explanation, you can see it here:
http://husoghave.hosted4free.dk/
I must have screwed up something in the script, but I don't know where. I thought I made all your suggested changes correct, but I don't know, where I went wrong.
I've pasted the script down below, and hope you can help me once againg.
I'm very greatfull for your help. With thanks in advance
Kind regards
GoGreen
- the code -
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Ny side 2</title>
<script language="JavaScript1.1">
<!--
//*****************************************
// Blending Image Slide Show Script-
// © Dynamic Drive (
www.dynamicdrive.com)
// For full source code, visit
http://www.dynamicdrive.com/
//*****************************************
//specify interval between slide (in mili seconds)
var slidespeed=3000
//specify images
var slideimages=new Array("hoens.jpg","affald1.jpg","agurk.jpg")
//specify corresponding links
var slidelinks=new Array("hons.htm","affald.htm","indretning.htm")
var newwindow=0 //open links in new window? 1=yes, 0=no
var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}
function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink])
else
parent.hovedramme.location=slidelinks[whichlink]
}
//-->
</script>
<base target="hovedramme">
</head>
<body bgcolor="#005300">
<p align="center">
<p align="center">
<a href="#null" onclick="gotoshow()"><img src="hoens.jpg" name="slide" border=0 style="filter:blendTrans(duration=3)" width=100 height=300></a>
<script language="JavaScript1.1">
<!--
var whichlink=0
var whichimage=0
var blenddelay=(ie)? document.images.slide.filters[0].duration*5000 : 0
function slideit(){
if (!document.images) return
if (ie) document.images.slide.filters[0].apply()
document.images.slide.src=imageholder[whichimage].src
if (ie) document.images.slide.filters[0].play()
whichlink=whichimage
whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
setTimeout("slideit()",slidespeed+blenddelay)
}
slideit()
//-->
</script>
<p align="center"> </p>
</body>
</html>