Forum'da ara:
Ara


Yazar Mesaj
Mesaj29.06.2009, 15:48 (UTC)    
Mesaj konusu: SİTENE BASİT BİR OYUN KODU

Sitene basit bir oyun kodu


Kod:
<div align="center"><table border="0" width="350" cellspacing="0" cellpadding="0">
<form name="fire">
Birden Altıya kadar bir rakam yaz. (1-6):<br><input name="bullets" type="text" size=3 value=1><br>

<p>
<input name="message" type="button" value="TIKLA-DENE!" onClick="fireit()">
</p>

</form>

<script>

//Russian Roulette Game- by javascriptkit.com
//Visit JavaScript Kit (http://javascriptkit.com) 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("BULAMADIN-YAZIK-KingHAN!")
else{
document.fire.message.value="BRAVO-BULDUN-KingHAN!"
setTimeout("document.fire.message.value='TIKLA-DENE'",500)
}
}

</script></table></div>

______________
Mesaj29.06.2009, 16:32 (UTC)    
Mesaj konusu:

Kodları Sabit Başlıkta Paylaşınız !...

http://www.bedava-sitem.com/forum/viewtopic.php?t=25707
______________
Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu