Cara Membuat Iklan Gambar Seperti Google Adsense - Kalian pasti tau bukan tentang Google Adsense? Iklan di Google Adsense selalu berganti setiap kita me relaod halaman . Nah, tutorial ini akan menjadikan iklan anda / iklan biasa anda seperti layak nya Google Adsense? Apakah bisa . Silahkan langsung coba saja tutorial yang saya sajikan ini.
1. Masuk ke Blogger.com terlebih dahulu
2. Pilih tata letak > buat widget baru > / Add Widget > HTML/Javasrcipth
3. Masukkan kode di bawah ini di dalam HTML / Javascripth
<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://dzulkifli26.blogspot.com";
alt = "Banner Exchange";
title = "Banner Exchange";
banner = "http://4.bp.blogspot.com/-mYwieyawg84/U3ybJtGe92I/AAAAAAAABFQ/kKXwtDOACys/s1600/dian-anarchyta.png";
width = "300";
height = "250";
}
if (pasang_iklan == 2) {
url = "http://dzulkifli26.blogspot.com";
alt = "404 Not Found";
title = 404 Not Found";
banner = "http://1.bp.blogspot.com/--hDKmIUbjEY/U3ybPr1KjAI/AAAAAAAABFg/nHFx087tiX4/s1600/Origin-BTemplate.png";
width = "300";
height = "250";
}
if (pasang_iklan == 3) {
url = "http://dzulkifli26.blogspot.com";
alt = "Banner Sobat";
title = "Banner Sobat";
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 Kode HTML :
URL : Ganti dengan URL tujuan iklan
ALT ; Ganti dengan Keterangan iklan anda
Title : Ganti dengan Judul iklan
Banner : Ganti dengan url banner iklan anda
Width : Ganti sesuai keinginan lebar iklan anda
Height : Ganti sesuai keinginan tinggi iklan anda
Sekian tutorial dari saya tentang
Cara Membuat Iklan Gambar Seperti Google Adsense , silahkan kalian bagikan artikel ini kepada teman teman anda.
Artikel keren lainnya:
Belum ada tanggapan untuk "Cara Membuat Iklan Gambar Seperti Google Adsense"
Post a Comment