aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-12 19:12:39 -0700
committerfriendica <info@friendica.com>2012-03-12 19:12:39 -0700
commite12706e825a65f1c7da1d0eee7a346dbdd2c34a3 (patch)
tree99fb2e26298b1dcc0b436b00b279f4e71a2dcbeb /view/theme/diabook/theme.php
parentacf75e85c86a2e47549ee74d60c7d82dcc5c8cc4 (diff)
parent691f5b11f70b35537482c0a647ed571475caedd8 (diff)
downloadvolse-hubzilla-e12706e825a65f1c7da1d0eee7a346dbdd2c34a3.tar.gz
volse-hubzilla-e12706e825a65f1c7da1d0eee7a346dbdd2c34a3.tar.bz2
volse-hubzilla-e12706e825a65f1c7da1d0eee7a346dbdd2c34a3.zip
Merge branch 'pull'
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;