Page Contents
How to Add Random Ads Widget for a Blogger Blog:

Steps to Add Random Ads widget:
<div align=”center”> <table border=”0″ cellpadding=”2″ cellspacing=”6″ width=”265″bgcolor=”#ffffff”> <tbody><tr><td><center> <!– BANNER#1 –><script language=”JavaScript”> images = new Array(2); images[0] = “<a href = ‘URL OF ADVERTISER‘ rel=’nofollow’ ><img src=’URL OF BANNER’S IMAGE-1‘ border=’0′ height=’125′ width=’125′ alt=’AD DESCRIPTION’></a>”; images[1] = “<a href = ‘URL OF ADVERTISER‘ rel=’nofollow’ ><img src=’URL OF BANNER’S IMAGE-2‘ border=’0′ height=’125′ width=’125′ alt=’AD DESCRIPTION’></a>”; index = Math.floor(Math.random() * images.length); document.write(images[index]); </script> </center></td> <td><center> <!– BANNER#2 –><script language=”JavaScript”> images = new Array(2); images[0] = “<a href = ‘URL OF ADVERTISER‘ rel=’nofollow’ ><img src=’URL OF BANNER’S IMAGE-1‘ border=’0′ height=’125′ width=’125′ alt=’AD DESCRIPTION’></a>”; images[1] = “<a href = ‘URL OF ADVERTISER‘ rel=’nofollow’ ><img src=’URL OF BANNER’S IMAGE-2‘ border=’0′ height=’125′ width=’125′ alt=’AD DESCRIPTION’></a>”; index = Math.floor(Math.random() * images.length); document.write(images[index]); </script> </center></td> </tr> <tr> <td><center> <!– BANNER#3 –><script language=”JavaScript”> images = new Array(2); images[0] = “<a href = ‘URL OF ADVERTISER‘ rel=’nofollow’ ><img src=’URL OF BANNER’S IMAGE-1‘ border=’0′ height=’125′ width=’125′ alt=’AD DESCRIPTION’></a>”; images[1] = “<a href = ‘URL OF ADVERTISER‘ rel=’nofollow’ ><img src=’URL OF BANNER’S IMAGE-2‘ border=’0′ height=’125′ width=’125′ alt=’AD DESCRIPTION’></a>”; index = Math.floor(Math.random() * images.length); document.write(images[index]); </script> </center></td> <td><center> <!– BANNER#4 –><script language=”JavaScript”> images = new Array(2); images[0] = “<a href = ‘URL OF ADVERTISER‘ rel=’nofollow’ ><img src=’URL OF BANNER’S IMAGE-1‘ border=’0′ height=’125′ width=’125′ alt=’AD DESCRIPTION’></a>”; images[1] = “<a href = ‘URL OF ADVERTISER‘ rel=’nofollow’ ><img src=’URL OF BANNER’S IMAGE-2‘ border=’0′ height=’125′ width=’125′ alt=’AD DESCRIPTION’></a>”; index = Math.floor(Math.random() * images.length); document.write(images[index]); </script> </td></center> </tr> </tbody></table> <table border=”0″ bordercolor=”#0084ce” cellpadding=”2″ cellspacing=”6″ width=”265″ bgcolor=”#ffffff”> <tbody><tr><td><center><a href=”Your Contacting Url” rel=”nofollow”><img width=”265″ height=”37″ border=”0″ alt=”Advertise Now!” src=”http://2.bp.blogspot.com/-wBzvuFdWWPg/T3_ekIgPkpI/AAAAAAAAAaE/fleJTBbHB_0/s1600/advertisenow.png” /></a></center></td></tr></tbody></table> </div>
5)Save the Gadget.
Must See:Add Facebook Popup Like Box Widget in Blogger
Customizations:
- Replace Width=”265″ with your Desired width.
- Replace “URL OF ADVERTISER” With your Advertiser Url.
- Replace “URL OF BANNER’S IMAGE” with Your Banner Url.
- Replace “Contacting Url” with Your Contact Url.
- That’s it You have done.
Conclusion: