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

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

Actualy send the data to the CGI (not sure about the location), pass in the coordinates to return to.

Improved location of the popup box for entering postcodes.

File size: 2.0 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(); doResize(); go();"  onResize="doResize() ">
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<div id="main_page">
16<div id="move" style="float:right">
17         <table border="0">
18           <tr>
19             <td colspan="2" align="center"><input type="button"
20  onclick="updateGrid('up')" value="/\"></td>
21           </tr>
22           <tr>
23             <td><input type="button" onclick="updateGrid('left')"
24  value="<"></td>
25             <td><input type="button" onclick="updateGrid('right')"
26  value=">"></td>
27           </tr>
28           <tr>
29             <td colspan="2" align="center"><input type="button"
30  onclick="updateGrid('down')" value="\/"></td>
31           </tr>
32         </table>
33
34                <div>
35                        <br />
36                        <a href="javascript:zoomOut()">zoom out</a>
37                        <br />
38                        <a href="javascript:zoomIn()">zoom in</a>
39                </div>
40
41                <div>
42                        <br />
43                        <a href="" id="permalink">permalink</a>
44                </div>
45</div>
46<div id="map_container" style="float:left">
47  <div id="marker"></div>
48  <div id="postcode_form">
49  <form method="post" action="../../cgi/submit.fcgi">
50    <div style="text-align: right;"><a href="javascript:closePostcodeWindow()" title="close">X</a></div>
51                <div><span id="location"></span></div>
52    <div><label for="postcode">Enter the postcode...</label></div>
53    <input type="hidden" id="easting" name="easting" />
54    <input type="hidden" id="northing" name="northing" />
55    <input type="hidden" id="returnX" name="returnX" />
56    <input type="hidden" id="returnY" name="returnY" />
57    <div><input type="text" name="postcode" id="postcode" /></div>
58    <div><input type="submit" value="submit" /></div>
59  </form>
60  </div>
61
62  <div id="map">
63  </div>
64</div>
65</div>
66
67    </body>
68</html>
Note: See TracBrowser for help on using the repository browser.