Changeset 217


Ignore:
Timestamp:
Oct 29, 2006, 12:29:31 PM (13 years ago)
Author:
David Sheldon
Message:

Make the markers look like they are clickable.

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

Legend:

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

    r214 r217  
    1212                        z-index: 1;
    1313    }
     14
     15    div.postcode_marker {
     16       position: absolute;
     17       z-index: 1;
     18       cursor: pointer;
     19    }
     20   
    1421    #postcode_form {
    1522      line-height: 100%;
  • trunk/npemap.org.uk/static/tiles/map.html

    r216 r217  
    6868  <div id="postcode_detail_window">
    6969    <div style="float:right"><a href="javascript:hideMarkerWindow()" title="close">X</a></div>
     70                <div><span class="terms" id="postcode_detail"></span></div>
    7071                <div><span class="terms" id="location_detail"></span></div>
    71                 <div><span class="terms" id="postcode_detail"></span></div>
    7272    <div><span class="terms" id="source_detail"></span></div>
    7373    <a href="#" id="bad">Problem?</a>
  • trunk/npemap.org.uk/static/tiles/mapTiles.js

    r216 r217  
    380380        var img=document.createElement('img');
    381381    newMarker.appendChild(img);
    382     newMarker.style.position = 'absolute';
    383     newMarker.style.zIndex = 1;
     382    newMarker.className = 'postcode_marker';
    384383    markers[markers.length] = newMarker;
    385384    mainPageElement.appendChild(newMarker);
Note: See TracChangeset for help on using the changeset viewer.