Cara pasang iklan melayang di kanan dan kiri

Muter-muter di google dan mondar-mandir di blog dapat cara pasang iklan melayang yang sejenis, tapi kebanyakan gagal terus, sempat coba berkreasi sendiri tapi masih ada Y kurang kodenya (masih kurang beruntung, coba lagi !!! he) dan akhirnya nemuin juga tutorial dari sahabat Planktoon yang pas di pasang di blog saya. 
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 :
<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/AVvXsEi8Hu31y21yQrQA-xzZUPeob6akNrUUp4ZbCGFCiyZKmR5MNvNT4rqFCgcvkShb2jyxBvszgU7SRXpf8p3C7QgP9lpF0Bo1ZGnyfG1lfpS4oSUFev95lxkED8ekwDhVWOkn0bM3_uiPFwho/s1600/close3.png" /></a></div>
<div onclick='close1()'>
<div style="background: #fff;">
<a href="http://m-syafri.com/p/tentang-saya.html" target="_blank"><img src="http://i1216.photobucket.com/albums/dd374/abyfarhan/PasangIklan_zps0d4e538b.jpg" border="0" alt="Photobucket" /></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/AVvXsEi8Hu31y21yQrQA-xzZUPeob6akNrUUp4ZbCGFCiyZKmR5MNvNT4rqFCgcvkShb2jyxBvszgU7SRXpf8p3C7QgP9lpF0Bo1ZGnyfG1lfpS4oSUFev95lxkED8ekwDhVWOkn0bM3_uiPFwho/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 target="_blank" href="http://www.soalpsikotes.com/?id=abyfarhan">            <img border="0" src="http://www.soalpsikotes.com/images/ebook-buku-psikotes.gif" width="160" height="600" /></a><p></p>              </div></div></div>   
4. Selanjutnya Ganti Tulisan Y berwarna putih dengan Kode iklan kalian masing2, Jika sudah save dan lihat hasilnya

Subscribe to receive free email updates:

3 Responses to "Cara pasang iklan melayang di kanan dan kiri"