-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcalculator7.html
115 lines (113 loc) · 5.33 KB
/
calculator7.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!--
- Calculator: Calculator clone for iPad by HTML5
- author: ICHIKAWA, Yuji
- Copyright (C) 2013 ICHIKAWA, Yuji (New 3 Rs)
-->
<!DOCTYPE html>
<html manifest="calculator7.manifest">
<head>
<title>Calculator</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width minimum-scale=1 maximum-scale=1 user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-icon-precomposed" href="images/icon7.png">
<link rel="shortcut icon" href="images/favicon.ico" />
<link rel="icon" href="images/favicon.ico" />
<link rel="apple-touch-startup-image" media="(max-device-width: 480px)" href="images/startup-iphone.png" />
<link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (orientation: portrait)" href="images/startup-portrait.png" />
<link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (orientation: landscape)" href="images/startup-landscape.png" />
<link rel="stylesheet" href="lib/add2home.css">
<link rel="stylesheet" href="calculator7.css" type="text/css">
</head>
<body>
<div id="display">
<span id="view">0</span>
<div id="angle">Deg</div>
</div>
<div id="keypad-dimension">
<table id="keypad">
<tbody>
<tr>
<td id="parleft" class="key function">(</td>
<td id="parright" class="key function">)</td>
<td id="mc" class="key function">mc</td>
<td id="mplus" class="key function">m+</td>
<td id="mminus" class="key function" data-role="m-">m−</td>
<td id="mr" class="key function nofix">mr</td>
<td id="clear" class="key function small" data-role="allclear">AC</td>
<td id="plusminus" class="key function" data-role="plusminus">+/−</td>
<td class="key function unary" data-role="percent2number">%</td>
<td class="key operator binary" data-role="div">÷</td>
</tr>
<tr>
<td id="second" class="key function" data-role="modifier" data-status="off">2nd</td>
<td class="key function unary" data-role="square">x²</td>
<td class="key function unary" data-role="cube">x³</td>
<td class="key function binary" data-role="power">y<sup>x</sup></td>
<td class="key function unary small double" data-role="exp">e<sup>x</sup></td>
<td class="key function unary small double" data-role="pow10">10<sup>x</sup></td>
<td class="key number">7</td>
<td class="key number">8</td>
<td class="key number">9</td>
<td class="key operator binary" data-role="mul">×</td>
</tr>
<tr>
<td class="key function unary" data-role="inverse">1/x</td>
<td class="key function unary" data-role="root">√</td>
<td class="key function unary" data-role="cuberoot"><sup>3</sup>√</td>
<td class="key function binary" data-role="xthroot"><sup>x</sup>√y</td>
<td class="key function unary small double" data-role="log">ln</td>
<td class="key function unary" data-role="log10">log</td>
<td class="key number">4</td>
<td class="key number">5</td>
<td class="key number">6</td>
<td class="key operator binary" data-role="sub">−</td>
</tr>
<tr>
<td class="key function unary" data-role="factorial">x!</td>
<td class="key function unary small double">sin</td>
<td class="key function unary small double">cos</td>
<td class="key function unary small double">tan</td>
<td id="e" class="key function nofix" data-role="e">e</td>
<td class="key function binary small" data-role="enotation">EE</td>
<td class="key number">1</td>
<td class="key number">2</td>
<td class="key number">3</td>
<td class="key operator binary" data-role="add">+</td>
</tr>
<tr>
<td id="angle_key" class="key function small" data-role="angle">Rad</td>
<td class="key function unary small double">sinh</td>
<td class="key function unary small double">cosh</td>
<td class="key function unary small double">tanh</td>
<td id="pi" class="key function nofix" data-role="pi">π</td>
<td class="key function nofix small" data-role="random">Rand</td>
<td colspan=2 id="zero_key" class="key number">0</td>
<td id="period" class="key">.</td>
<td id="equal_key" class="key">=</td>
</tr>
</tbody>
</table>
</div>
<script src="js/appframework.min.js"></script>
<script src="js/base64-binary.js"></script>
<script src="calculator.min.js"></script>
<script type="text/javascript">
var addToHomeConfig = {
animationIn: 'drop',
animationOut: 'bubble',
lifespan:3000,
touchIcon:true
};
</script>
<script type="application/javascript" src="lib/add2home.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-510249-13', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>