Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
AnasayfaLatest imagesKayıt OlGiriş yap

 

 Hesap Nakinası kodu

Aşağa gitmek 
YazarMesaj
JOVEN
Yönetici
Yönetici
JOVEN


BilgiRep : 115
Mesaj Sayısı Mesaj Sayısı : 1500
Kayıt tarihi Kayıt tarihi : 03/02/10

Hesap Nakinası kodu Empty
MesajKonu: Hesap Nakinası kodu   Hesap Nakinası kodu Icon_minitime1C.tesi Ekim 23, 2010 8:21 pm







SAYI ISLEMCISI S.1.0

1.sayi

2.sayi

sonuç







Hesapmakinası





Kod:
<html>
<head>
<title>sablon
</title>
<script language="javaScript">

function topla(ne){
ne.sonuç.value=parseFloat(ne.say1.value)+parseFloat(ne.say2.value);
}
function çikar(ne){
ne.sonuç.value=parseFloat(ne.say1.value)-parseFloat(ne.say2.value);
}
function çarp(ne){
ne.sonuç.value=parseFloat(ne.say1.value)*parseFloat(ne.say2.value);
}
function böl(ne){
ne.sonuç.value=parseFloat(ne.say1.value)/parseFloat(ne.say2.value);
}
function ort(ne){
ne.sonuç.value=[parseFloat(ne.say1.value)+parseFloat(ne.say2.value)]/2;
}
</script>

</head>
<body>
<table border="0" width="200"bgcolor="black"><tr><td>
<form name="formum"><font color="white">
<center><b>SAYI ISLEMCISI S.1.0</b></center>
1.sayi<input type="text" name="say1">
<br>2.sayi<input type="text" name="say2">
<br>sonuç<input type="text" name="sonuç">
<center>
<input type="button" value="+" onclick="topla(this.form)">
<input type="button" value="-" onclick="çikar(this.form)">
<input type="button" value="x" onclick="çarp(this.form)">
<input type="button" value="/" onclick="böl(this.form)">
<input type="button" value="ort" onclick="ort(this.form)">
<input type="reset" value="SIL"><hr>Hesapmakinesi </form>

</td></tr></table>
</body>
</html>
Sayfa başına dön Aşağa gitmek
https://gta-turkiye.forum.st
 
Hesap Nakinası kodu
Sayfa başına dön 
1 sayfadaki 1 sayfası
 Similar topics
-
» En iyi 5 şiir kodu
» Yapım aşamasında kodu
» Sitene şaka kodu :D

Bu forumun müsaadesi var:Bu forumdaki mesajlara cevap veremezsiniz
 :: Htlm Kodlar-
Buraya geçin: