Well, on the old forum one of the moderators gave me code so I could have rotating images appear upon each refresh of my webpage. This is the code ....
<script type="text/javascript">
//Specify random URLs to display inside iframe
var randomcontent=new Array()
randomcontent[0]="index_htm_files/header-670.jpg"
randomcontent[1]="index_htm_files/header-index.png"
randomcontent[2]="index_htm_files/header-j-DiMeh9.jpg"
randomcontent[3]="index_htm_files/header-s32772q.png"
randomcontent[4]="index_htm_files/header-unnamed.png"
//No need to edit after here
document.write('<img src="'+randomcontent[Math.floor(Math.random()*randomcontent.length)]+'" width="100%" height="100%"></img>')
</script>
It works well! Only, now I would like it to work so that you can press on the image and it will take you to a link or webpage. Can somebody tell me how I can edit this code so that it will work that way?
Thanks, Todd Nebel