diff options
author | tommy tomson <thomas.bierey@gmx.de> | 2012-03-12 21:09:16 +0100 |
---|---|---|
committer | tommy tomson <thomas.bierey@gmx.de> | 2012-03-12 21:09:16 +0100 |
commit | 943617574699efe41ef1bfb2527cada847497495 (patch) | |
tree | 0027b96224d63f186fde34900148e65a876c4782 /view/theme/diabook/theme.php | |
parent | 0f3255467e8a64af86ca67c6af70edf1d3279640 (diff) | |
download | volse-hubzilla-943617574699efe41ef1bfb2527cada847497495.tar.gz volse-hubzilla-943617574699efe41ef1bfb2527cada847497495.tar.bz2 volse-hubzilla-943617574699efe41ef1bfb2527cada847497495.zip |
add lightbox, fixex in css
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 23 |
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; |