aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-16 17:58:19 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-16 17:58:19 +0000
commit35f682f5ef6263e5cb5e0b06b77dd3b77177925d (patch)
tree02fb78ac1a65a84b43a592db49f8dfa0026ff6b7
parentb6e69c16f11efa6b6043e658a99f97630283505f (diff)
downloadelgg-35f682f5ef6263e5cb5e0b06b77dd3b77177925d.tar.gz
elgg-35f682f5ef6263e5cb5e0b06b77dd3b77177925d.tar.bz2
tools menu removed dynamic z-index
git-svn-id: https://code.elgg.org/elgg/trunk@1975 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/profile/views/default/profile/javascript.php10
-rw-r--r--views/default/css.php5
2 files changed, 6 insertions, 9 deletions
diff --git a/mod/profile/views/default/profile/javascript.php b/mod/profile/views/default/profile/javascript.php
index 2620956b3..78cfb396c 100644
--- a/mod/profile/views/default/profile/javascript.php
+++ b/mod/profile/views/default/profile/javascript.php
@@ -62,12 +62,12 @@ function setup_avatar_menu() {
.fadeIn('normal');
}
- // fix for z-index / jquery bug in IE - TO DO: wrap this in a conditional statement - no need to do this calculation for other browsers
- $(this).css("z-index", parseInt( new Date().getTime()/1000 ));
- avatar.css("z-index", parseInt( new Date().getTime()/1000 ));
- submenu.css("z-index", parseInt( new Date().getTime()/1000 ));
+ // fix for z-index / jquery bug
+ //$(this).css("z-index", parseInt( new Date().getTime()/100000000 ));
+ //avatar.css("z-index", parseInt( new Date().getTime()/100000000 ));
+ //submenu.css("z-index", parseInt( new Date().getTime()/100000000 ));
- //alert("z-index = " +avatar.css("z-index"));
+ //alert("submenu z-index = " +submenu.css("z-index"));
// change arrow to 'on' state
$(this).attr('src','<?php echo $vars['url']; ?>_graphics/avatar_menu_arrow_open.gif');
diff --git a/views/default/css.php b/views/default/css.php
index 9b8d30fbe..0fe6ac47b 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -552,14 +552,11 @@ h6 { font-size: 0.8em; }
display:inline;
float:left;
list-style-type: none;
- z-index: 99999;
+ z-index: 99999999;
}
#topbardropdownmenu {
margin:0pt 15px 0pt 5px;
}
-#topbardropdownmenu ul {
- /* width:134px; */
-}
/* Tools link in top menu */
#topbardropdownmenu a, #topbardropdownmenu a:visited {
display:block;