Untuk pemasangan juga mudah, sobat hanya perlu menambakan widget baru, berikut kodenya:
<script type="text/javascript">
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) {
url = "http://the-anarchyta.blogspot.com/2014/03/subculture-responsive-blogger-template.html";
alt = "Subculture Responsive Blogger Template";
title = "Subculture Responsive Blogger Template";
banner = "http://4.bp.blogspot.com/-mYwieyawg84/U3ybJtGe92I/AAAAAAAABFQ/kKXwtDOACys/s1600/dian-anarchyta.png";
width = "300";
height = "250";
}
if (pasang_iklan == 2) {
url = "http://the-anarchyta.blogspot.com/2014/04/responsive-original-blogger-template.html";
alt = "Responsive Original Blogger Template";
title = "Responsive Original Blogger Template";
banner = "http://1.bp.blogspot.com/--hDKmIUbjEY/U3ybPr1KjAI/AAAAAAAABFg/nHFx087tiX4/s1600/Origin-BTemplate.png";
width = "300";
height = "250";
}
if (pasang_iklan == 3) {
url = "http://the-anarchyta.blogspot.com/2014/05/the-fiseo-magz-blogger-template.html";
alt = "FiSEO Responsive Blogger Template";
title = "FiSEO Responsive Blogger Template";
banner = "http://3.bp.blogspot.com/-sRTcKjWzSfs/U3ybMb0wdAI/AAAAAAAABFY/zkCb_uJJ9h8/s1600/fiseo-mag.png";
width = "300";
height = "250";
}
document.write('<a href=\"' + url + '\" target=\"_blank\" rel=\"nofollow\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('title=\"' + title + '\" alt=\"' + alt + '\"></a>');
</script>
Keterangan
url : silahkan ganti dengan url tujuan iklan.
alt : silahkan tulis keterangan gambar.
title : silahkan tulis judul gambar.
banner : silahkan ganti url gambar.
width : Lebar gambar.
height : Tinggi gambar.
Semoga bermanfaat !