Merge branch 'master' of ssh://git.nguyen.vg/hacks/simpleWebSlides
[hacks/simpleWebSlides.git] / fds / anim / cartes.html
diff --git a/fds/anim/cartes.html b/fds/anim/cartes.html
new file mode 100644 (file)
index 0000000..ab406bc
--- /dev/null
@@ -0,0 +1,37 @@
+<html>
+<head>
+  <title>Cartes binaire</title>
+  <link rel="stylesheet" type="text/css" href="cartes.css" ></link>
+</head>
+<body>
+  <script type="text/javascript" src="jquery-1.8.2.min.js" ></script>
+
+  <div id="all_images">
+    <div class="image" ><img id="c4" src="carte4.png"
+    onclick="flip(4,update_res)" ></img> </div>
+    <div class="image" ><img id="c3" src="carte3.png"
+    onclick="flip(3,update_res)" ></img> </div>
+    <div class="image" ><img id="c2" src="carte2.png"
+    onclick="flip(2,update_res)" ></img> </div>
+    <div class="image" ><img id="c1" src="carte1.png"
+    onclick="flip(1,update_res)" ></img> </div>
+    <div class="image" ><img id="c0" src="carte0.png"
+    onclick="flip(0,update_res)" ></img> </div>
+  </div>
+  <div id="all_digits">
+    <div class="digit" id="d4">1</div>
+    <div class="digit" id="d3">1</div>
+    <div class="digit" id="d2">1</div>
+    <div class="digit" id="d1">1</div>
+    <div class="digit" id="d0">1</div>
+  </div>
+  <div id="result">
+    <div id="rescontent">= 31</div>
+  </div>
+  <div id="command">
+    <button onclick="count(0, 31)">Compter</button>
+    <button onclick="hide_hints()">Afficher</button>
+  </div>
+  <script type="text/javascript" src="cartes-jq.js" ></script>
+</body>
+</html>