notpron

git clone git://xatko.vsos.ethz.ch/notpron.git
Log | Files | Refs

Programs.html (1088B)


      1 <!DOCTYPE html>
      2 <HTML>
      3 	<head>
      4 		<title>a &rarr; z</title>
      5 		<script src="atoz.js" type="text/JavaScript"></script>
      6 		<script src="shift.js" type="text/JavaScript"></script>
      7 	</head>
      8 	<body>
      9 		<h1 style="text-align:center; border-bottom: 2px black solid;">a &rarr; z</h1>
     10 		<div style="text-align:center">
     11 			<p style="font-style:italic;">f<sub>(x)</sub>='z'-(x-'a')</p>
     12 			<form>
     13 				<textarea rows="20" cols="100"></textarea><p />
     14 				<input type="button" value="Berechnen" onclick="var el=this.parentNode.parentNode.firstChild.nextSibling; el.value=string_atoz(el.value);" />
     15 			</form>
     16 		</div>
     17 		<h1 style="text-align:center; border-bottom: 2px black solid;">x-y</h1>
     18 		<div style="text-align:center">
     19 			<p style="font-style:italic;">f<sub>(x)</sub>=x-y</p>
     20 			<form>
     21 				<textarea rows="20" cols="100"></textarea><p />
     22 				<input type="text" value="" />
     23 				<input type="button" value="Berechnen" onclick="var el=this.parentNode.parentNode.firstChild.nextSibling; el.value=shiftString(el.value, this.previousSibling.previousSibling.value);" />
     24 			</form>
     25 		</div>
     26 	</body>
     27 </HTML>