Changeset 297


Ignore:
Timestamp:
Nov 2, 2006, 9:55:45 PM (13 years ago)
Author:
David Sheldon
Message:

Show a key.

Location:
trunk/npemap.org.uk/static/tiles
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/static/tiles/grid.css

    r290 r297  
    162162        font-size: 60%;
    163163}
     164
     165ul {
     166  padding: 1em;
     167}
     168li.green {
     169  list-style: url('../images/green-marker.gif');
     170}
     171li.blue {
     172  list-style: url('../images/blue-marker.gif');
     173}
  • trunk/npemap.org.uk/static/tiles/map.html

    r294 r297  
    7272  </div>
    7373        <div id="showHideMarkers">
    74     <p><img src="../images/green-marker.gif" > <a href="javascript:setMarkersHidden()" id="setMarkers">hide markers</a><a href="javascript:unsetMarkersHidden()" id="unsetMarkers" style="display:none">show markers</a></p>
     74    <p><img src="../images/green-marker.gif" alt='' > <a href="javascript:setMarkersHidden()" id="setMarkers">hide markers</a><a href="javascript:unsetMarkersHidden()" id="unsetMarkers" style="display:none">show markers</a></p>
     75    <ul><li class="blue"><a href="http://www.freethepostcode.org">freethepostcode.org</a> data</li><li class="green">our data</li></ul>
    7576        </div>
    7677</div>
  • trunk/npemap.org.uk/static/tiles/mapTiles.js

    r293 r297  
    206206    $('zoomin_enabled').style.display= 'none';
    207207    $('zoomin_disabled').style.display= '';
     208    $('showHideMarkers').style.display= '';
    208209        } else {
    209210    $('zoomin_enabled').style.display = '';
    210211    $('zoomin_disabled').style.display = "none";
     212    $('showHideMarkers').style.display= 'none';
    211213  }
    212214}
Note: See TracChangeset for help on using the changeset viewer.