diff options
author | tomtom84 <63dc41d76451@ba77e90e49a6.anonbox.net> | 2012-03-12 13:11:19 -0700 |
---|---|---|
committer | tomtom84 <63dc41d76451@ba77e90e49a6.anonbox.net> | 2012-03-12 13:11:19 -0700 |
commit | a1305433b8110ebfa9d722ba4053f0292dadf22a (patch) | |
tree | b394fd0565e8509575a5223222ae05ec50402b7c /view/theme/diabook-blue/theme.php | |
parent | 38cb4a362f1186054dc3d71475f8f8cb1cd47789 (diff) | |
parent | 943617574699efe41ef1bfb2527cada847497495 (diff) | |
download | volse-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-blue/theme.php')
-rwxr-xr-x | view/theme/diabook-blue/theme.php | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index 0a20c9fbc..1617dd7f0 100755 --- a/view/theme/diabook-blue/theme.php +++ b/view/theme/diabook-blue/theme.php @@ -12,7 +12,14 @@ $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 $('html').click(function() { $('#nav-contacts-linkmenu').removeClass('selected'); @@ -62,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; |