How It Looks..
var imgs1 = new Array("http://i585.photobucket.com/albums/ss299/pratikyou/template/rss.jpg","http://i585.photobucket.com/albums/ss299/pratikyou/template/com.jpg","http://i585.photobucket.com/albums/ss299/pratikyou/template/ad1.gif","http://i585.photobucket.com/albums/ss299/pratikyou/template/ad6.gif","Your Image Link");
var lnks1 = new Array("http://www.widgetblogger.co.cc","http://i585.photobucket.com/albums/ss299/pratikyou/template/ad3-1.gif","http://www.yahoo.com","http://www.ezinfocenter.com/10142921/CB","http://www.google.com");
var alt1 = new Array();
var currentAd1 = 0;
var imgCt1 = 5;
function cycle1() {
if (currentAd1 == imgCt1) {
currentAd1 = 0;
}
var banner1 = document.getElementById('adBanner1');
var link1 = document.getElementById('adLink1');
banner1.src=imgs1[currentAd1]
banner1.alt=alt1[currentAd1]
document.getElementById('adLink1').href=lnks1[currentAd1]
currentAd1++;
}
window.setInterval("cycle1()",9000);
Here is the javascript below which is very easy to use:-
Just copy the codes from below and paste to your
As usual ..LAYOUT > ADD PAGE ELEMENT > HTML/JAVASCRIPT
Just copy the codes from below and paste to your
As usual ..LAYOUT > ADD PAGE ELEMENT > HTML/JAVASCRIPT
<script type="text/javascript">
var imgs1 = new Array("http://your Image Link Here.gif","https://your Image link.gif","https://Image Link.gif","https://Image Link","http://image Link");
var lnks1 = new Array("http://www.linkworth.com/?a=15034","http://Clickable Link here","http://Clickable link","http://Clickable Link","http://Clickable Link");
var alt1 = new Array();
var currentAd1 = 0;
var imgCt1 = 5;
function cycle1() {
if (currentAd1 == imgCt1) {
currentAd1 = 0;
}
var banner1 = document.getElementById('adBanner1');
var link1 = document.getElementById('adLink1');
banner1.src=imgs1[currentAd1]
banner1.alt=alt1[currentAd1]
document.getElementById('adLink1').href=lnks1[currentAd1]
currentAd1++;
}
window.setInterval("cycle1()",9000);
</script>
<a id="adLink1" href="http://Your First link" target="_blank">
<img id="adBanner1" border="0" width="125" src="youir Image Link here" height="125"/></a>
INSTALLATION
1) Links are urls that your images direct to in Banner. So change them according to your images.
2) Links in green are the web address to images so modify them.
3) var imgCt1 = 5; in brown is 5 i.e total no of images you using so change it to how many images you are using.
4) window.setInterval("cycle1()",9000); in orange is 9000 is the ime interval at which time the banner changes to adjust it according to your needs.
5) Height and width are 125 the size of default add you are using to start load.
Enjoy guys It's done
1) Links are urls that your images direct to in Banner. So change them according to your images.
2) Links in green are the web address to images so modify them.
3) var imgCt1 = 5; in brown is 5 i.e total no of images you using so change it to how many images you are using.
4) window.setInterval("cycle1()",9000); in orange is 9000 is the ime interval at which time the banner changes to adjust it according to your needs.
5) Height and width are 125 the size of default add you are using to start load.
Enjoy guys It's done
hey widget blogger,
ReplyDeletelets share our website link in each other blog.
hope it provide some way to achieve success.
I will put your link on my blog.
Please put my link on your blog and that is
http://www.indian-administrative-services.blogspot.com
Together difference can be made.
thanx a lot!
ReplyDeleteafter so many milleniums,i finally found the correct script for my blog! ^_^
Thank you, Thank you! This is awesome. Great work!
ReplyDeletepas mal...merci pour les information tres utile
ReplyDeletepas mal....merci
ReplyDeletecan share a sample ?
ReplyDeleteI cant do it ... :(