summaryrefslogtreecommitdiff
path: root/index.html
blob: c46ce0a5188b2d0b7c5d686c0d3bd2ea690c93de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!doctype html>
<html>
    <head>
        <title>TLV Metro</title>
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="jquery.subwayMap-0.5.0.js"></script>
        <link rel="stylesheet" type="text/css" href="main.css">
    </head>
    <body>
        <div class="subway-map" data-columns="12" data-rows="10" data-cellSize="40" data-legendId="legend" data-textClass="text" data-gridNumbers="true" data-grid="false" data-lineWidth="8">
            <ul data-color="#ff4db2" data-label="jQuery Widgets">          
                <li data-coords="2,2" data-marker="interchange">Accordion</li>  
                <li data-coords="4,2">Auto\ncomplete</li>  
                <li data-coords="5,3" data-dir="E"></li>  
                <li data-coords="5,7" data-marker="@station" data-labelPos="W">Slider</li> <!-- marker-only node -->  
                <li data-coords="6,4" data-dir="S" data-marker="interchange" data-markerInfo="h5">Date\npicker</li>  
                <li data-coords="7,4"></li>  
                <li data-coords="7.15,8" data-marker="@station" data-labelPos="E">Dialog</li>  <!-- marker-only node, moved to the right by 0.15 -->
                <li data-coords="8,3" data-dir="E"></li>  
                <li data-coords="8,2"></li>  
                <li data-coords="9,1" data-dir="N"></li>  
                <li data-coords="10,2" data-dir="E" data-marker="interchange" data-labelPos="E">Button</li>  
                <li data-coords="10,5"></li>  
                <li data-coords="9,6" data-dir="S" data-marker="station">Progress\nbar</li>  
                <li data-coords="6,9"></li>  
                <li data-coords="5,8" data-dir="W"></li>  
                <li data-coords="5,7"></li>  
                <li data-coords="4,6" data-dir="N"></li>  
                <li data-coords="2,6">Tabs</li>  
            </ul>

            <ul data-color="#00ff00" data-label="jQuery Interactions" data-shiftCoords="0,-1">
                <li data-coords="2,6"></li> 
                <li data-coords="2,5.9" data-marker="@interchange"> </li> <!-- marker-only node, moved up by 0.10 -->
                <li data-coords="5,6" data-marker="@station" data-labelPos="N">Selectable</li>  
                <li data-coords="6,6"></li>  
                <li data-coords="7,3" data-marker="@station" data-labelPos="W">Resizeable</li>  
                <li data-coords="7,5" data-dir="E" data-marker="station" data-labelPos="E">Droppable</li>  
                <li data-coords="7,1" data-marker="interchange" data-labelPos="W">Draggable</li>  
            </ul>
        
        </div>
        
        <div id="legend"></div>

        <script type="text/javascript">
            $(".subway-map").subwayMap({ debug: true });
        </script>
    </body>
</html>