aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/theme.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2012-03-17 08:44:36 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2012-03-17 08:44:36 +0100
commit96da328acf838faff3fe823f3dd7557d16fe1d8b (patch)
treefb26adfc9fc61077033fa707fae24ba70ee9876a /view/theme/dispy/theme.php
parent74c64ef2d244df47b2bea6527bbeb5cc62ca8845 (diff)
parent057a142b8cd01cd8ab6212e9d958989c82dfccc3 (diff)
downloadvolse-hubzilla-96da328acf838faff3fe823f3dd7557d16fe1d8b.tar.gz
volse-hubzilla-96da328acf838faff3fe823f3dd7557d16fe1d8b.tar.bz2
volse-hubzilla-96da328acf838faff3fe823f3dd7557d16fe1d8b.zip
Merge branch 'master' of https://github.com/friendica/friendica
Diffstat (limited to 'view/theme/dispy/theme.php')
-rw-r--r--view/theme/dispy/theme.php37
1 files changed, 26 insertions, 11 deletions
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php
index cbfcb09e6..26e07b1f7 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,32 @@ $(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'});
});
+
+/* $('#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;
+