Blog Template 2.0: Multiple Random Banner in one ads place. <body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d5560732631221352938\x26blogName\x3dBlog+Template+2.0\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://blogtemplate20.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://blogtemplate20.blogspot.com/\x26vt\x3d3194941705705434899', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>
Free Blogger Templates | Home |
.
BlogTemplate20 Free Download Blog Templates
Free Templates
Recent Post(s)
Search Design
Archives
Syndication

AddThis Feed Button

Blog Stats
eXTReMe Tracker
StatCounter tracker
Blogs that link here
Could be useful
Templates Stock
Premium HQ Template
Full Widgetized
Elegant Citrus Fresh
Blue-Dark gradient
Rounded Keko
Fresh Magz Clean
Twitter Style Skin
Travel Logbook
X rated template
BlogArtZine
Cute Girly Cupcake
Brown Magz Style
White Simplicity
Masunurin Simple Rounded
Premium Dashboard
ZinMag News Showcase
Natural Magazine style
Premium RedHat
Money Making Template
Sky dashboard
Premium Blue Sky
Slick Red Web 2.0
Classic w/ Slideshow
Photo Gallery Theme
Theme Showcase
Pro 4 Columns
Neo Simple Green
Club Card Minimalistic
Amature Sexy Template
Feat: Headline Slider
CNN NYT like
Lollipop Woman Stuff
Garland
Papeles Effect
Simple BlueSky
Beach Holiday
Green Light
Glossy Blue
Colorful Transparent
Green Marine
Dark Portfolio blog
Fresh Summer
Valentine Day
Blogy Webby
Azul 2.0
Blogy Freshy
Blogy Illacrimo
Glossy Minimalist
Hello Wiki 2.0
Green Lush Fresh
Kaskus Black
Red Late Show
Red Wine elegant
Blogy Integral
Green Mynix
Red White 2.0
StarCrash web 2.0
Blogy Pro 2 Col.
Blogy Crepusculo
Redish web 2.0
Dark Blue skin
Simple 3 Col.
Beauty Illustration
Fresh Natural
Punk Rock Metal
White Minimalist
K2 Freshy
FireFox Theme
Binary web 2.0
Clear Menu
3 Colomns 2.0
Tabbed menu xml
Tabbed menu classic
iPhone Theme
3 Col Simple
Rounded Corners
Clear Curved Blue
Glossy Glass
Very Web 2.0
Apple Mac skin
Colourful web 2.0
Photoshop CS2 skin
Magazine white
3 Col web 2.0
Blogger Photoblog
PopBlue 3 col.
TypoXP 2.1 skin
Dark Red Glossy
Sandpress 3 col
Elegant Clear web2.0
Elegant Dark web2.0
Rounded tab skin
Fresh blue 2.0
Cute Orange (HOT)
Trendy Blue Marine
Bloggerized AdSense
Orange Yellow Sosuechtig
Blue O2 web 2.0
Premium Blogger
TypoXP2 Standard
18+ Anime Series skin
2 Best Classic skin
NeoSapien New Skin
Simple Glowing Blue Darky
Fresh Green Aura
Ocean Mist Trendy
A new day Elegant
Blue steel 3 columns
Please read our Privacy Policy
Confined space entry dvd
online casino bluebook
online casino gambling guide, to top ranked online casinos and reviews of over 200 gambling related websites. www.onlinecasinobluebook.com also host a casino forum, blog, and casino news articles

Free web 2.0 blogger skins
Spice up your blog by adding our small cool banner inside your blog pages. Simply copy and paste code below. It will not harm your blog, I swear.


Welcome to BlogTemplate20
a blog with free Blogger templates collection.
// Tuesday, March 18, 2008

Do you have multiple banners and more? But you are still confused about how to place it without eating up important space in your blog? Solution for this problem is by placing your banners fold inside tabbed widget. But yet, there is another way to display multiple banners in just one ads space by rotating it randomly. And here I’ll tell you simple codes to rotate your banners using JavaScript.

Since it is a JavaScript usage then your readers need to enable JavaScript scripting language of their browser. And I’m sure 98.99% of them enable this setting. So don’t worry about it.

Banners will be displayed randomly each time browser reloads. It means every page view will have its own banner view. And it depends on how many banners you have. You may refresh this page (press F5) to see how it works. Image banner above will change to another banner.

Now it’s time to grab the code. You have to insert code below to your Blogger template. Please make a copy backup of your template.

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
  var jumlah_iklan = 3;
  var waktu_sekarang = new Date()
  var detik = waktu_sekarang.getSeconds()
  var pasang_iklan = detik % jumlah_iklan;
  pasang_iklan +=1;
  if (pasang_iklan==1) {
  txt="Write Title";
  url="Destination URL";
  alt="Name of URL";
  banner="URL of banner image";
  width="468";
  height="60";
  }
  if (pasang_iklan==2) {
  txt="Write Title";
  url="Destination URL";
  alt="Name of URL";
  banner="URL of banner image";
  width="468";
  height="60";
  }
  if (pasang_iklan==3) {
  txt="Write Title";
  url="Destination URL";
  alt="Name of URL";
  banner="URL of banner image ";
  width="468";
  height="60";
  }
  document.write('<center>');
  document.write('<a href=\"' + url + '\" target=\"_top\">');
  document.write('<img src=\"' + banner + '\" width=')
  document.write(width + ' height=' + height + ' ');
  document.write('alt=\"' + alt + '\" border=0><br>');
  document.write('<small>' + txt + '</small></a>');
  document.write('</center>');
  // End -->
</SCRIPT>

And here it is some guidance about customizing the code with your own settings. Code above will display three banners in queue. If you want to add another banner then please var jumlah_iklan = 3 into number of your banners amount. Then add another value to the code with the number of next banner. For an example I want to add one more banner than its default value, it is three. Then I need to add this code.

if (pasang_iklan==4) {
  txt="Write Title";
  url="Destination URL";
  alt="Name of URL";
  banner="URL of banner image";
  width="468";
  height="60";
  }

Isn’t it really easy? If you ask about how to place those codes inside Blogger template then please be patient. Basically it is just like inserting socialize widget into Blogger styled template.

Labels: ,



Give us feedback comments
Read 1 comment(s):
  • At February 7, 2010 at 2:30 PM, Anonymous Anonymous said…
    [url=http://tonoviergates.net/][img]http://tonoviergates.net/img-add/euro2.jpg[/img][/url]
    [b]educational software companies, [url=http://sopriventontes.net/]macromedia flash softwares[/url]
    [url=http://tonoviergates.net/]nik software discount[/url] crack for adobe acrobat pro 9 kaspersky internet security 2009 review
    software shop com [url=http://sopriventontes.net/]where to buy adobe software[/url] autocad cracked
    [url=http://tonoviergates.net/]priced software[/url] hot key adobe acrobat 9 pro
    [url=http://tonoviergates.net/]macromedia software for[/url] List Software Downloadable Software
    office software packages [url=http://tonoviergates.net/]student discount softwares[/url][/b]

     
  • Gadget 2.0

    Tracked by ClickAider