2008-07-06 10:17:17

oby_nagnar
» FTalkGeek
FTalk Level: zero
1373
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

:arrow: [b]bro cemuanya...[/b] q mau nanya.... fungsi ini :thumbsdown: [spoiler]//gerakin screen,windows,browser atau apalah namanya var speed=1 var currentpos=0,alt=1,curpos1=0,curpos2=-1 function initialize(){ startit() } function iecompattest(){ return (document.compatMode!="BackCompat")? document.documentElement : document.body } function scrollwindow(){ if (document.all) temp=iecompattest().scrollTop else temp=window.pageYOffset if (alt==0) alt=1 else alt=0 if (alt==0) curpos1=temp else curpos2=temp if (curpos1!=curpos2){ if (document.all) currentpos=iecompattest().scrollTop+speed else currentpos=window.pageYOffset+speed window.scroll(0,currentpos) } else{ currentpos=0 window.scroll(0,currentpos) } } function startit(){ setInterval("scrollwindow()",10) } window.onload=initialize[/spoiler] buat apa... mohon diperjelas.... thnks...

Last edited by oby_nagnar (2008-07-06 10:35:15)

Board footer

© 2024 F Talk

Current time is 06:28

[ 12 queries - 0.554 second ]
Privacy Policy