<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>©2008 www.htmlkod.tr.gg</form> </td></tr</table>
</body> </html>
<center><iframe frameborder=0 marginheight=0 marginwidth=0 scrolling=no src="http://www.dunyadinleri.com/bedavaweb/hesapmakinesi/hesapmakinesi.html" mce_src="http://www.dunyadinleri.com/bedavaweb/hesapmakinesi/hesapmakinesi.html" width=173 height=240> </iframe> </a>
<CENTER> <FORM name="Keypad" action=""> <TABLE border="1" cellspacing="0" cellpadding="0"> <B> <TABLE border=1 width=50 height=60 cellpadding=1 cellspacing=1> <TR> <TD colspan=3 align=middle> <input name="ReadOut" type="Text" size=24 value="0" width=100%> </TD> <TD </TD> <TD> <input name="btnClear" type="Button" value=" C " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"Clear()""> </TD> <TD><input name="btnClearEntry" type="Button" value=" CE " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"ClearEntry()""> </TD> </TR> <TR> <TD> <input name="btnSeven" type="Button" value=" 7 " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"NumPressed(7)""> </TD> <TD> <input name="btnEight" type="Button" value=" 8 " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"NumPressed(8)""> </TD> <TD> <input name="btnNine" type="Button" value=" 9 " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckpro tectedatt%3D%22%20onclick%3D%22"NumPressed(9)""> </TD> <TD> </TD> <TD > <input name="btnNeg" type="Button" value=" +/- " onclick_fckprotectedatt_fc kprotectedatt="%20onclick_fckprotectedatt%3D%22%20 onclick%3D%22"Neg()""> </TD> <TD> <input name="btnPercent" type= "Button" value=" % " onclick_fckprotectedatt _fckprotectedatt="%20onclick_fckprotectedatt%3D%22% 20onclick%3D%22"Percent()""> </TD> </TR> <TR> <TD> <input name="btnFour" type="Button" value=" 4 " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"NumPressed(4)""> </TD> <TD> <input name="btnFive" type="Button" value=" 5 " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"NumPressed(5)""> </TD> <TD> <input name="btnSix" type="Button" value=" 6 " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"NumPressed(6)""> </TD> <TD> </TD> <TD align=middle><input name="btnPlus" type="Button" value=" + " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"Operation('+')""> </TD> <TD align=middle><input name="btnMinus" type="Button" value=" - " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"Operation('-')""> </TD> </TR> <TR> <TD> <input name="btnOne" type="Button" value=" 1 " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20 onclick%3D%22"NumPressed(1)""> </TD> <TD> <input name="btnTwo" type="Button" value=" 2 " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotect edatt%3D%22%20onclick%3D%22"NumPressed(2)""> </TD> <TD> <input name= "btnThree" type="Button" value=" 3 " onclick_fckprotectedatt_fckpr otectedatt="%20onclick_fckprotectedatt %3D%22%20onclick%3D%22"NumPressed(3)""> </TD> <TD> </TD> <TD align=middle><input name="btnMultiply" type="Button" value=" * " onclick_fckprotecteda tt_fckprotectedatt="%20onclick_ fckprotectedatt%3D%22%20onclick% 3D%22"Operation('*')""> </TD> <TD align=middle><input name="btnDivide" type="Button" value=" / " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"Operation('/')""> </TD> </TR> <TR> <TD> <input name="btnZero" type="Button" value=" 0 " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"NumPressed(0)""> </TD> <TD> <input name="btnDecimal" type="Button" value=" . " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"Decimal()""> </TD> <TD colspan=3> </TD> <TD> <input name="btnEquals" type="Button" value=" = " onclick_fckprotectedatt_fckprotectedatt="%20onclick_fckprotectedatt%3D%22%20onclick%3D%22"Operation('=')""> </TD> </TR> </TABLE> </TABLE> </B> </FORM> </CENTER> <font face="Verdana, Arial, Helvetica" size=2> <SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var FKeyPad = document.Keypad;
var Accum = 0;
var FlagNewNum = false;
var PendingOp = "";
function NumPressed (Num) {
if (FlagNewNum) {
FKeyPad.ReadOut.value = Num;
FlagNewNum = false;
}
else {
if (FKeyPad.ReadOut.value == "0")
FKeyPad.ReadOut.value = Num;
else
FKeyPad.ReadOut.value += Num;
}
}
function Operation (Op) {
var Readout = FKeyPad.ReadOut.value;
if (FlagNewNum && PendingOp != "=");
else
{
FlagNewNum = true;
if ( '+' == PendingOp )
Accum += parseFloat(Readout);
else if ( '-' == PendingOp )
Accum -= parseFloat(Readout);
else if ( '/' == PendingOp )
Accum /= parseFloat(Readout);
else if ( '*' == PendingOp )
Accum *= parseFloat(Readout);
else
Accum = parseFloat(Readout);
FKeyPad.ReadOut.value = Accum;
PendingOp = Op;
}
}
function Decimal () {
var curReadOut = FKeyPad.ReadOut.value;
if (FlagNewNum) {
curReadOut = "0.";
FlagNewNum = false;
}
else
{
if (curReadOut.indexOf(".") == -1)
curReadOut += ".";
}
FKeyPad.ReadOut.value = curReadOut;
}
function ClearEntry () {
FKeyPad.ReadOut.value = "0";
FlagNewNum = true;
}
function Clear () {
Accum = 0;
PendingOp = "";
ClearEntry();
}
function Neg () {
FKeyPad.ReadOut.value = parseFloat(FKeyPad.Re adOut.value) * -1;
}
function Percent () {
FKeyPad.ReadOut.value = (parseFloat(FKeyPad.ReadOut .value) / 100) * parseFloat(Accum);
}
// End -->
<BODY>
<CENTER>
<FORM NAME="Calc">
<!-- This script and many more are available free online at -->
<!-- BG3mAx!! http://bg3max.co.nr -->
<TABLE BORDER="4" bordercolor="#000000">
<TR>
<TD bgcolor="#000000">
<font color="#808080">
<INPUT NAME="Input" Size="16" style="background-color: #669999"></font>
<br>
</TD>
</TR>
<TR>
<TD bgcolor="#000000">
<INPUT TYPE="button" NAME="one" VALUE=" 1 " OnClick="Calc.Input.value += '1'">
<INPUT TYPE="button" NAME="two" VALUE=" 2 " OnCLick="Calc.Input.value += '2'">
<INPUT TYPE="button" NAME="three" VALUE=" 3 " OnClick="Calc.Input.value += '3'">
<INPUT TYPE="button" NAME="plus" VALUE=" + " OnClick="Calc.Input.value += ' + '">
<font color="#808080">
<a href="http://www.kodbul.org">
<span style="text-decoration: none"><font color="#333333">k</font></span></a></font><br>
<INPUT TYPE="button" NAME="four" VALUE=" 4 " OnClick="Calc.Input.value += '4'">
<INPUT TYPE="button" NAME="five" VALUE=" 5 " OnCLick="Calc.Input.value += '5'">
<INPUT TYPE="button" NAME="six" VALUE=" 6 " OnClick="Calc.Input.value += '6'">
<INPUT TYPE="button" NAME="minus" VALUE=" - " OnClick="Calc.Input.value += ' - '">
<font color="#808080">
<a href="http://www.kodbul.org">
<span style="text-decoration: none"><font color="#333333">o</font></span></a></font><br>
<INPUT TYPE="button" NAME="seven" VALUE=" 7 " OnClick="Calc.Input.value += '7'">
<INPUT TYPE="button" NAME="eight" VALUE=" 8 " OnCLick="Calc.Input.value += '8'">
<INPUT TYPE="button" NAME="nine" VALUE=" 9 " OnClick="Calc.Input.value += '9'">
<INPUT TYPE="button" NAME="times" VALUE=" x " OnClick="Calc.Input.value += ' * '">
<font color="#808080">
<a href="http://www.kodbul.org">
<span style="text-decoration: none"><font color="#333333">d</font></span></a></font><br>
<INPUT TYPE="button" NAME="clear" VALUE=" c " OnClick="Calc.Input.value = '">
<INPUT TYPE="button" NAME="zero" VALUE=" 0 " OnClick="Calc.Input.value += '0'">
<INPUT TYPE="button" NAME="DoIt" VALUE=" = " OnClick="Calc.Input.value = eval(Calc.Input.value)">
<INPUT TYPE="button" NAME="div" VALUE=" / " OnClick="Calc.Input.value += ' / '">
<br>
</TD>
</TR>
</TABLE>
</FORM>
</CENTER>
<p></p></BODY>
|