Sekarang saya akan post cara ngasih tombol naik turun seperti gambar di atas ini
Cara Membuat nya
1.Dari Dashboard >> Design >> Edit HTML>>Centang Expand Template Widget.
2.Penempatan code HTML/javascript Tempatkan Code di bawah ini tepat di samping atau sebelum code </body>
<div id="staticbuttons" style="position:absolute;"> <a href="javascript:" onmouseover="myspeed=-thespeed" onmouseout="myspeed=0"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNnfutqDrIJTR1lxMJ2n94Ov3mM5SWHaWe0_wbRs17w_8JhpHvMpemPDEyDm-UhjiRxGrMvVOFPd__k5aeE0cFl_A-NMcN-LEuKJ0n4DFBD25FUxMInD8HUBo26_S8dZuuo6XBil-yMuw9/s400/Nano+Yulianto-up.png" border="0" /></a><br /> <a href="javascript:" onmouseover="myspeed=thespeed" onmouseout="myspeed=0"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5paXyvD6sn77jjBRNmvXVJYXurwnW0eFQxd0bU0maqtw3VbksTVabUajNiHYomKHuiI9E-7_ycjRcLf4T7PVI_43kwnk-_BHJQa24Vu-fg7oa9uctGPK6FQgIDSpCXrKuQ2ubnLpJMOvI/s400/Nano+Yulianto-down.png" border="0" /></a> </div> <script type='text/javascript'> //<![CDATA[ //Script Tombol turun dan naik By Dynamic Drive // (www.dynamicdrive.com/dynamicindex2/pagescroller.htm) //This credit MUST stay intact for use var Hoffset=60 var Voffset=60 var thespeed=3 //Kecepatan var ieNOTopera=document.all&&navigator.userAgent.indexOf("Opera")==-1 var myspeed=0 var ieHoffset_extra=document.all? 15 : 0 var cross_obj=document.all? document.all.staticbuttons : document.getElementById? document.getElementById("staticbuttons") : document.staticbuttons function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function positionit(){ var dsocleft=document.all? iecompattest().scrollLeft : pageXOffset var dsoctop=document.all? iecompattest().scrollTop : pageYOffset var window_width=ieNOTopera? iecompattest().clientWidth+ieHoffset_extra : window.innerWidth+ieHoffset_extra var window_height=ieNOTopera? iecompattest().clientHeight : window.innerHeight if (document.all||document.getElementById){ cross_obj.style.left=parseInt(dsocleft)+parseInt(window_width)-Hoffset+"px" cross_obj.style.top=dsoctop+parseInt(window_height)-Voffset+"px" } else if (document.layers){ cross_obj.left=dsocleft+window_width-Hoffset cross_obj.top=dsoctop+window_height-Voffset } } function scrollwindow(){ window.scrollBy(0,myspeed) } function initializeIT(){ positionit() if (myspeed!=0){ scrollwindow() } } if (document.all||document.getElementById||document.layers) setInterval("initializeIT()",20) //]]> </script>
Untuk warna yg berwarna merah kmu bisa ganti dengan gambar yg kalian inginkan
sebelum kalian save pertinjou terlebih dahulu kalou sudah bagus baru simpan di tempelate kalian
By: Dicky Asep Pratama
Editor By : Rahman De Cheaterz