aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/views/default/profile/css.php2
-rw-r--r--mod/profile/views/default/profile/javascript.php8
2 files changed, 9 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php
index 1585b963f..8ae78601b 100644
--- a/mod/profile/views/default/profile/css.php
+++ b/mod/profile/views/default/profile/css.php
@@ -24,7 +24,7 @@
}
.usericon div.sub_menu {
- z-index:9999;
+ /* z-index:9999; */
display:none;
position:absolute;
padding:2px;
diff --git a/mod/profile/views/default/profile/javascript.php b/mod/profile/views/default/profile/javascript.php
index f5dd5be68..e0f87522c 100644
--- a/mod/profile/views/default/profile/javascript.php
+++ b/mod/profile/views/default/profile/javascript.php
@@ -59,6 +59,14 @@ function setup_avatar_menu() {
.css("left",(avatar.width()-166) + "px")
.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 ));
+
+ //alert("z-index = " +avatar.css("z-index"));
+
// change arrow to 'on' state
$(this).attr('src','<?php echo $vars['url']; ?>_graphics/avatar_menu_arrow_open.gif');
}