How To Create a Random 468x60 Ad Banner For Your Blog

Saturday 5 May 2012

Show Random Ads on Your bloggers blog,You can Add Up to 3 Advertise URLs and Images in this Java Script.
Simply Just Add Below JavaScript to Add Widget Area in your blog.

 


HOW To Install This Code : 


  • Go to Layout
  • Add Widget HTML/JavaScript box
  • Paste Below Code in That Widget box,Save it

<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' alt='AD DESCRIPTION'></a>";
images[1] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-2' border='0' height='60px' width='468px' alt='AD DESCRIPTION'></a>";
images[2] = "<a href = 'URL OF ADVERTISER' rel='nofollow' ><img src='URL OF BANNER’S IMAGE-1' border='0' height='60px' width='468px' alt='AD DESCRIPTION'></a>";
index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>


Make Following Changes.
  • Replace URL Advertise with You Link
  • Replace Image 1,2,3 Links With Your Images Links.
  • Add Description of Your Ads
I Hope You Like My Post , If Yes Comment Below 

No comments:

Post a Comment

Please Do not Spam.Your Comment is Value Able for our Team.

Regards,

iBloggr Master Modrator