Sunday, 1 March 2015

Random Ad Banners Widget For Blogger

Random Ad Banners Widget For Blogger
Placing advertise section with banner ads on your blog is one of the best way for earning some money while getting good traffic to your blog. Getting approved with Buysellads lacks somuch traffic and suppose if you are in the middle, then why to wait for Buysellads to approve your blog!!. Place banner ads on your sidebar manually and start getting advertisers soon.

Random Ad Banners widget for Blogger
1. Go to your blogger dashboard –> layout –> Add a gadget.
2. Choose Html/Javascript gadget.
3. Paste the below code inside it.
<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>
4. Save Your Gadget.

Customizations

  • Replace WIDTH=’265′ To your desired width.
  • Replace URL OF BANNER’s IMAGE with the advertiser’s banner Url.
  • Replace URL OF ADVERTISER with the advertiser’s URL. 
  • Replace YOUR CONTACTING URL with the Url of your contact form or some other page you wish so that advertisers would contact you.
Previous Post
Next Post

post written by: