Black Line - Buat para blogger yg nyari duit di internet , cara ini mungkin udah biasa . Namun bagi para newbie sepertiku mungkin ini adalah hal baru . Buat kalian yg pingin iklannya melayang dan cara nutupnya itu harus klik tombol [x] close ikuti cara di bawah ini
1 . Seperti biasa login dulu di blogger dengan id masing-masing
2 . Kemudian ke rancangan > tata letak > tambah gadget > HTML Java script
3 . kemudian taruh kode di bawah ini
<a onblur="try {parent.
deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbrnVig76LhDsePWXbyvcFkFkvq1jR5hriblxa9eCqAbFmIa3j7KEEuY57s-jL-sdKNbGZCPGGb3Bn3O_vudBST55qC6-XOsUqLgouvr_E0EmKmhLy9dGYh5G3o6YgKykUfosuJeYbFhI/s1600-h/Widget.JPG"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbrnVig76LhDsePWXbyvcFkFkvq1jR5hriblxa9eCqAbFmIa3j7KEEuY57s-jL-sdKNbGZCPGGb3Bn3O_vudBST55qC6-XOsUqLgouvr_E0EmKmhLy9dGYh5G3o6YgKykUfosuJeYbFhI/s400/Widget.JPG" alt="" id="BLOGGER_PHOTO_ID_5433478876639914642" border="0" /></a>
<style type="text/css">
#gb{
position:fixed;
top:10px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbcontent{
float:right;
border:2px solid #A5BD51;
background:#ffffff;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
<div id="gb">
<div class="gbtab" onclick="showHideGB()"> </div>
<div class="gbcontent">
<div style="text-align:right">
<a href="javascript:showHideGB()">
.:[Close][Klik 2x]:.
</a>
</div>
<center>
</center>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
</script></center></div></div>
deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbrnVig76LhDsePWXbyvcFkFkvq1jR5hriblxa9eCqAbFmIa3j7KEEuY57s-jL-sdKNbGZCPGGb3Bn3O_vudBST55qC6-XOsUqLgouvr_E0EmKmhLy9dGYh5G3o6YgKykUfosuJeYbFhI/s1600-h/Widget.JPG"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbrnVig76LhDsePWXbyvcFkFkvq1jR5hriblxa9eCqAbFmIa3j7KEEuY57s-jL-sdKNbGZCPGGb3Bn3O_vudBST55qC6-XOsUqLgouvr_E0EmKmhLy9dGYh5G3o6YgKykUfosuJeYbFhI/s400/Widget.JPG" alt="" id="BLOGGER_PHOTO_ID_5433478876639914642" border="0" /></a>
<style type="text/css">
#gb{
position:fixed;
top:10px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbcontent{
float:right;
border:2px solid #A5BD51;
background:#ffffff;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
<div id="gb">
<div class="gbtab" onclick="showHideGB()"> </div>
<div class="gbcontent">
<div style="text-align:right">
<a href="javascript:showHideGB()">
.:[Close][Klik 2x]:.
</a>
</div>
<center>
Taruh kode iklan atau gambarnya disini
</center>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
</script></center></div></div>
Teks yg warna merah ganti pake kode iklan atau gambar yg pingin di bikin melayang
4. Klik simpan
Sipp selesai deh , gampang kan ? selamat mencoba
0 komentar:
Posting Komentar
Catatan: Hanya anggota dari blog ini yang dapat mengirim komentar.