I am trying to have one large image randomly change each time the page reloads. Trying to figure it out from other peoples posts and replies but I just can’t seem to understand.
This is the site I just started and the script I copy and pasted from someone elses posting. My question is how or where do I specify my own images into it? Thankyou so much
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “
<!– saved from url=(0014)about:internet –>
<html>
<head>
<script language=”JavaScript”>
<!– Hide from old browsers
var imagenumber = 3 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;
images = new Array
images[1] = “images/top_image_01.jpg”
images[2] = “images/top_image_02.jpg”
images[3] = “images/top_image_03.jpg”
var image = images[rand1]
// — End Hiding Here –>
</script>
<title>Greg Gordon Photography, Duncan BC</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<link href=”boots.css” rel=”stylesheet” type=”text/css”>
</head>
<body>
<div id=”navigation”>
<h2>The Main navigation</h2>
<ul>
<li><a href=”#”>Page One</a></li>
<li><a href=”#”>Page Two</a></li>
</ul>
</div>
<div id=”header”>
<h1>Greg Gordon Photography</h1>
<p> You are at the home of Greg Gordon Photography. This site is dedicated to many. Family and friends who have been fans of Greg&s work for decades. Please enjoy some of his work here and feel free to contact him with questions or comments. </p>
</div>
<div id=”centerDoc”>
<h2>Enjoy the images</h2>
<img name=”myimg1″ src=””>
<img name=”myimg1″ src=””>
</div>
</body>
</html>