From 09bea0f53890e20d878b7af9fa55fd2ccd8ee235 Mon Sep 17 00:00:00 2001 From: pete Date: Wed, 8 Oct 2008 15:49:37 +0000 Subject: user avatar menu method adjusted to avoid hard-coded image resources git-svn-id: https://code.elgg.org/elgg/trunk@2228 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/css.php | 16 +++++++- mod/profile/views/default/profile/icon.php | 2 +- mod/profile/views/default/profile/javascript.php | 48 +++++++++++++++++------- 3 files changed, 51 insertions(+), 15 deletions(-) (limited to 'mod/profile') diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php index 7d45a936d..e34fc1681 100644 --- a/mod/profile/views/default/profile/css.php +++ b/mod/profile/views/default/profile/css.php @@ -22,7 +22,21 @@ right:0; bottom:0; } - +.avatar_menu_arrow { + background: url(_graphics/avatar_menu_arrow.gif) no-repeat top left; + width:15px; + height:15px; +} +.avatar_menu_arrow_on { + background: url(_graphics/avatar_menu_arrow_open.gif) no-repeat top left; + width:15px; + height:15px; +} +.avatar_menu_arrow_hover { + background: url(_graphics/avatar_menu_arrow_hover.gif) no-repeat top left; + width:15px; + height:15px; +} .usericon div.sub_menu { display:none; position:absolute; diff --git a/mod/profile/views/default/profile/icon.php b/mod/profile/views/default/profile/icon.php index ef5ab3769..fcdbfa70c 100644 --- a/mod/profile/views/default/profile/icon.php +++ b/mod/profile/views/default/profile/icon.php @@ -48,7 +48,7 @@ ?>
-
+