source: trunk/npemap.org.uk/static/tiles/map.html @ 18

Last change on this file since 18 was 18, checked in by David Sheldon, 15 years ago

Use the yahoo dom library to find the X,Y of the tiles, much better.

File size: 1.9 KB
Line 
1<html>
2    <head>
3        <title>New popular edition</title>
4        <link rel="stylesheet" type="text/css" href="grid.css">
5    </head>
6<body onload="initializePage(); initialGrid(); go();"  onResize="window.location.href = window.location.href;">
7<!-- Yahoo functions -->
8<script src="yahoo.js"></script> 
9<script src="dom.js"></script> 
10<!-- Our functions -->
11<script src="mapTiles.js"></script>
12<script src="postcode.js"></script>
13        <h1 id=theTitle>New popular mapping</h1>
14   
15<p id=msgCall>JavaScript not enabled: Set your browser to use JavaScript.</p>
16
17<div id="main_page">
18<div id="move" style="float:right">
19         <table border="0">
20           <tr>
21             <td colspan="2" align="center"><input type="button"
22  onclick="updateGrid('up')" value="/\"></td>
23           </tr>
24           <tr>
25             <td><input type="button" onclick="updateGrid('left')"
26  value="<"></td>
27             <td><input type="button" onclick="updateGrid('right')"
28  value=">"></td>
29           </tr>
30           <tr>
31             <td colspan="2" align="center"><input type="button"
32  onclick="updateGrid('down')" value="\/"></td>
33           </tr>
34         </table>
35
36                <div>
37                        <br />
38                        <a href="javascript:zoomOut()">zoom out</a>
39                        <br />
40                        <a href="javascript:zoomIn()">zoom in</a>
41                </div>
42
43                <div>
44                        <br />
45                        <a href="" id="permalink">permalink</a>
46                </div>
47</div>
48<div id="map_container" style="float:left">
49  <div id="marker"></div>
50  <div id="postcode_form">
51    <div style="text-align: right;"><a href="javascript:closePostcodeWindow()" title="close">X</a></div>
52                <div><span id="location"></span></div>
53    <div><label for="postcode">Enter the postcode...</label></div>
54    <div><input type="text" id="postcode" /></div>
55    <div><input type="submit" value="submit" /></div>
56  </div>
57
58  <div id="map">
59  <script type="text/javascript">
60    drawTable()
61  </script>
62  </div>
63</div>
64</div>
65
66    </body>
67</html>
Note: See TracBrowser for help on using the repository browser.