1. Siapkan kode widget follower sobat, ambil saja kodenya di http://www.google.com/friendconnect jika sobat belum memiliki kode widget follower
2. Login ke blogger --> Rancangan --> Add Gadget
3. Pilih HTML/JavaScript, lalu copy paste kode berikut dan Save.
Kode warna merah bisa sobat otak-atik misalnya background dan size. lihat Kode warna HTML
4. Selanjutnya masuk ke menu Edit HTML
5. Cari tag <body>
6. Pilih salah satu kode dibawah dan paste diatas <body>, lalu save template sobat..
kode 1 :
Kode 2 :
Kode 3:
Demikian cara membuat show and hide widget follower . Selamat mencoba, semoga berhasil.
Happy blogging and sharing..
2. Login ke blogger --> Rancangan --> Add Gadget
3. Pilih HTML/JavaScript, lalu copy paste kode berikut dan Save.
<style type="text/css">NOTE:
#fl{
position:fixed;
right:190px;
z-index:+1000;
}
* html #fl{position:relative;}
.fltab{
height:32px;
width:270px;
float:top;
cursor:pointer;
background:url(#) no-repeat;
}
.flcontent{
float:right;
border:2px solid #676767;
background:url()#F90 repeat-x bottom center scroll;
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideFL(){
var fl = document.getElementById("fl");
var w = fl.offsetWidth;
fl.opened ? moveFL(0, -100-w) : moveFL(20-w, 0);
fl.opened = !fl.opened;
}
function moveFL(x0, xf){
var fl = document.getElementById("fl");
var dx = Math.abs(x0-xf) > 25 ? 35 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
fl.style.bottom = x.toString() + "px";
if(x0!=xf){setTimeout("moveFL("+x+", "+xf+")", 10);}
}
</script>
<div id="fl">
<div class="fltab" onclick="showHideFL()"> </div>
<div class="flcontent">
GANTI DENGAN KODE WIDGET FOLLOWER SOBAT DISINI
<div style="text-align: right;">
<a href="javascript:showHideFL()">
[Tutup]
</a></div></div></div>
<script type="text/javascript"><br />var fl = document.getElementById("fl");<br />fl.style.bottom = (-100-fl.offsetWidth).toString() + "px";<br /></script>
Kode warna merah bisa sobat otak-atik misalnya background dan size. lihat Kode warna HTML
4. Selanjutnya masuk ke menu Edit HTML
5. Cari tag <body>
6. Pilih salah satu kode dibawah dan paste diatas <body>, lalu save template sobat..
kode 1 :
<a href='javascript:showHideFL()' style='display:scroll;position: fixed; bottom:65px;left:5px;' title='Follow'><img src='https://lh5.googleusercontent.com/-oKPwM-gFvmE/T00Ri9hMxxI/AAAAAAAABl8/hg_KsLca7DA/s179/follow-me.gif'/></a>
Kode 2 :
<a href='javascript:showHideFL()' style='display:scroll;position: fixed; bottom:65px;left:5px;' title='Follow'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAGa2FZnGcXqbzwkRwrkIbRw6LKOTz_ZbB9dvxbacUWubPU1Y7ibI337t3Zld9ouQLclcLImnvgStmUCnN4pgRL84VJV0NvD0K0HcY_Ns7M4lC2jrIy4AZ9BfjtLH4SyN7RVJhYbdhFho/s1600/Follow_me___by_sevensense.jpg'/></a>
Kode 3:
<a href='javascript:showHideFL()' style='display:scroll;position: fixed; bottom:65px;left:5px;' title='Follow'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7nKSpjsobKtc29KCVXzp_vTc4g-tdMQDQP9kHa-nN8ZbFKBz94rR7UUmy-LP7cmVWDS7qj2K86QNZLj01mCoaE7FVgEb9M1hCoacSJg33MbIAqHg1WVksP3Sy3HxZQWToWz2okAa2PTM/s1600/FOLLOWERS-LOGO-.jpg'/></a>
Demikian cara membuat show and hide widget follower . Selamat mencoba, semoga berhasil.
Happy blogging and sharing..
0 komentar:
Posting Komentar