Berikut cara membuat tombol back to top di blogger :
1. Masuk ke akun blogger anda terlebih dahulu
2. Pilih menu Template => Edit Template
3. Kemudian cari kode </head>
4. Salin kode dibawah ini tepat di atas kode </head>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'/>
<script type='text/javascript'>
$(function() { $(window).scroll(function() { if($(this).scrollTop()>100) { $('#BounceToTop').fadeIn(); } else { $('#BounceToTop').fadeOut(); } });
$('#BounceToTop').click(function() { $('body,html').animate({scrollTop:0},800) .animate({scrollTop:25},200) .animate({scrollTop:0},150) .animate({scrollTop:10},100) .animate({scrollTop:0},50); }); });
</script>
Jika blog sobat sudah ada kode jquery maka hapuslah kode yang berwarna biru diatas
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'/>
<script type='text/javascript'>
5.Kemudian tambakan gadget HTML/JavaScript
6. Letakan kode di bawah ini di kolom HTML/JavaScript tersebut
5.Kemudian tambakan gadget HTML/JavaScript
6. Letakan kode di bawah ini di kolom HTML/JavaScript tersebut
<style type='text/css' scoped='scoped'>
#BounceToTop{position:fixed; bottom:0px; right:3px; cursor:pointer;display:none}
</style>
<div id='BounceToTop'><img alt='Back to top' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXobSBgN6l2hW6L-TLGOW9QW_F2vhYVkZJPWBEVygaWF5uGTKMVXEWJmZuXU3PDgXzv8On2shbnWiuAGlxyLzIMbCtBs2E4GZx3S_XOKQlJwJY22zuA7xvISKhQu6djCKw4-wlywmTc0XY/s1600/arrow-up_basic_blue.png'/></div>
#BounceToTop{position:fixed; bottom:0px; right:3px; cursor:pointer;display:none}
</style>
<div id='BounceToTop'><img alt='Back to top' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXobSBgN6l2hW6L-TLGOW9QW_F2vhYVkZJPWBEVygaWF5uGTKMVXEWJmZuXU3PDgXzv8On2shbnWiuAGlxyLzIMbCtBs2E4GZx3S_XOKQlJwJY22zuA7xvISKhQu6djCKw4-wlywmTc0XY/s1600/arrow-up_basic_blue.png'/></div>