Subversion-Projekte lars-tiefland.ci

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
776 lars 1
<html>
2
 
3
    <head>
4
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
        <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
8
        <style type="text/css">
9
            iframe {
10
                width: 900px;
11
                height: 600px;
12
                padding: 0;
13
                border: 2px solid #ddd;
14
                overflow: hidden;
15
                position: relative;
16
            }
17
 
18
            #controls {
19
                background: #ccc;
20
                opacity: 0.5;
21
                padding: 5px 8px;
22
                font-size: 14px;
23
                font-weight: bold;
24
                font-family: Verdana;
25
                margin-bottom: 10px;
26
            }
27
        </style>
28
        <script type="text/javascript">
29
            function setType(type)
30
            {
31
                $('#iframe').attr('src', type);
32
            }
33
 
34
            function reload()
35
            {
36
                setType($('#type').val() + "?" + Number(new Date()));
37
            }
38
        </script>
39
    </head>
40
 
41
    <body>
42
        <div id="controls">
43
            <select id="type" onchange="setType(this.options[this.selectedIndex].value);">
44
                <option value="pie1.html" selected="selected">Pie #1 (Simple w/ legend)</option>
45
                <option value="pie2.html" />Pie #2 (3D w/ legend)</option>
46
                <option value="pie3.html" />Pie #3 (w/ ext. legend left)</option>
47
                <option value="pie4.html" />Pie #4 Multiple instances</option>
48
                <option value="serial1.html">Serial #1 (Area)</option>
49
                <option value="serial2.html">Serial #2 (Bar &amp; Line)</option>
50
                <option value="serial3.html">Serial #3 (Line w/ zoom)</option>
51
                <option value="xy.html">XY</option>
52
                <option value="radar.html">Radar</option>
53
                <option value="gauge.html">Gauge</option>
54
                <option value="funnel.html">Funnel</option>
55
                <option value="stock.html">Stock</option>
56
                <option value="map.html">Map</option>
57
                <option value="gantt.html">Gantt</option>
58
            </select>
59
            <input type="button" value="reload" onclick="reload();" /> </div>
60
        <iframe id="iframe" src="pie1.html" frameborder="0"></iframe>
61
    </body>
62
 
63
</html>