Commit f408015a authored by David Morley's avatar David Morley
Browse files

hide map div till needed

parent 6321ad6c
......@@ -17,7 +17,7 @@
<?php include("vendor/Mobile_Detect.php");$detect = new Mobile_Detect();if ($detect->isMobile()) {echo '<link rel="stylesheet" href="" /><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';} ?>
<script type="text/javascript">
function map() {
var map = new OpenLayers.Map('map');
......@@ -108,7 +108,7 @@ s1.parentNode.insertBefore(s, s1);
<a href=""><img src=""></a>
<div class="content">
<div id="map" style="width:80%;height:500px;position:absolute"></div>
<div id="map" style="width:80%;height:500px;position:absolute;display:none"></div>
<div id="results">
<?php include("show.php"); ?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment