How to make Ads Image Slideshow ( 125x 125 or any size )


In this post i have given javascript code for Ads Image Slideshow.You can see it in my blog. From this you can save some space.

How to Implement….

1. Login to Blogger Dashboard

2. Go to Layout and Click on Add a Gadget

3. Select Html/Javascript

4. Paste following code in opened box …

<SCRIPT LANGUAGE="JavaScript">
<!–

//set image paths
src = ["http://files.adbrite.com/mb/images/125x125-1-red.gif", ""]

//set corresponding urls
url = ["http://www.adbrite.com/mb/landing_both.php?spid=102682&afb=125x125-1-red", ""]

//set duration for each image
duration = 4;

//Please do not edit below
ads=[]; ct=0;
function switchAd() {
var n=(ct+1)%src.length;
if (ads[n] && (ads[n].complete || ads[n].complete==null)) {
document["Ad_Image"].src = ads[ct=n].src;

}
ads[n=(ct+1)%src.length] = new Image;
ads[n].src = src[n];
setTimeout("switchAd()",duration*1000);
}
function doLink(){
location.href = url[ct];
} onload = function(){
if (document.images)
switchAd();
}
//–>
</SCRIPT>
<A HREF="javascript:doLink();" onMouseOver="status=url[ct];return true;"
onMouseOut="status=”">
<IMG NAME="Ad_Image" SRC="http://files.adbrite.com/mb/images/125×125-1-red.gif" BORDER=0>
</A>
<p align="center"><font face="arial" size="-2"> <a href="http://blogger-godown.blogspot.com">Get this Script</a></font></p>

5. Change red colored image address with your images and blue colored with corresponding url of the images and set duration by modifying pink colored number.You will see red colored image address at the bottom of the script, change this with your first image.

Featured Items - Top 10 Website Hosting Provider 2012

Want to host your website in one of the top rated Web Hosting company ? Ratings are collected from the user all over the world and given a ranking based on the user feedback. All Plan includes: Free domain, Unlimited Space, Bandwidth, unlimited sites, free marketing credits and which also includes attractive discount.
FIND OUT MORE

Featured Items - Recommended WordPress and Web Development Books

Want to learn IN and OUT of web development and become professional web developer? Here are the list of WordPress and Web Development books which i recommend you to start with.
FIND OUT MORE

Featured Items - Unlimited Web Hosting from HostGator 25% OFF

HostGator is a one of the most trusted Easy and Affordable Web Hosting Provider next to Inmotion Hosting. LIMITED TIME OFFER! Get 25% OFF using coupon code: BLOGOSYS25
FIND OUT MORE

Featured Items - Business Class Hosting From Inmotion at Just $5.95

Inmotion is a No.1 Fast, Reliable and Affordable Hosting provider. Inmotion has earned 3 out of 3 rating from CNET to become a CNET Certified Service Provider. LIMITED TIME SPECIAL OFFER! - Get $1 Off / Month on your initial purchase
FIND OUT MORE

Featured Items - Ultimate Collection of Responsive WordPress Themes

Responsive WordPress themes enables stunning look and feel of your website in any device - from mobile devices to widescreen monitors. These collections are sorted by user rating and number of sales.
FIND OUT MORE