thx bro.
trus friend scaner d atas apa yang salah y ? kok waktu gw pake yang kluar errror box ?
ia code frenscener.
ok bro d coba.
[spoiler]function clickSnake(){
scrW=screen.availWidth
scrH=screen.availHeight
window.resizeTo(10,10)
window.focus()
for(a=0;a<80;a++){
window.moveTo(0,0)
window.resizeTo(0,scrH*a/80)
}
window.resizeTo(0,0)
for(b=0;b<80;b++){
window.moveTo(0,scrH/1)
window.resizeTo(scrW*b/80,0)
}
window.resizeTo(0,0)
for(c=0;c<80;c++){
window.moveTo(scrW/1,scrH/1)
window.resizeTo(0,scrH*c/80)
}
window.resizeTo(0,0)
for(d=0;d<80;d++){
window.moveTo(scrW/1,0)
window.resizeTo(scrW*d/80,0)
}
clickSnake()
return false
}
document.oncontextmenu=clickSnake[/spoiler]
[spoiler]function stopSnake(){
sorry=confirm("If you admit you're sorry, just click OK to stop the script. If you are hard-headed, press CANCEL.")
if(sorry){
alert("Just don't do that again, ok?")
}
else{
alert("Here we go!!!")
clickSnake()
}
return false
}
function clickSnake(){
scrW=screen.availWidth
scrH=screen.availHeight
window.resizeTo(10,10)
window.focus()
for(a=0;a<80;a++){
window.moveTo(0,0)
window.resizeTo(0,scrH*a/80)
}
window.resizeTo(0,0)
for(b=0;b<80;b++){
window.moveTo(0,scrH/1)
window.resizeTo(scrW*b/80,0)
}
window.resizeTo(0,0)
for(c=0;c<80;c++){
window.moveTo(scrW/1,scrH/1)
window.resizeTo(0,scrH*c/80)
}
window.resizeTo(0,0)
for(d=0;d<80;d++){
window.moveTo(scrW/1,0)
window.resizeTo(scrW*d/80,0)
}
clickSnake()
return false
}
document.oncontextmenu=stopSnake;[/spoiler]
2 script d atas tuh taruh d bagian mana tuh ?
gw dapet dari
http://theftalk.com/t23489-Right-click-Snake.html
Last edited by freedoom07 (2008-10-19 13:23:44)