Changeset 86


Ignore:
Timestamp:
Oct 19, 2006, 11:14:47 PM (13 years ago)
Author:
David Sheldon
Message:

Front page, and crop the white off the left of the thumbnail.

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

Legend:

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

    r59 r86  
    1818
    1919<script type="text/javascript">
     20var xOffset = 124;
     21
    2022function click(e) {
    2123       
    2224  e = YAHOO.util.Event.getEvent(e);
    2325  var img = YAHOO.util.Event.getTarget(e);
    24         var x = YAHOO.util.Event.getPageX(e) - img.offsetLeft;
     26        var x = xOffset + YAHOO.util.Event.getPageX(e) - img.offsetLeft;
    2527        var y = img.height-(YAHOO.util.Event.getPageY(e) - img.offsetTop);
    2628
Note: See TracChangeset for help on using the changeset viewer.