Disini saya akan memberikan sedikit Tips dan Trik memasang iklan adsense tiba tiba muncul di blog, dan ada klik close, langsung saja code nya di bawah ini :
<style type="text/css">
#gb{
position:fixed;
top:20px;
z-index:+1000;
}
* html #gb{position:relative;}
#gb{
position:fixed;
top:20px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbcontent{
float:right;
border:5px solid #A5BD51;
background:#ffferff;
padding:15px;
}
</style>
float:right;
border:5px solid #A5BD51;
background:#ffferff;
padding:15px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
<div id="gb">
<div class="gbtab" onclick="showHideGB()"> </div>
<div class="gbcontent">
<div style="text-align:right">
<a href="javascript:showHideGB()">
.:[yunasjen][close Klik 2x]:.
</a>
</div>
<center>
<a href="javascript:showHideGB()">
.:[yunasjen][close Klik 2x]:.
</a>
</div>
<center>
MASUKAN KODE IKLAN KALIAN DISINI
</center>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
</script></div></div>
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
</script></div></div>
Cara memasangnya :
1. Login blogspot kalian
2. Pilih tatak letak
3. Tambah gadget di tempat mana aja sesuai selera
4. Pilih java scrib / html
5. Masukan kode iklan yang diatas
6. MASUKAN KODE IKLAN KALIAN DISINI, ganti kalimat diatas dengan kode iklan kalian.
7. Tidak usah diberi judul
8. Ok Save
1. Login blogspot kalian
2. Pilih tatak letak
3. Tambah gadget di tempat mana aja sesuai selera
4. Pilih java scrib / html
5. Masukan kode iklan yang diatas
6. MASUKAN KODE IKLAN KALIAN DISINI, ganti kalimat diatas dengan kode iklan kalian.
7. Tidak usah diberi judul
8. Ok Save
Untuk iklan bisa tampil di perangkat seluler, seperti biasa tambahkan kode mobile='yes' setelah kata falsed, jika mode destop tidak usah.
Cara pasangnya :
Cara pasangnya :
1. Login di blogspot kalian
2. Pilih tema
3. Edit HTML
4. Cari kalimat html, biasanya terdapat html 1, html 2, html 3 dan seterusnya.
Setiap html beri kode mobile='yes' setelah kata falsed
5. Simpan
2. Pilih tema
3. Edit HTML
4. Cari kalimat html, biasanya terdapat html 1, html 2, html 3 dan seterusnya.
Setiap html beri kode mobile='yes' setelah kata falsed
5. Simpan
Contoh code punya saya seperti ini :
<style type="text/css">
#gb{
position:fixed;
top:20px;
z-index:+1000;
}
* html #gb{position:relative;}
#gb{
position:fixed;
top:20px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbcontent{
float:right;
border:5px solid #A5BD51;
background:#ffferff;
padding:15px;
}
</style>
float:right;
border:5px solid #A5BD51;
background:#ffferff;
padding:15px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
<div id="gb">
<div class="gbtab" onclick="showHideGB()"> </div>
<div class="gbcontent">
<div style="text-align:right">
<a href="javascript:showHideGB()">
.:[yunasjen][close Klik 2x]:.
</a>
</div>
<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Musik dan art -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-1268599916975782"
data-ad-slot="4493958253"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<a href="javascript:showHideGB()">
.:[yunasjen][close Klik 2x]:.
</a>
</div>
<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Musik dan art -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-1268599916975782"
data-ad-slot="4493958253"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
</script></div></div>
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
</script></div></div>
0 Comments