SimBale |
Cara Pasang :
- Login ke akun gmail sobat
- Masuk ke dasbor blogger
- Lalu pilih blog yang akan sobat pasang
- Kemudian pilih Template => Edit HTML
- Cari kode </head> lalu copas kode dibawah ini :
<style> .mbw-back-to-top { position: fixed; bottom: 2em; right: 10px; text-decoration: none; padding: 1em; display: none; cursor:pointer; } </style> <img class="mbw-back-to-top" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf4xmsm_xeUGp48wtZWnvxgnWbXNZoo7KOxtAgUJiwYRbp6xXGN1n4foBOl2MXq9Vi64gWcpNNBm7XcLmlMTNwaP52woSdnIX4xeNseWzieAQMlO_YqCMMYvyuyofsxbTvSnpdoJexshI/s1600/back+to+top.png" /> <script type="text/javascript"> /*****mybloggersworld.com***/ jQuery(document).ready(function() { var offset = 220; var duration = 500; jQuery(window).scroll(function() { if (jQuery(this).scrollTop() > offset) { jQuery('.mbw-back-to-top').fadeIn(duration); } else { //www.mybloggersworld.com jQuery('.mbw-back-to-top').fadeOut(duration); } }); jQuery('.mbw-back-to-top').click(function(event) { event.preventDefault(); jQuery('html, body').animate({scrollTop: 0}, duration); return false; }) }); </script>6. Atau sobat bisa masuk Tata Letak => Tambah Gadget => HTML/Javascript
7. Lalu masukkan kode diatas tadi.
8. Selesai.
NB : Ganti kode berwarna merah dengan gambar back to top sobat.
Semoga bermanfaat
Best Regards
Admin - Aditya
Advertisement