aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook-blue/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-blue/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-blue/theme.php')
-rwxr-xr-xview/theme/diabook-blue/theme.php23
1 files changed, 20 insertions, 3 deletions
diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php
index 0a20c9fbc..e5aa710c7 100755
--- a/view/theme/diabook-blue/theme.php
+++ b/view/theme/diabook-blue/theme.php
@@ -1,8 +1,8 @@
<?php
/*
- * Name: Diabook
- * Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu
+ * Name: Diabook-blue
+ * Description: Diabook-blue: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu
* Version:
* Author:
*/
@@ -12,7 +12,9 @@ $a->theme_info = array(
);
$a->page['htmlhead'] .= <<< EOT
+
<script>
+
//contacts
$('html').click(function() {
$('#nav-contacts-linkmenu').removeClass('selected');
@@ -62,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;