[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/events/info/conference2006
From: Marcus Furlong <furlongm () gmail ! com>
Date: 2006-08-29 19:49:36
Message-ID: 1156880976.246249.23101.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 578624 by furlongm:
add GPD coords to map
M +12 -1 css.inc
M +2 -1 organization/map.js
M +1 -2 organization/map.php
--- trunk/www/areas/events/info/conference2006/css.inc #578623:578624
@@ -96,8 +96,19 @@
border-color: #666666;
border-width: 1px;
float: left;
- margin: 0.3em ;
+ margin: 0.3em;
padding: 0.3em;
cursor: pointer;
cursor: hand;
}
+
+div#gpscoords {
+ <?php color ('#0080AA'); ?>
+ background-color: #EEEEEE;
+ border-style: solid;
+ border-color: #666666;
+ border-width: 1px;
+ margin: 0.3em;
+ text-align: center;
+ padding: 0.3em;
+}
--- trunk/www/areas/events/info/conference2006/organization/map.js #578623:578624
@@ -16,7 +16,8 @@
GEvent.addListener(map, "moveend", function() {
var center = map.getCenter();
- document.getElementById("message").innerHTML = center.toString();
+ center=center.toString().replace(/\(/," ").replace(/\)/," ");
+ document.getElementById("gpscoords").innerHTML = "GPS Coordinates:"+center;
});
map.addControl(new GLargeMapControl());
--- trunk/www/areas/events/info/conference2006/organization/map.php #578623:578624
@@ -10,9 +10,8 @@
<p>This map contains the various locations that are of interest to aKademy \
participants. Click on the following buttons to show the location, and related \
information.</p> <br clear="all" />
<div id="placelinks"></div><br clear="all" /><br />
+ <div id="gpscoords">Loading aKademy 2006 Map...<br />If the map does not appear, \
enable javascript in your web browser.</div><br /> <div id="map" style="width: \
550px; height: 550px"></div>
-<!-- Uncomment the following line to display the current coordinates of the map \
centre -->
-<!-- <div id="message"></div> -->
<?php
include "footer.inc";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic