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

Last change on this file since 172 was 172, checked in by David Sheldon, 13 years ago

Tidy up the JS and finally fixed the IE overlay problem.

Don't ask what sort of nutters wrote that shite.

File size: 3.5 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3    <head>
4        <title>New Popular Edition Maps</title>
5        <link rel="stylesheet" type="text/css" href="grid.css">
6    </head>
7<body onload="initializePage();"  id="body">
8<!-- Yahoo functions -->
9<script src="yahoo.js" type="text/javascript"></script> 
10<script src="dom.js" type="text/javascript"></script> 
11<script src="event.js" type="text/javascript"></script> 
12<script src="jsr_class.js" type="text/javascript"></script> 
13<script src="jscoord-1.1.1.js" type="text/javascript"></script> 
14<script src="connection.js" type="text/javascript"></script>
15<!-- Our functions -->
16<script src="mapTiles.js" type="text/javascript"></script>
17<script type="text/javascript">
18window.onresize = doResize;
19
20</script>
21        <h1 id=theTitle>New Popular Edition Maps</h1>
22
23<div id="main_page">
24<div id="move" style="float:right">
25         <table border="0">
26           <tr>
27             <td colspan="2" align="center"><input type="button"
28  onclick="updateGrid('up')" value="/\"></td>
29           </tr>
30           <tr>
31             <td><input type="button" onclick="updateGrid('left')"
32  value="<"></td>
33             <td><input type="button" onclick="updateGrid('right')"
34  value=">"></td>
35           </tr>
36           <tr>
37             <td colspan="2" align="center"><input type="button"
38  onclick="updateGrid('down')" value="\/"></td>
39           </tr>
40         </table>
41         <span class='hidden' id="spinner">Loading...</span>
42
43                <div>
44                        <br />
45                        <a href="javascript:zoomOut()">zoom out</a>
46                        <br />
47      <span id="zoomin_enabled"><a href="javascript:zoomIn()" >zoom in</a></span>
48      <span id="zoomin_disabled" style="display: none">zoom in</span>
49                </div>
50
51                <div>
52                        <br />
53                        <a href="" id="permalink">permalink</a>
54                        <br />
55                        <a href="/" id="home">home</a>
56                        <br />
57                        <a href="/reportBug.html">problem?</a>
58                </div>
59                <div>
60      <form onsubmit="return find()" action="">
61      <p><label for="where">Place name:</label><br/>
62      <input id="where" name="where" size="15"/><br/>
63      <input type="submit" name="Zoom To" value="Go" /></p>
64      </form>
65      <span class="terms">Functionality by <a href="http://www.geonames.org/">Geonames</a>.</span>
66                </div>
67</div>
68  <div id="postcode_form">
69  <form method="post" action="../../cgi/submit.fcgi">
70    <div style="text-align: right;"><a href="javascript:closePostcodeWindow()" title="close">X</a></div>
71                <div><span id="location"></span></div>
72    <div><label for="postcode1">Enter the postcode...</label></div>
73    <input type="hidden" id="easting" name="easting" />
74    <input type="hidden" id="northing" name="northing" />
75    <input type="hidden" id="returnX" name="returnX" />
76    <input type="hidden" id="returnY" name="returnY" />
77    <div>
78      <input type="text" name="postcode1" id="postcode1" size="4" />
79      <input type="text" name="postcode2" id="postcode2" size="3" />
80    </div>
81    <div><input type="submit" value="submit" /></div>
82  </form>
83         <span class="terms">By clicking submit you agree to release this information into the public domain.</span>
84  </div>
85</div>
86<div id="map_container" style="float:left">
87  <div id="marker">
88  <img src='../images/yellow-marker.gif' alt="Your location"/>
89  </div>
90<!--
91  <div id="postcodeinfo">
92    <span id="postcode"></span>
93    <input type="hidden" id="pcode_id" name="postcode" />
94    <input type="text" id="reason" name="reason" />
95    <input type="text" id="email" name="email" />
96   
97  </div>
98-->
99  <div id="map">
100  </div>
101</div>
102    </body>
103</html>
Note: See TracBrowser for help on using the repository browser.