aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook-blue/theme.php
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-03-12 21:09:16 +0100
committertommy tomson <thomas.bierey@gmx.de>2012-03-12 21:09:16 +0100
commit943617574699efe41ef1bfb2527cada847497495 (patch)
tree0027b96224d63f186fde34900148e65a876c4782 /view/theme/diabook-blue/theme.php
parent0f3255467e8a64af86ca67c6af70edf1d3279640 (diff)
downloadvolse-hubzilla-943617574699efe41ef1bfb2527cada847497495.tar.gz
volse-hubzilla-943617574699efe41ef1bfb2527cada847497495.tar.bz2
volse-hubzilla-943617574699efe41ef1bfb2527cada847497495.zip
add lightbox, fixex in css
Diffstat (limited to 'view/theme/diabook-blue/theme.php')
-rwxr-xr-xview/theme/diabook-blue/theme.php24
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;