]> dev.renevier.net Git - syp.git/blobdiff - inc/templates_index.php
fixes: popups with only a description were not displayed correctly in IE
[syp.git] / inc / templates_index.php
index 6fd516b09e46f6e8ed956417c50c2afc65533049..722daa9479bbdbe7a1ec1d087c4d2d558d162260 100644 (file)
@@ -25,8 +25,8 @@ if (defined ("THUMBSMAXSIZE") && (THUMBSMAXSIZE > 0)) {
     <link rel="stylesheet" href="./openlayers/theme/default/style.css" type="text/css">
     <link rel="stylesheet" href="./media/syp.css" type="text/css">
     <style type="text/css">
-        .olPopup {
-            <?php printf("width: %dpx;\n", $thumbsmaxsize)?>
+        .olPopup {
+            <?php printf("_width: %dpx;\n", ($thumbsmaxsize + 40))?>
         }
         .olPopup img {
             <?php printf("max-height: %dpx;\n", $thumbsmaxsize)?>
@@ -73,5 +73,15 @@ if (defined ("THUMBSMAXSIZE") && (THUMBSMAXSIZE > 0)) {
         <div id="map"></div>
         <div id="message"></div>
 
+    <div id="bigimg_container">
+    <div id="bigimg_transparency"></div>
+        <div id="bigimg_content">
+            <img id="bigimg" onclick="SYP.closeBigImage()">
+            <img id="bigimg_close" alt="<?php ptrans('close')?>" 
+                    src="openlayers/theme/default/img/close.gif" 
+                    onclick="SYP.closeBigImage()">
+        </div>
+    </div>
+
 </body>
 </html>