diff options
author | Simon <simon@kisikew.org> | 2012-03-16 10:35:19 -0700 |
---|---|---|
committer | Simon <simon@kisikew.org> | 2012-03-16 10:35:19 -0700 |
commit | 925b9c5b9ce83825f5003f88d3afbdcb620c28fc (patch) | |
tree | 12b873f7c8a507b4d348369079dd5e3c614272ec /view/theme/dispy/theme.php | |
parent | 28f941193d75ca12f4cb2a38a1c60e60ad10f2a6 (diff) | |
parent | 7b15f27ba48f5a1b0e24290379e2524796776803 (diff) | |
download | volse-hubzilla-925b9c5b9ce83825f5003f88d3afbdcb620c28fc.tar.gz volse-hubzilla-925b9c5b9ce83825f5003f88d3afbdcb620c28fc.tar.bz2 volse-hubzilla-925b9c5b9ce83825f5003f88d3afbdcb620c28fc.zip |
Merge pull request #140 from simonlnu/master
weee, dispys get another update
Diffstat (limited to 'view/theme/dispy/theme.php')
-rw-r--r-- | view/theme/dispy/theme.php | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php index cbfcb09e6..ac97948a3 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"; @@ -74,16 +74,7 @@ $(document).ready(function() { event.stopPropagation(); }); - // usermenu - $('html').click(function() { - $('#nav-user-linkmenu').removeClass('selected'); - document.getElementById("nav-user-menu").style.display = "none"; - }); - - $('#nav-user-linkmenu').click(function(event) { - event.stopPropagation(); - }); - + // main function in toolbar functioning function toggleToolbar() { if ( $('#nav-floater').is(':visible') ) { $('#nav-floater').slideUp('fast'); @@ -97,17 +88,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; + |