aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authortomtom84 <63dc41d76451@ba77e90e49a6.anonbox.net>2012-03-12 13:11:19 -0700
committertomtom84 <63dc41d76451@ba77e90e49a6.anonbox.net>2012-03-12 13:11:19 -0700
commita1305433b8110ebfa9d722ba4053f0292dadf22a (patch)
treeb394fd0565e8509575a5223222ae05ec50402b7c /view/theme/diabook/theme.php
parent38cb4a362f1186054dc3d71475f8f8cb1cd47789 (diff)
parent943617574699efe41ef1bfb2527cada847497495 (diff)
downloadvolse-hubzilla-a1305433b8110ebfa9d722ba4053f0292dadf22a.tar.gz
volse-hubzilla-a1305433b8110ebfa9d722ba4053f0292dadf22a.tar.bz2
volse-hubzilla-a1305433b8110ebfa9d722ba4053f0292dadf22a.zip
Merge pull request #125 from tomtom84/master
fixes in diabook-derivates
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-xview/theme/diabook/theme.php23
1 files changed, 22 insertions, 1 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index 5a1828ad7..1617dd7f0 100755
--- a/view/theme/diabook/theme.php
+++ b/view/theme/diabook/theme.php
@@ -12,6 +12,12 @@ $a->theme_info = array(
);
$a->page['htmlhead'] .= <<< EOT
+
+
+<script type="text/javascript" src="view/theme/diabook/lightbox/js/jquery.lightbox-0.5.js"></script>
+<link rel="stylesheet" type="text/css" href="view/theme/diabook/lightbox/css/jquery.lightbox-0.5.css" media="screen" />
+
+
<script>
//contacts
@@ -63,5 +69,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').lightBox(); // Select all links with lightbox class
+});
+
+
+ </script>
EOT;