Home » » Cara Membuat Tombol Back to Top

Cara Membuat Tombol Back to Top

1. Seperti biasa..., login ke akun Blogger anda

2. Plih Layout > Edit HTML

3. Paste kode berikut sebelum kode ]]></b:skin> :

.gototop {
background:url(http://3.bp.blogspot.com/_Z_KyM3IvEFQ/S0NoQIQJzoI/AAAAAAAAAys/sIo_pJYRIo4/s400/arrowtopdt6.gif)no-repeat;
display:block;
_display:none;
position:fixed;
z-index:9999;
text-indent:-9999px;
width:17px;
height:17px;
overflow:hidden;
outline:none;
right:8px;
bottom:35px
}

4. Selanjutnya, cari kode  </body> . Paste kode berikut di atasnya:

<a class='gototop' href='javascript:scroll(0,0)' title='Go to Top'>Top</a>



5. Terakhir, klik Save Template untuk menyimpan perubahan.



    Jangan lupa kasih komentar ya...
Share this article :

0 komentar:

Posting Komentar

 
Support : Your Link | Your Link | Your Link
Copyright © 2013. Rivaldo Blog - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger