Here’s how you can do it, simply follow these few simple steps:
- Go to Blogger > Layout > Add A Gadget > HTML/Javascript
- Paste the code below
<script language="JavaScript">3. Just change URL OF ADVERTISER with your own links and URL OF BANNER’S IMAGE-1/2/3 with your images.
images = new Array(3);
images[0] = "<a href = 'URL OF
ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-
1' border='0'height='60px' width='468px'
></a>";
images[1] = "<a href = 'URL OF
ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-
2' border='0'height='60px' width='468px'
></a>";
images[2] = "<a href = 'URL OF
ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-
3' border='0'height='60px' width='468px'
></a>";
index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>
4. Customize your preferred height and width of images by changing height=’60px’ width=’468px’
5. If you want to add more banners just modify the script.
0 comments:
Post a Comment