Judul: Berbagi Info Seputar How To Add jQuery Scroll To Top Button To Blogger Full Update Terbaru
link: How To Add jQuery Scroll To Top Button To Blogger
Artikel Terbaru How To Add jQuery Scroll To Top Button To Blogger Update Terlengkap 2017
1.Login to your blogger dashboard--> layout- -> Edit HTML
2.Scroll down to where you see </head> tag .
3.Copy below code and paste it just before the </head> tag .
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
$(function(){
$('a[href*=#top]').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
&& location.hostname == this.hostname) {
var $target = $(this.hash);
$target = $target.length && $target || $('[name=' + this.hash.slice(1) +']');
if ($target.length) {
var targetOffset = $target.offset().top;
$('html,body').animate({scrollTop: targetOffset}, 1000);
return false;
}
}
});
});
//]]>
</script>
<!-- end scrolltop -->
4.Now scroll down where you see <body> tag .
5.Replace <body> tag with <body id='top'> .
6.Now again scroll down where you see </body> tag .
7.Copy below code and paste it just before </body> tag:
<div id='goingtop'>
<a href='#top' title='Go Top'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjylUPHrkkKjJY2Zxllc_WppjqB00jk2TbNEt3a4qbor9dIryJrlA088c7aNtH2Z_t86pSjNdEP9KzvteWGyf_L0oqILIrSAiKTiMNyxXlKu_hNVT6t2G6oAibx760N4WjcNNptNdSVHHrT/' style='right:20px; bottom:20px; position: fixed;'/></a></div>
Note: You can use any image instead of above image.
8.Click on save template and you are done.
Itulah sedikit Artikel How To Add jQuery Scroll To Top Button To Blogger terbaru dari kami
Semoga artikel How To Add jQuery Scroll To Top Button To Blogger yang saya posting kali ini, bisa memberi informasi untuk anda semua yang menyukai FREE GAME ANDROID. jangan lupa baca juga artikel-artikel lain dari kami.
Terima kasih Anda baru saja membaca Artikel Tentang How To Add jQuery Scroll To Top Button To Blogger