this is what I have so far, I can only get it to work with the two pictures, and I need 5:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Concert Ads</title>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<link rel="stylesheet" href="pineknoll_styles.css" type="text/css" />
<script type="text/javascript">
/* <![CDATA[ */
var curImage="concert1";
var changeImages;
function concertAd() {
if (curImage =="concert2") {
document.images[0].src = "concert1.gif";
curImage = "concert1";
}
else {
document.images[0].src = "concert2.gif";
curImage = "concert2";
}
}
/* ]]> */
</script>
</head>
<body onload="var changeImages=setInterval('concertAd()',1000);">
<table width="100%" cellpadding="0" cellspacing="0">
<colgroup span="1" align="left" />
<colgroup span="1" align="center" />
<tr>
<td><img src="concert1.gif" height="60" width="370" alt="Image"/><br /></td>
</tr>
</table><hr />
</body>
</html>
Comment