diff options
author | friendica <info@friendica.com> | 2012-01-23 15:07:40 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-01-23 15:07:40 -0800 |
commit | 1f074cb44c5deda5b480f5ff814ff3640ec843d0 (patch) | |
tree | 9bb9196198bf4daf68c142bbbad4e335780bfc03 /view/theme/slackr/theme.php | |
parent | e3bcd6ab1b0b084b56fd2789fe100fa4614f348c (diff) | |
download | volse-hubzilla-1f074cb44c5deda5b480f5ff814ff3640ec843d0.tar.gz volse-hubzilla-1f074cb44c5deda5b480f5ff814ff3640ec843d0.tar.bz2 volse-hubzilla-1f074cb44c5deda5b480f5ff814ff3640ec843d0.zip |
shaka, slackr theme
Diffstat (limited to 'view/theme/slackr/theme.php')
-rwxr-xr-x | view/theme/slackr/theme.php | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/view/theme/slackr/theme.php b/view/theme/slackr/theme.php new file mode 100755 index 000000000..5d63583f4 --- /dev/null +++ b/view/theme/slackr/theme.php @@ -0,0 +1,49 @@ +<?php +$a->theme_info = array( + 'extends' => 'duepuntozero', +); + +$a->page['htmlhead'] .= <<< EOT +<script> +$(document).ready(function() { + +$('.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; |