Here is the code you were wanting
to add more immages or take away just add to the Array
**************************************************************************
<HTML>
<HEAD>
<TITLE>Rotating Banners</TITLE>
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!-- Hide script from old browsers
adImages = new Array("images/banner1.gif","images/banner2.gif","images/banner3.gif")
thisAd = 0
imgCt = adImages.length
function rotate() {
if (document.images) {
thisAd++
if (thisAd == imgCt) {
thisAd = 0
}
document.adBanner.src=adImages[thisAd]
setTimeout("rotate()", 3 * 1000)
}
}
// End hiding script from old browsers -->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="WHITE" onLoad="rotate()">
<CENTER>
<IMG SRC="images/banner1.gif" WIDTH="400" HEIGHT="75" NAME="adBanner" ALT="Ad Banner">
</CENTER>
</BODY>
</HTML>
**************************************************************************************
Tom <tp482@h...> wrote:Thanks
But it's only one image. I have 4 image in a row and want to change one
after the other.
Tom
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now