Changeset 50


Ignore:
Timestamp:
Oct 15, 2006, 6:52:25 PM (13 years ago)
Author:
David Sheldon
Message:

Make the marker element a yellow marker.

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

Legend:

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

    r16 r50  
    99    #marker {
    1010      position: absolute;
    11       width: 5px;
    12       height: 5px;
    13       background-color: blue;
    1411      visibility: hidden;
    1512                        z-index: 1
  • trunk/npemap.org.uk/static/tiles/map.html

    r48 r50  
    4646</div>
    4747<div id="map_container" style="float:left">
    48   <div id="marker"></div>
     48  <div id="marker">
     49  <img src='../images/yellow-marker.gif' />
     50  </div>
    4951  <div id="postcode_form">
    5052  <form method="post" action="../../cgi/submit.fcgi">
  • trunk/npemap.org.uk/static/tiles/postcode.js

    r48 r50  
    2626                                var northing = baseNorthing + ('000' + Math.round((1-(tileY/img.offsetHeight))*1000)).substr(-3)
    2727
    28                                 YAHOO.util.Dom.setXY(markerElement, [(x-2), (y-2)]);
     28                                YAHOO.util.Dom.setXY(markerElement, [(x-4), (y-11)]);
    2929        markerElement.style.visibility = 'visible';
    3030       
Note: See TracChangeset for help on using the changeset viewer.