Ignore:
Timestamp:
Oct 23, 2006, 6:56:23 PM (14 years ago)
Author:
David Sheldon
Message:

Search now on the map page too, and added credit for Geonames.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/static/index.html

    r143 r144  
    4747
    4848<form onsubmit="return find()">
    49 <p><label for="where">Place Name</label>
    50 <input id="where" name="where" /></p>
    51 <p><input type="submit" name="Zoom To" /></p>
     49<p><label for="where">Place:</label>
     50<input id="where" name="where" />
     51<input type="submit" name="Zoom To" value="Go" /></p>
    5252</form>
     53      <span class="terms">Functionality by <a href="http://geonames.org/">Geonames</a>.</span>
    5354</div>
    5455
     
    8384    var easting = Math.round(en.easting/1000);
    8485    var northing = Math.round(en.northing/1000);
    85     window.location = urlFor(easting, northing, 1);
     86    location.href = urlFor(easting, northing, 1);
    8687  }
    8788  else {
     
    101102        var y = (img.height-(YAHOO.util.Event.getPageY(e) - imgPos[1])) * 2;
    102103
    103         window.location=(urlFor(x, y, 1));
     104        location.href=(urlFor(x, y, 1));
    104105
    105106        YAHOO.util.Event.stopEvent(e);
Note: See TracChangeset for help on using the changeset viewer.