diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-17 11:58:38 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-17 11:58:38 +0000 |
commit | 86da480b2ba76aa1547f035e33924aa8f57c2eeb (patch) | |
tree | bd03e7695c0b2292578c2e3a30f76286794fe5e4 /mod/profile/views/default | |
parent | e7c780d98df8b1915ea09e85705a370bf9205dec (diff) | |
download | elgg-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/profile/views/default')
-rw-r--r-- | mod/profile/views/default/profile/css.php | 6 | ||||
-rw-r--r-- | mod/profile/views/default/profile/javascript.php | 5 |
2 files changed, 5 insertions, 6 deletions
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++;
|