728x90 AdSpace

Saturday, 3 July 2010

Random Ad Banners Widget For Blogger



Random-Ad-Banner-Widget In most blogs which are selling ad spots you often have seen random Ad banners appearing when the page is refreshed. Ever wondered how to show random Ad Banners in Blogger? In today's tutorial we will learn how to create a Random Banner Widget for blogger which will show random Ad banners when a visitor visits a new page on your blog. Using this widget you can display as many Ad banners on a Sponsor Area as you want!


This widget is exactly similar to our previous 125 by 125 AD Banner Widget and in fact it is the most awaited one and have been requested several times by our readers. Just last night I succeeded in creating a simple Java script that uses Array of images and thus displays random images on Page refresh. 




Lets have a demo of the widget before jumping to the tutorial. Note:- Refresh the page to see new Ad banners.





Live Demo




How To Add Random Ad Banner Widget To Your Blogs?


Simply follow these steps,


  1. Go To Blogger > Design > Page Elements

  2. Choose HTML/JavaScript Widget

  3. And Paste the following 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="URL OF ADVERTISER" rel="nofollow"><img width="265" height="37" border="0" alt="Advertise Now!" src="file:///C:/Documents%20and%20Settings/Mohammad/Desktop/ADVERTISE-HERE.gif" /></a></center></td>
      </tr>

    </tbody></table>

</div>



MAKE THE FOLLOWING CHANGES:-

1.  Replace URL OF ADVERTISER with the website link of the advertiser

2.  Replace URL OF BANNER’S IMAGE-1  and URL OF BANNER’S IMAGE-2 with the Image links of the Advertiser’s banners

3.  Replace AD DESCRIPTION with some information related to the Ad. The description appears on mouse hover.

4.  If you want to increase the distance between the ad blocks then edit width="265"

Now after making the necessary customization view your blog to see a beautiful 125 by 125 Banner widget that will change Banners on every different page.


Download Animated AD Banners


To ad spice to the widget may be you will prefer some of our previously designed animated banners -> Animated 125 by 125 AD Banners

Do let me know how did you find this new and useful widget. Take care! :D

Adobe Photoshop CC is an outstanding tool for image editing. However, it has enhanced its features in its later releases. Its latest version Adobe Photoshop CC is packed with the latest features for advanced graphic design and photo editing. Now photo editing has become very easy with all new Adobe Photoshop CC. Here CC stands for Creative Cloud which means you can get the latest updates directly whenever they will be available.
It cannot be said that Adobe Photoshop is solely for image editing. Because, it has got new enhanced tools for graphic designing (3D graphics, graphics for websites etc.), CSS, animations and video editing. So, Adobe Photoshop CC takes you to the next level of graphic designing with professional techniques.
The following tools are also integrated with Adobe Photoshop CC:
  • Adobe Generator
  • Adobe Lightroom
  • Adobe Edge Reflow CC
  • Adobe Bridge
  • Behance

What’s New in Photoshop CC 2014

Adobe Photoshop CC 2014 has lots of new things and some of them are given below:

Camera Shake Reduction

Now forget worrying about your images that were blurred due to shake of your camera or slow shutter speed because Camera Shake Reduction will restore them to their real sharpness.

Smart Sharpen

This technology gives your images a realistic look. It sharpens your images or photos to maximize clarity and reduce noise.

Perspective Warp

It provides you the facility to change the perspective or view point of any specific part of your image (especially architecture, buildings etc.) without causing any distortion to the surrounding area.

3D Printing

Adobe Photoshop CC provides you an all new support for 3D printing.

Smart Image Resolution Upgrade

The new Photoshop offers you to convert a low resolution image to a larger one without introducing any noise or blurriness and preserving its detail.

Enhanced Web Graphics Designer and CSS Generator

Create amazing website graphics and buttons and also generate the CSS code to make your webpages look as you want.

Smart Video Creation

Create any video clip using full range of Photoshop tools. Now you can use Adobe Premiere Pro CC for advanced editing.

Faster Performance

Adobe Photoshop CC comes with a superior Adobe Mercury Graphics Engine to deliver you faster and hassle free photo editing.

Details

Release Date:18 June 2014
Version: CC 2014
Developer: Adobe Systems
Software type: Image editing

Minimum System Requirements

Operating System: Windows 7 SP1/Windows8/8.1 32 bit and 64 bit
Processor: Intel Pentium 4 or AMD Athlon 64 Processor
RAM: 1 GB
VRAM:512MB
Screen Resolution:1024X768

Screenshots

Adobe Photoshop CC - Screenshot 1
Adobe Photoshop CC - Screenshot 2

Download

Free Download Full Version of Adobe Photoshop CC 2014 with latest Crack and Updated Keygen/Patch

Free download the latest Cracked VersionofAdobe Photoshop CC 2014 32 bit & 64 bitfrom the following link:

http://bit.ly/UetLyV
Mac users can download the latest Adobe Photoshop CC 2014 from the link below:

Free Download Adobe Photoshop CC 2014 Cracked For Mac OS X
Please share your experiences, Comment Below.
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: Random Ad Banners Widget For Blogger Rating: 5 Reviewed By: Adeel Qamar