aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/facepark/theme.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-20 23:59:02 -0700
committerfriendica <info@friendica.com>2012-03-20 23:59:02 -0700
commitdb02eebde1dc4a95173d5295e603af238e2911aa (patch)
tree2e68ecb72e7e63e9f17ab687ffc499ce3b59c750 /view/theme/facepark/theme.php
parent6c7b619b34e60f391087c669732b9efd0344d41c (diff)
parentefd7c14c24aa45878ddc412413ea1593cafcd651 (diff)
downloadvolse-hubzilla-db02eebde1dc4a95173d5295e603af238e2911aa.tar.gz
volse-hubzilla-db02eebde1dc4a95173d5295e603af238e2911aa.tar.bz2
volse-hubzilla-db02eebde1dc4a95173d5295e603af238e2911aa.zip
Merge branch 'pull'
Diffstat (limited to 'view/theme/facepark/theme.php')
-rwxr-xr-xview/theme/facepark/theme.php49
1 files changed, 49 insertions, 0 deletions
diff --git a/view/theme/facepark/theme.php b/view/theme/facepark/theme.php
new file mode 100755
index 000000000..701fb1349
--- /dev/null
+++ b/view/theme/facepark/theme.php
@@ -0,0 +1,49 @@
+<?php
+$a->theme_info = array();
+
+$a->page['htmlhead'] .= <<< EOT
+<script>
+$(document).ready(function() {
+
+$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
+
+$('.group-edit-icon').hover(
+ function() {
+ $(this).addClass('icon'); $(this).removeClass('iconspacer');},
+ function() {
+ $(this).removeClass('icon'); $(this).addClass('iconspacer');}
+ );
+
+$('.sidebar-group-element').hover(
+ function() {
+ id = $(this).attr('id');
+ $('#edit-' + id).addClass('icon'); $('#edit-' + id).removeClass('iconspacer');},
+
+ function() {
+ id = $(this).attr('id');
+ $('#edit-' + id).removeClass('icon');$('#edit-' + id).addClass('iconspacer');}
+ );
+
+
+$('.savedsearchdrop').hover(
+ function() {
+ $(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');},
+ function() {
+ $(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');}
+ );
+
+$('.savedsearchterm').hover(
+ function() {
+ id = $(this).attr('id');
+ $('#drop-' + id).addClass('icon'); $('#drop-' + id).addClass('drophide'); $('#drop-' + id).removeClass('iconspacer');},
+
+ function() {
+ id = $(this).attr('id');
+ $('#drop-' + id).removeClass('icon');$('#drop-' + id).removeClass('drophide'); $('#drop-' + id).addClass('iconspacer');}
+ );
+
+});
+
+
+</script>
+EOT;