Pages: 123

  2008-03-07 18:23:41

SkyHack
» n00b
FTalk Level: zero
84
0
1969-12-31

[hr][hr] [align=center][b]FYI.[/b] Thread ini udah lama beud sbnr nya. Cuma skrg gw rapihin aja. Biar lebih enak di liat dan gampang di cari. Dan gw minta maap sblm nya buat member yg postingan nya mu

[quote][align=center][b]JAVA ROULETTE GAME[/b][/align][/quote] [b]Description[/b] [quote]Pagi all... berhubung masih sepi n gw lagi gk ada kerjaan... gw barusan bikin game roulette make java script.. ni code nya gw share[/quote] [b]Code[/b] [spoiler]<div align="center"><table border="0" width="350" cellspacing="0" cellpadding="0"> <form name="fire"> Load number of bullets (1-6):<br><input name="bullets" type="text" size=3 value=1><br> <p> <input name="message" type="button" value="Play Roulette!" onClick="fireit()"> </p> </form> <script> //Russian Roulette Game- by galih.my.or.id //Visit http://www.galih.my.or.id for script //Credit must stay intact for use function fireit(){ var theone=Math.floor(Math.random()*6) if (theone<=document.fire.bullets.value-1) alert("Bang. You\'re dead!") else{ document.fire.message.value="Whew. Got lucky!" setTimeout("document.fire.message.value='Play Roulette'",500) } } </script></table></div>[/spoiler]

Last edited by andHa (2008-07-19 04:53:36)

Pages: 123

Board footer

© 2024 F Talk

Current time is 20:47

[ 12 queries - 0.026 second ]
Privacy Policy