Đăng nhập Blogger ~> Vào Mẫu ~> Chỉnh sửa HTML
Thêm đoạn code này vào sau thẻ
<head>
rồi Lưu Mẫu lại
<style type='text/css'> #backscroll { width:24px; line-height:25px; position:fixed; right:5px; top:130px; } </style> <script language='javascript'> /* <![CDATA[ */ suspendcode="<div id='backscroll'><a onclick='javascript:amutop();return false;' href='#' title='TOP'><img border=0 src=\"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhocFbL_9UkdNvOsoBkRaHcpkeAn5ybQo_iQa4anpUGqMendd39KslOkvqTlzN7PufKkc6w3A6qY2-JUEy9WiDuSCeu1kOLA5TToLSShy1TfXGSsV9ynPcksHXNMJv9VVmyRCf610bG914/s1600/up.png\" width=\"24\"></a><br><a onclick='javascript:history.back();return false;' href='#' title='BACK'><img border=0 src=\"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-k2NmuJMUtZOujyfZqpSFZi4Tr5Wd4xwKwmjkxgixgMcOIvtoiAt3Z56AH-dESZq94RZRzCiSgYyFSjEeh9MhavbVmoVeLBtdZ_THZQo_1jOAb3jfqbyAltWUFYaM0jVaCXJAiRaohM0/s1600/back.png\" width=\"24\"></a><br><a onclick='javascript:sc();return false;' href='#' title='STOP'><img border=0 src=\"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixgJrxWVITDsk4poYPH6xf3-_JuYW1WeCsxHpRGs3EgFIwnb0QTc7kHA9JBqfb_FigF2Y02CNATSmg9SzY4FP4O0QGdC4jcEn7daXJ1iTXNK0uJI1eNRflossglcyXKNuJ0yOmtJAEMYA/s1600/pause.png\" width=\"24\"></a><br><a onclick='javascript:clearInterval(timer);initialize();return false;' href='#' title='DOWN'><img border=0 src=\"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHaxHUThZpy_lBvY1RR-0IbTh-qgUCGEZfWeg3MCOF46KnIWUERonT7pxPj60r9u_3KmB7FhW04Znmc5JYZjBKmXGL1mC2-kEpQBPy4TfjI5vlcCaGP6SuVkukXjBpvM1O_9eV8fkumYk/s1600/autodown.png\" width=\"24\"></a><br><a onclick='javascript:amubutton();return false;' href='#' title='BOTTOM'><img border=0 src=\"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCp1_ZiAEUtuEF4a7Nufwl2GKKi5SnMsPwT3OiP1z7LZSfAKA-TxibE8FyerhyphenhyphentqKt_DuPZmAlwehSYmDQcdzzrKg0Bf01-YsFg0H325jz4yqj8CkgnRqM6nQwf-2vvAJRs_gVS1QndGY/s1600/down.png\" width=\"24\"></a></div>" document.write(suspendcode);var currentpos,timer;function initialize(){timer=setInterval("scrollwindow ()",30)}function sc(){clearInterval(timer)}function scrollwindow(){currentpos=document.documentElement.scrollTop||document.body.scrollTop;window.scrollTo(0,++currentpos)}function amutop(){window.scrollTo(0,0);clearInterval(timer)}function amubutton(){window.scrollTo(0,8E4);clearInterval(timer)};/* ]]> */</script>
Tags
Thủ Thuật Blogger