Module: nagvis
Branch: master
Commit: 0b91c56f40a69385c6cd91140666ddbd2708ffa2
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=0b91c56f40a69385c6cd91140666ddbd2708ffa2

Author: LaMi <[email protected]>
Date:   Thu Apr 29 23:06:35 2010 +0200

#275 Fixed automap objects z-index value

---

 share/server/core/classes/NagVisAutoMap.php |    3 ++-
 share/userfiles/templates/default.css       |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/share/server/core/classes/NagVisAutoMap.php 
b/share/server/core/classes/NagVisAutoMap.php
index fb9a091..5f32b2e 100644
--- a/share/server/core/classes/NagVisAutoMap.php
+++ b/share/server/core/classes/NagVisAutoMap.php
@@ -420,7 +420,8 @@ class NagVisAutoMap extends GlobalMap {
                                                        $aCoords = explode(',', 
$coords);
                                                        
                                                        // FIXME: z-index 
configurable?
-                                                       $aObjCoords[$name1] = 
Array('x' => $aCoords[0], 'y' => $aCoords[1], 'z' => 101);
+                                                       // Header menu has 
z-index 100, this object's label the below+1
+                                                       $aObjCoords[$name1] = 
Array('x' => $aCoords[0], 'y' => $aCoords[1], 'z' => 98);
                                                break;
                                                case 'poly':
                                                        //$aCoords = 
explode(',', $coords);
diff --git a/share/userfiles/templates/default.css 
b/share/userfiles/templates/default.css
index 422b0ce..87221dd 100644
--- a/share/userfiles/templates/default.css
+++ b/share/userfiles/templates/default.css
@@ -54,8 +54,8 @@ div.welcome a,div.welcome a:active,div.welcome a:visited 
{color:#43B3CF}
 div.welcome a:hover {color:#779D2A}
 
 /* Automap */
-#automap {z-index:100}
-#automap shape {z-index:100}
+#automap {z-index:97}
+#automap shape {z-index:97}
 
 /* Message-Box */
 .messageBox {


------------------------------------------------------------------------------
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to