Cara membuatnya:

Dari Dashboard >> Design >> Edit HTML





Penempatan kode HTML dan JavaScript
tepat disamping sebelum </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/AVvXsEiPm01LR_GW_Zy891p_l3HCKa5p8RRWZ07Nzt3Be6FZsesCpaAvnoNpZ_KoIs0xOtBJrRHWUgxUrcuVhCqQ1uCzd39dQi8NRAHAKPSZU_zSMRiXx41PVrSQ4_k7ICoENUIFKANE2wTS2LYu/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/AVvXsEi9ma4UZmnGorMZFjOUqKOehbGCErhiDwbkTIEYJXMYDAPi6Te1PCKr9lw90TNr_hFb5bKjcBqSGq2_grbgQMAMROtsdrPQB9XLv4u3EHc2W623KffwGsat9F4qt98qrugowWnq1UUqpRph/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>

Posting Komentar

[Mulai Senin, 30 Januari 2012] Maaf, Jangan Masukkan Link Pada Komentar

handapeunpost