aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/theme.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-03-16 13:31:59 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-03-16 13:31:59 -0400
commit7b15f27ba48f5a1b0e24290379e2524796776803 (patch)
tree12b873f7c8a507b4d348369079dd5e3c614272ec /view/theme/dispy/theme.php
parenta8c1cbc65592b58beb2042defa476acdd27fe8fd (diff)
downloadvolse-hubzilla-7b15f27ba48f5a1b0e24290379e2524796776803.tar.gz
volse-hubzilla-7b15f27ba48f5a1b0e24290379e2524796776803.tar.bz2
volse-hubzilla-7b15f27ba48f5a1b0e24290379e2524796776803.zip
weee, dispys get another update
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
Diffstat (limited to 'view/theme/dispy/theme.php')
-rw-r--r--view/theme/dispy/theme.php41
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;
+