diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-06-05 20:46:29 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-06-05 20:46:29 +0200 |
| commit | 030c50e2908785a7c3e501ba0a69cf362d3406f9 (patch) | |
| tree | c8838f745a0d53c8f0c6b9a7aca70d0e651efe4a | |
| parent | 9cf376d314f0dabd620a5cde6f28202252951b6d (diff) | |
| download | Chimère-030c50e2908785a7c3e501ba0a69cf362d3406f9.tar.bz2 Chimère-030c50e2908785a7c3e501ba0a69cf362d3406f9.zip | |
Fix JS problem on IE
| -rw-r--r-- | chimere/static/chimere/css/styles.css | 10 | ||||
| -rw-r--r-- | chimere/templates/chimere/blocks/map_params.html | 2 | ||||
| -rw-r--r-- | chimere/templates/chimere/main_map.html | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css index 54fa7ab..275ee22 100644 --- a/chimere/static/chimere/css/styles.css +++ b/chimere/static/chimere/css/styles.css @@ -41,7 +41,7 @@ body, h2, h3, th, fieldset, .action li, #content, #map-footer, #panel, #areas, #welcome, #detail, .detail_footer a, -#map, .window{ +#main-map, .window{ background-color:#FFF; } @@ -57,7 +57,7 @@ div.warning, .errorlist{ border:1px solid #54c200; } -#areas, #detail, #map, +#areas, #detail, #main-map, div.warning, #content, .action li.selected, @@ -348,7 +348,7 @@ ul#share li{ height:88%; } -#map{ +#main-map{ position:absolute; margin:0px; padding:0px; @@ -361,14 +361,14 @@ ul#share li{ z-index:0; } -#map p.warning{ +#main-map p.warning{ position:absolute; margin-top:30px; width:100%; text-align:center; } -.simple #map{ +.simple #main-map{ margin:0px; padding:0px; height:100%; diff --git a/chimere/templates/chimere/blocks/map_params.html b/chimere/templates/chimere/blocks/map_params.html index abdb582..6deeb0d 100644 --- a/chimere/templates/chimere/blocks/map_params.html +++ b/chimere/templates/chimere/blocks/map_params.html @@ -24,7 +24,7 @@ {% if restricted_extent %}{{ restricted_extent }} chimere_init_options["restricted_extent"] = bounds; {% endif %} - $("#map").chimere(chimere_init_options); + $("#main-map").chimere(chimere_init_options); {% if zoom %} $('#maps').chimere('zoom', {'area':{{zoom}} }); {% endif %} diff --git a/chimere/templates/chimere/main_map.html b/chimere/templates/chimere/main_map.html index 02ffc5c..e716df0 100644 --- a/chimere/templates/chimere/main_map.html +++ b/chimere/templates/chimere/main_map.html @@ -29,7 +29,7 @@ <div id='category_detail'></div> {% endblock %} {% block content %} - <div id='map'> + <div id='main-map'> <p id='no-js' class='warning'>{% trans "You must enable JavaScript in your browser to display Chimère."%}</p> </div> <script type="text/javascript"> |
