diff options
author | friendica <info@friendica.com> | 2012-03-20 23:59:02 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-20 23:59:02 -0700 |
commit | db02eebde1dc4a95173d5295e603af238e2911aa (patch) | |
tree | 2e68ecb72e7e63e9f17ab687ffc499ce3b59c750 /view/theme/facepark/theme.php | |
parent | 6c7b619b34e60f391087c669732b9efd0344d41c (diff) | |
parent | efd7c14c24aa45878ddc412413ea1593cafcd651 (diff) | |
download | volse-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-x | view/theme/facepark/theme.php | 49 |
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; |