Cara Pasang Iklan Melayang di kanan dan kiri blog

Cara Pasang Iklan Melayang di Kiri Kanan Blog dengan Tombol Close. Tutorial ini saya dapatkan dari sahabat Planktoon Blog . Thanks Before. 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>
</div>
<div id=”adsense_blog”>
<div style=”text-align: right;”>
<a href=”” onclick=”close1(); return false”><img src=”http://4.bp.blogspot.com/-9MWyoN5VsJM/TivTpPyUuhI/AAAAAAAABL0/ldO739MTRBg/s1600/close3.png&#8221; /></a></div>
<div onclick=’close1()’>
<div style=”background: #fff;”>
<a href=”http://www.ceaster.com/p/iklan.html&#8221; target=”_blank”><img src=”http://3.bp.blogspot.com/-SxzosXNAkRk/UJOLp7aLysI/AAAAAAAAADE/9rXsgaG8uM4/s1600/160×600.jpg&#8221; 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>
</div>
<div id=”adsense_blog1″>
<div style=”text-align: left;”>
<a href=”” onclick=”close11(); return false”><img src=”http://4.bp.blogspot.com/-9MWyoN5VsJM/TivTpPyUuhI/AAAAAAAABL0/ldO739MTRBg/s1600/close3.png&#8221; /></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.ceaster.com/p/iklan.html”>            <img border=”0″ src=”http://3.bp.blogspot.com/-SxzosXNAkRk/UJOLp7aLysI/AAAAAAAAADE/9rXsgaG8uM4/s1600/160×600.jpg&#8221; width=”160″ height=”600″ /></a><p></p>              </div></div></div>

4. Selanjutnya Ganti Tulisan Y berwarna merah dengan Kode iklan kalian masing2, Jika sudah save dan lihat hasilnya

Tags: ,

Tinggalkan Komentar

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: