Archive Pages Design$type=blogging

Iklan Gambar ala Google AdSense - Komputekid

Iklan Gambar ala Google AdSense - Setelah membuat template, saya mencoba membuat iklan gambar yang menyerupai GA maksutnya gambar akan berbe...

Iklan Gambar ala Google AdSense - Setelah membuat template, saya mencoba membuat iklan gambar yang menyerupai GA maksutnya gambar akan berbeda setiap kali reload halaman. Sebenarnya ini hanya memanipulasi html menjadi JavsScript

Iklan Gambar ala Google AdSense

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://kampung-klik.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://kampung-klik.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://kampung-klik.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>');
&lt;/script&gt;

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 !

COMMENTS

Name

Android Blogging Cisco Cloud Computing Download Ebook elektronik Error Code Flashdisk Games hack Hardware Info Info Teknologi Internet Jaringan Jaringan Komputer Jual Komputekid Komputer Linux Microsoft Office MikroTik Panduan Blog Pemograman Perbaikan Perbaikan Komputer Printer Recommended Product SEO TechNews Teknologi Tips Trik Tutorial Useful Software Windows 7 Windows 8 Windows XP
false
ltr
item
CatatanTKJ: Iklan Gambar ala Google AdSense - Komputekid
Iklan Gambar ala Google AdSense - Komputekid
https://2.bp.blogspot.com/-DN0iJ7FqFLo/Unn1RfAYCmI/AAAAAAAAGCU/yIPUgLzBXUE/s1600/adsense-icon.png
https://2.bp.blogspot.com/-DN0iJ7FqFLo/Unn1RfAYCmI/AAAAAAAAGCU/yIPUgLzBXUE/s72-c/adsense-icon.png
CatatanTKJ
http://phentemnote.blogspot.com/2016/04/iklan-gambar-ala-google-adsense.html
http://phentemnote.blogspot.com/
http://phentemnote.blogspot.com/
http://phentemnote.blogspot.com/2016/04/iklan-gambar-ala-google-adsense.html
true
2552346874649323927
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago