Important: All scripts hosted on widcraft.googlecode.com don't work anymore because Google has blocked that SVN repository.
Random banner widget is the best way to promote your blog content or to promote your
advertisements on your blog.....every time your visitor will see a random banner of your post/advert on your blog..... and its simple to add just follow these steps
- Go To Blogger > Layout > Add A Gadget > HTML/Javascript
- Paste the following script
<script language="JavaScript">
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>
- Now Change URL OF ADVERTISER with your links and URL OF BANNER’S IMAGE-1/2/3 with your images..
- You can also change height and width of pics by chaning height='60px' width='468px' .
- You can also add more banners by changing the script.
Confused or need help then please comment....i won't bite... :p
Important: Check our new website TricksPanda.com for WordPress tutorials, plugins and more.