<html>
<head>
<b><title>BuzzCalculator 1.0</title></b>
<script language="javascript" src="script.js"></script>
</head>
<body
bgcolor='#99FF33'
>
<input
type="textbox"
style='background-color:yellow'
value=""
disabled=true
id='display'
style='width:125px'
>
<br>
<input
style="width:30px"
type="button"
id="btn1"
value="1"
onclick='getElementById("display").value=getElementById("display").value+"1"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'
>
<input
style="width:30px"
type="button"
id="btn2"
value="2"
onclick='getElementById("display").value=getElementById("display").value+"2"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'
>
<input
style="width:30px"
type="button"
id="btn3"
value="3"
onclick='getElementById("display").value=getElementById("display").value+"3"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'>
<input
style="width:30px"
type="button"
id="btn+"
value="+"
onclick='a=parseFloat(getElementById("display").value); op="+"; getElementById("display").value=""'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'> <br>
<input
style="width:30px"
type="button"
id="btn4"
value="4"
onclick='getElementById("display").value=getElementById("display").value+"4"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'>
<input
style="width:30px"
type="button"
id="btn5"
value="5"
onclick='getElementById("display").value=getElementById("display").value+"5"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'>
<input
style="width:30px"
type="button"
id="btn6"
value="6"
onclick='getElementById("display").value=getElementById("display").value+"6"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'>
<input
style="width:30px"
type="button"
id="btn-"
value="-"
onclick='a=parseFloat(getElementById("display").value); op="-"; getElementById("display").value=""'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'><br>
<input
style="width:30px"
type="button"
id="btn7"
value="7"
onclick='getElementById("display").value=getElementById("display").value+"7"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'>
<input
style="width:30px"
type="button"
id="btn8"
value="8"
onclick='getElementById("display").value=getElementById("display").value+"8"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'>
<input
style="width:30px"
type="button"
id="btn9"
value="9"
onclick='getElementById("display").value=getElementById("display").value+"9"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'>
<input
style="width:30px"
type="button"
id="btn*"
value="*"
onclick='a=parseFloat(getElementById("display").value); op="*"; getElementById("display").value=""'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'><br>
<input
style="width:30px"
type="button"
id="btns"
value="+/-"
onclick='getElementById("display").value=getElementById("display").value+"1"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'>
<input
style="width:30px"
type="button"
id="btn0"
value="0"
onclick='if (del == true) getElementById("btnCancel").click(); getElementById("display").value=getElementById("display").value+"0"'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'>
<input
style="width:30px"
type="button"
id="btnp"
value="."
onclick='segno()'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'>
<input
style="width:30px"
type="button"
id="btn/"
value="/"
onclick='a=parseFloat(getElementById("display").value); op="/"; getElementById("display").value=""'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'><br>
<input
style="width:132px"
type="button"
id="btn="
value="="
onclick='operazione()'
style="this.style.backgroundColor=#E45601"
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'><br>
<input
style="width:132px"
type="button"
id="btnCancel"
value="Cancel"
onclick='cancel()'
onMouseOver='this.style.background="00CCFF"'
onMouseOut='this.style.background=""'><br>
</body>
</html>