ok, it's now time to add the banner rotator script to my page and I have some beginner problems here.
Here is what I did:
1) I uploaded the file you gave me.
2) I added this part of the script into the head of my document:
Quote:
<script src="bannerRotator.js" type="text/javascript"></script>
<script type="text/javascript">
var imagesList = new Array("img1.jpg", "img2.jpg", "img3.jpg");
window.onload = function() {
var controlID = document.getElementById("ImageController");
return BannerRotator(controlID, imagesList, null);
};
</script>
|
3) I added this part of the script into the body part of my document where I want the banners to be (right at the top after the body tag):
Quote:
<div id="BannerContainer">
<img id="ImageController" src="img1.jpg" alt="" />
</div>
|
You can view my page here:
Fish-Med
have I done it right?
Thank you for your time