client/podium.html
changeset 2 5533075b5f08
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/podium.html	Wed Feb 15 12:34:36 2012 +0100
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="utf-8" />
+        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+        <title>podium</title>
+        <meta name="description" content="" />
+        <style type="text/css">
+            body {
+                background: #000;
+            }
+            #podium {
+                width: 600px;
+                height: 300px;
+                cursor: pointer;
+            }
+        </style>
+        <script type="text/javascript" src="lib/jquery.min.js"></script>
+        <script type="text/javascript" src="js/podium.js"></script>
+        <script type="text/javascript">
+            var myPodium;
+            function randomValues() {
+                var _res = [];
+                for (var i = 0; i < 4; i++) {
+                    _res.push(Math.floor(20*Math.random()));
+                }
+                return _res;
+            }
+            $(function() {
+                myPodium = new Btv_Podium(randomValues());
+                $("#podium").click(function() {
+                   myPodium.update(randomValues());
+                });
+            });
+        </script>
+    </head>
+    <body>
+    </body>
+</html>
\ No newline at end of file