Cara Pasang Iklan Melayang di Kanan Kiri Blog + Tombol Close
Thursday, February 28, 2013
Add Comment
Mungkin juga sobat blogger mengalami hal serupa dengan saya waktu pasang iklan melayang di kanan kiri blog yang masih gagal. Mungkin bisa di coba kode script yang satu ini dengan adanya tambahan tombol close yang bisa dikreasikan. Baiklah langsung saja dan berikut tutorial cara memasangnya:
1. Login Ke akun Blog
2. Klik "Opsi Lainnya" >> kemudian klik "Tata Letak" >> "Tambah Gadget" >> "HTML/Javascript"
3. Kemudian Copas kode script berikut ini :
4. Selanjutnya Ganti Tulisan Y berwarna merah dengan Kode iklan kalian masing2, Jika sudah save dan lihat hasilnya
Script !!
<style type="text/css">
#adsense_blog {
position:fixed;_position:absolute;top:0px; right:0px;width: 160px;
clip:inherit;
_top:expression(document.documentElement.scrollTop+
document.documentElement.clientHeight-this.clientHeight); _left:expression(document.documentElement.scrollLeft+ document.documentElement.clientWidth - offsetWidth); }
</style>
<script type="text/javascript">
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function close1(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("adsense_blog").style.visibility="hidden"
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>
<br />
<div class="clear">
</div>
<div id="adsense_blog">
<div style="text-align: right;">
<a href="" onclick="close1(); return false"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrnHBXlY_R93CuPo0mZ_luUKriRHcOeohyphenhyphen18OKCKi1uw1NHJ7kddDo0OinWRypjF4s7_WU97jph1zlORsWV09jc9xdbXI43xMZPJZT3EeFup7d1M88lDEqPcylxYwLQspgrNkyHP49zt2G/s1600/close3.png" /></a></div>
<div onclick='close1()'>
<div style="background: #fff;">
<a href="http://ngakak-beloger.blogspot.com/p/contact.html" target="_blank"><img src="http://i1171.photobucket.com/albums/r553/fadli_akbar/pasangiklan_zps78a85450.jpg" border="0" alt=" photo pasangiklan_zps78a85450.jpg"/></a></div>
</div></div>
<style type="text/css">
#adsense_blog1 {
position:fixed;_position:absolute;top:0px; left:0px;width: 160px;
clip:inherit;
_top:expression(document.documentElement.scrollTop+
document.documentElement.clientHeight-this.clientHeight); _left:expression(document.documentElement.scrollLeft+ document.documentElement.clientWidth - offsetWidth); }
</style>
<script type="text/javascript">
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function close11(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("adsense_blog1").style.visibility="hidden"
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>
<br />
<div class="clear">
</div>
<div id="adsense_blog1">
<div style="text-align: left;">
<a href="" onclick="close11(); return false"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrnHBXlY_R93CuPo0mZ_luUKriRHcOeohyphenhyphen18OKCKi1uw1NHJ7kddDo0OinWRypjF4s7_WU97jph1zlORsWV09jc9xdbXI43xMZPJZT3EeFup7d1M88lDEqPcylxYwLQspgrNkyHP49zt2G/s1600/close3.png" /></a></div>
<div onclick='close11()'>
<div style="background: #fff;">
<p style="line-height: 100%; margin-top: 0; margin-bottom: 0" align="center"> <a href="http://ngakak-beloger.blogspot.com/p/contact.html" target="_blank"><img src="http://i1171.photobucket.com/albums/r553/fadli_akbar/pasangiklan_zps78a85450.jpg" border="0" alt=" photo pasangiklan_zps78a85450.jpg"/></a><p></p> </div></div></div>
0 Response to "Cara Pasang Iklan Melayang di Kanan Kiri Blog + Tombol Close "
Post a Comment