Pages

Tombol Up dan Down Di Pojok



https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZmn_9gPA5bW75RHdSrw9Co1iUwMVKxUsKEU70CV0N2OUE4E1kOGt0fa9ImvnZ-jsFETt0eymVSGdD63w2MI7lZLjOnoIA8KjHUBIDDxcQv4fh0UqwLvli8K5vU19-ZW8Lte2eClZBkIo/s400/view-blogger-tutorial-demo.png

Lihat dipojok kanan anda , letakkan kursor mouse anda diatasnya !.




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/AVvXsEgh0ftefGt3_jSw_FG6RgHRn1BwdW2vRkIAVj2HKp0Pmf09c2zrRV7HUujruXccKdsMplBPuaJ8DEe3ecKSiTXGpS3SeQphjEr_1ezr6Buk1JZ-2_SFl-EXpnOS7bxwsUKuiY2YVILt4Z87/s1600/deejayhan-up.png" border="0" /></a><br />
<a href="javascript:" onmouseover="myspeed=thespeed" onmouseout="myspeed=0"><img
src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLms5Z2EW5MsTsX_StTm94XhRXSbD9orM9Qtmlqoayjp7CYgD6d_-l7I7uKv824mw5ZhZO837RCNUaf5NhmMPGHUE8v9ha425BdLjLB9puX5pQG1zbz50jwCit1eVH7Urpcrf-HuP7lmxK/s1600/deejayhan-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>
Terakhir klik Simpan / Save .
Nah Simple kan ?
Saya ucapkan Selamat Mencoba .
Description: Tombol Up dan Down Di Pojok
Rating: 4.5 4.5