Thursday, 22 November 2012

Pasang Kotak Iklan Melayang Dikiri Dan kanan Blog

Iklan Melayang adalah iklan yang tidak bergerak walaupun blog/website anda digerakkan dimana mana iklan melayang akan terus pada tempatnya.

Nah sekarang saya akan membagi tentang membuat iklan melayang dikiri dan kanan blog anda, biasanya kiri dan kanan blog masih kosong, jadi jika kita menambahkan iklan membuat blog kita terasa lebih berisi, apalagi iklan yang ditampilkan sesuai dengan tema blog kita.
Cara pasang :
  1. Login dulu ke blog sobat.
  2. Pilih tata letak/Widget.
  3. Add gadget.
  4. Pilih HTML/JavaScript.
  5. Copy kode dibawah. 
  6. Masukkan Ke HTML/JavaScript tadi.


<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="http://4.bp.blogspot.com/-9MWyoN5VsJM/TivTpPyUuhI/AAAAAAAABL0/ldO739MTRBg/s1600/close3.png" /></a></div>
<div onclick='close1()'>
<div style="background: #fff;">

<a href=http://21go-blogs.blogspot.com/ " target="_blank"><img src="  http://cdn.adf.ly/images/banners/adfly.160x600.4.gif " 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="http://4.bp.blogspot.com/-9MWyoN5VsJM/TivTpPyUuhI/AAAAAAAABL0/ldO739MTRBg/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://adf.ly/?id=2268760 ">            <img border="0" src=" http://cdn.adf.ly/images/banners/adfly.160x600.4.gif " width="160" height="600" /></a><p></p>              </div></div></div>


 7. Ganti kode yang berwarna oranye dengan url yang sobat tuju.
 8. Ganti Kode yang berwarna pink dengan url gambar yang sobat ingin pasang.
 9. Simpan HTML/JavaScript anda dan lihat hasilnya.

cara pasang iklan melayang | kotak iklan | iklan melayang di blog |

ads

0 comments:

Post a Comment