aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2012-03-13 06:50:14 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2012-03-13 06:50:14 +0100
commit5bae7159cc7b182e40229bb6d547ccf303eb4282 (patch)
tree0c49a617c83d11e645b6df2bea5bfcc1ccf7d093 /view/theme/diabook/theme.php
parent30f5c3a9eb5dfa795771be86b3b0fe265037f3e9 (diff)
parentbf7425c591de360a97c37544f777d7d69791420c (diff)
downloadvolse-hubzilla-5bae7159cc7b182e40229bb6d547ccf303eb4282.tar.gz
volse-hubzilla-5bae7159cc7b182e40229bb6d547ccf303eb4282.tar.bz2
volse-hubzilla-5bae7159cc7b182e40229bb6d547ccf303eb4282.zip
Merge branch 'master' of https://github.com/friendica/friendica
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-xview/theme/diabook/theme.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index 5a1828ad7..5d3c2906d 100755
--- a/view/theme/diabook/theme.php
+++ b/view/theme/diabook/theme.php
@@ -12,6 +12,7 @@ $a->theme_info = array(
);
$a->page['htmlhead'] .= <<< EOT
+
<script>
//contacts
@@ -63,5 +64,20 @@ $('html').click(function() {
$('#nav-site-linkmenu').click(function(event){
event.stopPropagation();
});
-</script>
+ //appsmenu
+ $('html').click(function() {
+ $('#nav-apps-link').removeClass('selected');
+ document.getElementById( "nav-apps-menu" ).style.display = "none";
+ });
+
+ $('#nav-apps-link').click(function(event){
+ event.stopPropagation();
+ });
+
+ $(function() {
+ $('a.lightbox').fancybox(); // Select all links with lightbox class
+});
+
+
+ </script>
EOT;