summaryrefslogtreecommitdiff
path: root/chimere/static
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/static')
-rw-r--r--chimere/static/chimere/css/styles.css2
-rw-r--r--chimere/static/chimere/js/SimplePanZoom.js6
2 files changed, 7 insertions, 1 deletions
diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css
index ceb3b60..25ee6e8 100644
--- a/chimere/static/chimere/css/styles.css
+++ b/chimere/static/chimere/css/styles.css
@@ -132,6 +132,8 @@ legend{
font-weight:bold;
}
+a img {border: none;}
+
h2{
font-size:16px;
text-align:center;
diff --git a/chimere/static/chimere/js/SimplePanZoom.js b/chimere/static/chimere/js/SimplePanZoom.js
index e42dc54..45619c3 100644
--- a/chimere/static/chimere/js/SimplePanZoom.js
+++ b/chimere/static/chimere/js/SimplePanZoom.js
@@ -92,6 +92,11 @@ OpenLayers.Control.SimplePanZoom = OpenLayers.Class(OpenLayers.Control.PanZoom,
buttons: null,
/**
+ * Top position of the slider: change if the Y position of the slider have change
+ */
+ startTop: 75,
+
+ /**
* APIMethod: destroy
*/
destroy: function() {
@@ -200,7 +205,6 @@ OpenLayers.Control.SimplePanZoom = OpenLayers.Class(OpenLayers.Control.PanZoom,
this.zoombarDiv = div;
this.div.appendChild(div);
- this.startTop = 75;
this.div.appendChild(slider);
this.map.events.register("zoomend", this, this.moveZoomBar);