diff options
author | zottel <github@zottel.net> | 2012-03-17 01:49:17 +0100 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-03-17 01:49:17 +0100 |
commit | c56e3c5dd4bcbb949282fd3b4c065ccfd4673726 (patch) | |
tree | c4574eae6f2aaf68c50ccc1022944e0e1c45760b /view/theme/dispy/theme.php | |
parent | ea4c806c5c3adacb6ef585de657e5f34c2e24c98 (diff) | |
parent | 8af36b92bb3a78235f5741c764d034dc66b959b2 (diff) | |
download | volse-hubzilla-c56e3c5dd4bcbb949282fd3b4c065ccfd4673726.tar.gz volse-hubzilla-c56e3c5dd4bcbb949282fd3b4c065ccfd4673726.tar.bz2 volse-hubzilla-c56e3c5dd4bcbb949282fd3b4c065ccfd4673726.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/theme/dispy/theme.php')
-rw-r--r-- | view/theme/dispy/theme.php | 40 |
1 files changed, 29 insertions, 11 deletions
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index cbfcb09e6..9f0fcba82 100644 --- a/view/theme/dispy/theme.php +++ b/view/theme/dispy/theme.php @@ -64,7 +64,7 @@ $(document).ready(function() { $('#drop-' + id).addClass('iconspacer'); } ); - // notifications + // click outside notifications menu closes it $('html').click(function() { $('#nav-notifications-linkmenu').removeClass('selected'); document.getElementById("nav-notifications-menu").style.display = "none"; @@ -73,17 +73,17 @@ $(document).ready(function() { $('#nav-notifications-linkmenu').click(function(event) { event.stopPropagation(); }); - - // usermenu + // click outside profiles menu closes it $('html').click(function() { - $('#nav-user-linkmenu').removeClass('selected'); - document.getElementById("nav-user-menu").style.display = "none"; + $('#profiles-menu-trigger').removeClass('selected'); + document.getElementById("profiles-menu").style.display = "none"; }); - $('#nav-user-linkmenu').click(function(event) { + $('#profiles-menu').click(function(event) { event.stopPropagation(); }); + // main function in toolbar functioning function toggleToolbar() { if ( $('#nav-floater').is(':visible') ) { $('#nav-floater').slideUp('fast'); @@ -97,17 +97,35 @@ $(document).ready(function() { }); } }; + // our trigger for the toolbar button $('.floaterflip').click(function() { toggleToolbar(); return false; }); -}); -</script> -<script> -$(document).ready(function() { + + // (attempt) to change the text colour in a top post $('#profile-jot-text').focusin(function() { - $(this).css('color: #eec;'); + $(this).css({color: '#eec'}); }); + + // make auto-complete work in more places + $(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl"); + +/* $('#profile-photo-wrapper').mouseover(function() { + $('.profile-edit-side-div').css({display: 'block'}); + }).mouseout(function() { + $('.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; + });*/ + }); </script> EOT; + |