From 5b757e4e0e2f33a17a5a17953e49aba44a6ae7b3 Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Thu, 15 Mar 2012 15:07:17 -0400 Subject: commit latest to dispy-dark. fixes in html css and js Signed-off-by: Simon L'nu --- view/theme/dispy-dark/theme.php | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'view/theme/dispy-dark/theme.php') diff --git a/view/theme/dispy-dark/theme.php b/view/theme/dispy-dark/theme.php index 6f8243058..c0611ce83 100644 --- a/view/theme/dispy-dark/theme.php +++ b/view/theme/dispy-dark/theme.php @@ -74,16 +74,6 @@ $(document).ready(function() { event.stopPropagation(); }); - // usermenu - //$('html').click(function() { -// $('#user-menu-popup').css('display: none'); - //document.getElementById("usermenu-popup").style.display = "none"; - //}); - - //$('#user-menu').click(function(event) { - // event.stopPropagation(); - //}); - function toggleToolbar() { if ( $('#nav-floater').is(':visible') ) { $('#nav-floater').slideUp('fast'); @@ -106,11 +96,20 @@ $(document).ready(function() { $(this).css({color: '#eec'}); }); - $('#profile-photo-wrapper').mouseover(function() { - $('#profile-edit-side-div').css({display: 'block'}); +/* $('#profile-photo-wrapper').mouseover(function() { + $('.profile-edit-side-div').css({display: 'block'}); }).mouseout(function() { - $('#profile-edit-side-div').css({display: 'none'}); + $('.profile-edit-side-div').css({display: 'none'}); + return false; }); + + $('img.photo').mouseover(function() { + $('.profile-edit-side-div').css({display: 'block'}); + }).mouseout(function() { + $('.profile-edit-side-div').css({display: 'none'}); + return false; + });*/ + }); EOT; -- cgit v1.2.3