Subversion-Projekte lars-tiefland.cienc

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
5 lars 1
<!doctype html>
2
 
3
<head>
4
    <!-- jQuery packaging changed for 2.1.0, so try to load both paths, one will work. -->
5
    <script src="../../bower_components/jquery/dist/jquery.js"></script>
6
    <script src="../../bower_components/jquery/jquery.js"></script>
7
    <script src="../../bower_components/raphael/raphael-min.js"></script>
8
    <script src="../../morris.js"></script>
9
    <link rel="stylesheet" href="../../morris.css">
10
    <style>
11
        body {
12
            padding: 0;
13
            margin: 0;
14
            background-color: white;
15
        }
16
 
17
        #chart {
18
            width: 500px;
19
            height: 300px;
20
        }
21
    </style>
22
    <script>
23
        function bridge(e)
24
        {
25
            window.alert(JSON.stringify(e));
26
        }
27
        window.snapshot = function()
28
        {
29
            bridge(
30
            {
31
                fn: "snapshot"
32
            });
33
        };
34
        window.mousemove = function(x, y)
35
        {
36
            bridge(
37
            {
38
                fn: "mousemove",
39
                x: x,
40
                y: y
41
            });
42
        };
43
    </script>
44
</head>
45
 
46
<body>
47
    <div id="chart"></div>
48
</body>