diff options
author | tony baldwin <tonybaldwin@gmx.com> | 2012-03-21 01:33:48 -0400 |
---|---|---|
committer | tony baldwin <tonybaldwin@gmx.com> | 2012-03-21 01:33:48 -0400 |
commit | cf17606d0f6200296b1e6d67f9ae3fb797e0df69 (patch) | |
tree | 32ba6a9c3e1013803a23c493c6b369ff4a6e064e /view/theme/facepark/theme.php | |
parent | 1ae740535d8a5b455395d51c01adef74e9dbb1ae (diff) | |
download | volse-hubzilla-cf17606d0f6200296b1e6d67f9ae3fb797e0df69.tar.gz volse-hubzilla-cf17606d0f6200296b1e6d67f9ae3fb797e0df69.tar.bz2 volse-hubzilla-cf17606d0f6200296b1e6d67f9ae3fb797e0df69.zip |
added Vijay's theme from facepark.in
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; |