image



Hardeep Asrani shows us a great way on how to promote your blog. It’s by adding a random banner widget to your Blogger.
Here’s how you can do it, simply follow these few simple steps:
  1. Go to Blogger > Layout > Add A Gadget > HTML/Javascript
  2. Paste the code below

<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>
3. Just change URL OF ADVERTISER with your own links and URL OF BANNER’S IMAGE-1/2/3 with your images.
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

 
Top