Anda pasti sudah pernah melihat iklan melayang/pop-up di kanan atau kiri
blog, pemasangan iklan disamping blog banyak digunakan oleh blogger
karena akan memperhemat tempat pada blog.
Sebenarnya sebagian web jasa penyedia iklan telah melarang pemasangan
iklan melayang/pop-up ini dengan sanksi pemotongan komisi dan banned,
tapi tidak sedikit juga blogger yang masih menggunakan iklan
melayang/pop-up. Anda ingin memasang iklan melayang di kanan/kiri blog,
ikuti dan simak langkah-langkahnya berikut ini :
1. Login akun blogger Anda.
2. Pilih Tata Letak ---> Tambah Gadget ---> HTML/JavaScript.
3. Copy kode berikut ini pada HTML/JavaScript.
<!-- floating ads http://id-pemula.blogspot.com/ -->
<script type='text/javascript'>
$(document).ready(function() {
$('img#closed').click(function(){
$('#btm_banner').hide(90);
});
});
</script>
<script type="text/javascript">var
a=navigator,b="userAgent",c="indexOf",f="&m=1",g="(^|&)m=",h="?",i="?m=1";function
j(){var d=window.location.href,e=d.split(h);switch(e.length){case
1:return d+i;case 2:return 0<=e[1].search(g)?null:d+f;default:return
null}}if(-1!=a[b][c]("Mobile")&&-1!=a[b][c]("WebKit")&&-1==a[b][c]("iPad")||-1!=a[b][c]("Opera
Mini")||-1!=a[b][c]("IEMobile")){var
k=j();k&&window.location.replace(k)};
</script><script type="text/javascript">
if (window.jstiming) window.jstiming.load.tick('headEnd');
</script>
<!--start: floating ads http://id-pemula.blogspot.com/-->
<div id="teaser2" style="width:autopx; height:autopx;
text-align:left; display:scroll;position:fixed;
bottom:0px;left:0px;">
<div>
<a href="#" id="close-teaser"
onclick="document.getElementById('teaser2').style.display = 'none';"
style="cursor:pointer;"><center>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlXGbtsvOSSdkUFz6EKbLnubSo5P40UrUeY94ClkjwU463GEjo4NBioMVzL3GpmcsLxYv3K6TdHDWR5-Q7eQp5Tl0BfpF_-Hq05fJyY67uJli8K5Xf33yW1wyHKbhpv0nd9tkDKbsKxLQG/s1600/PhoXo2.png'/></center>
</a></div>
LETAKKAN SCRIPT IKLAN BAGIAN KIRI DISINI
</div>
<!--end: floating ads http://id-pemula.blogspot.com/-->
<!--start: floating ads http://id-pemula.blogspot.com/-->
<div id="teaser3" style="width:autopx; height:autopx;
text-align:right; display:scroll;position:fixed;
bottom:0px;right:0px;">
<div>
<a href="#" id="close-teaser"
onclick="document.getElementById('teaser3').style.display = 'none';"
style="cursor:pointer;"><center>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlXGbtsvOSSdkUFz6EKbLnubSo5P40UrUeY94ClkjwU463GEjo4NBioMVzL3GpmcsLxYv3K6TdHDWR5-Q7eQp5Tl0BfpF_-Hq05fJyY67uJli8K5Xf33yW1wyHKbhpv0nd9tkDKbsKxLQG/s1600/PhoXo2.png'/></center>
</a></div>
LETAKKAN SCRIPT IKLAN BAGIAN KANAN DISINI
</div>
<!--end: floating ads http://id-pemula.blogspot.com/-->
<!-- end: floating ads http://id-pemula.blogspot.com/ -->
dengan kode script iklan Anda.
4. Kemudian Simpan.
Hallo Sobat Blogger Sudah Lama gak blogging nih...kangen bangeeeet...(sumpe dech....) oh ya kali ini saya akan membuat tutorial
Cara Memasang Widget Like Box FB Keren Di Blog Like Box Facebook ini saya dapatkan saat saya mencari di mesin pencari Google dan sedikit saya rubah.a
Ok....Langsung Aja...!
Klik
DEMO
Cara Memasang Widget Like Box FB Keren Di Blog
1. Login Ke
Blogger
2. Pilih Tata Letak
3. Klik Tambah Gadget/add gadget
4. Kemudian Pilih HTML/Javascript
5. Masukan Kode/Script Di Bawah Ini:
<!-- Script kotak like Facebook Melayang -->
<style type="text/css">
#topbar{
position:absolute;
padding-left:260px;
background-color: transparancy;
width: 300px;
visibility: hidden;
z-index: 100;
}
</style>
<script type="text/javascript">
var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
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 closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}
function staticbar(){
barheight=document.getElementById("topbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}
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="topbar">
<table border="1" bgcolor="FFFFFF">
<tr>
<td>
<div style="text-align: right;">
<a href="" onclick="closebar(); return false"><img
src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY8Sfk_TY2kLEkvkNs_WHSs9ER4THAG4-hpDdabMzO0rLC3JIsZgfRrsUCCv3K2rpsJgB-03bkDavO3gTj0HBjBGGDBUGScgE8f0IhNoIU_Up5oU5O4wLZsZsBaI1j7Amobo8-neTkkaiP/s1600/close3.png"
/></a><blink>Klik Like yah..?</blink></div>