Changeset 315


Ignore:
Timestamp:
Nov 4, 2006, 6:38:01 PM (13 years ago)
Author:
David Sheldon
Message:

Don't show the map if you don't have JS enabled.

File:
1 edited

Legend:

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

    r312 r315  
    5050Click on the map to zoom in and get on with it.
    5151</p>
    52 <a href="#" id="link">
    53 <img src="thumbnail.jpg" alt="Click this map to zoom"/>
    54 </a>
     52<script type="text/javascript">
     53document.write(' <a href="#" id="link"> <img src="thumbnail.jpg" alt="Click this map to zoom"/> </a>');
     54</script>
     55<noscript>
     56This site requires javascript
     57</noscript>
    5558
    5659<form onsubmit="return find()" action="">
    57 <p><label for="where">Place:</label>
    58 <input id="where" name="where" />
    59 <input type="submit" name="Zoom To" value="Go" /></p>
     60<p>
     61<script type="text/javascript">
     62document.write(' <label for="where">Place:</label><input id="where" name="where" /> <input type="submit" name="Zoom To" value="Go" />');
     63</script>
     64</p>
    6065</form>
    6166      <span class="terms">Functionality by <a href="http://www.geonames.org/">Geonames</a>.</span>
Note: See TracChangeset for help on using the changeset viewer.