[tt]Could anyone please advise me on how to make my 5 images link to specific locations of our website? Thanks in avance, here's my code[/tt]
[tt]
<script LANGUAGE="JavaScript">
<!--Hide
var numImages = 5
var allImages = new Array(numImages)
var i = 0
allImages[0] = new Image()
allImages[0].src = "image1.gif" 'Should go to Yahoo.com
allImages[1] = new Image()
allImages[1].src = "image2.gif" 'Should go to MSN.com
allImages[2] = new Image()
allImages[2].src = "image3.gif" 'Should go to Hotmail.com
allImages[3] = new Image()
allImages[3].src = "image4.gif" 'Should go to Disney.com
allImages[4] = new Image()
allImages[4].src = "image5.gif" 'Should go to CDNow.com
function nextImage() {
document.images[0].src = allImages.src
i = i + 1
if (i>=numImages)
{
i = 0
}
setTimeout("nextImage()", 4000)
}
setTimeout("nextImage()", 4000)
//Stop Hiding-->
</script>
[/tt]
"The reward of one duty done is the power to fulfill another"
J R C L W N