aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-17 11:58:38 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-17 11:58:38 +0000
commit86da480b2ba76aa1547f035e33924aa8f57c2eeb (patch)
treebd03e7695c0b2292578c2e3a30f76286794fe5e4 /mod
parente7c780d98df8b1915ea09e85705a370bf9205dec (diff)
downloadelgg-86da480b2ba76aa1547f035e33924aa8f57c2eeb.tar.gz
elgg-86da480b2ba76aa1547f035e33924aa8f57c2eeb.tar.bz2
avatar menu fix for IE groups and profile pages
git-svn-id: https://code.elgg.org/elgg/trunk@1978 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/views/default/groups/css.php1
-rw-r--r--mod/profile/views/default/profile/css.php6
-rw-r--r--mod/profile/views/default/profile/javascript.php5
3 files changed, 5 insertions, 7 deletions
diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php
index 36aae6d92..b86703711 100644
--- a/mod/groups/views/default/groups/css.php
+++ b/mod/groups/views/default/groups/css.php
@@ -175,7 +175,6 @@
margin:0 0 10px 0;
}
.forum_latest .topic_owner_icon {
- position:relative;
float:left;
}
.forum_latest .topic_title {
diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php
index 234d6fb39..5083e73d1 100644
--- a/mod/profile/views/default/profile/css.php
+++ b/mod/profile/views/default/profile/css.php
@@ -36,9 +36,9 @@
background:#FFFFFF;
text-align:left;
}
-
-* html .usericon div.sub_menu { } /* IE6 */
-*+html .usericon div.sub_menu { } /* IE7 */
+div.usericon a.icon img {
+ z-index:10;
+}
.usericon div.sub_menu a {margin:0;padding:2px;}
.usericon div.sub_menu a:link,
diff --git a/mod/profile/views/default/profile/javascript.php b/mod/profile/views/default/profile/javascript.php
index 24bf20689..4e96279bb 100644
--- a/mod/profile/views/default/profile/javascript.php
+++ b/mod/profile/views/default/profile/javascript.php
@@ -65,10 +65,9 @@ function setup_avatar_menu() {
.fadeIn('normal');
}
- // fix for ie z-index bug
- //submenu.css("z-index", parseInt( new Date().getTime()/100000000 ));
-
+ // force z-index - workaround for IE z-index bug
avatar.css("z-index", submenuLayer);
+ avatar.find("a.icon img").css("z-index", submenuLayer);
submenu.css("z-index", submenuLayer+1);
submenuLayer++;