diff options
author | friendica <info@friendica.com> | 2013-11-03 15:14:31 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-03 15:14:31 -0800 |
commit | 72287b24783edcaf44d1d93bb901729d1af0375a (patch) | |
tree | 8e1fb9365df21ba43f62d82af68ec555d2447342 /view/theme/redbasic/js | |
parent | 4d470f2d7017fcee94d0d5a548ff40018b358542 (diff) | |
download | volse-hubzilla-72287b24783edcaf44d1d93bb901729d1af0375a.tar.gz volse-hubzilla-72287b24783edcaf44d1d93bb901729d1af0375a.tar.bz2 volse-hubzilla-72287b24783edcaf44d1d93bb901729d1af0375a.zip |
fix the saved search term delete icons in redbasic so they are hidden by default. This is a bit harder using font-based icons than it was with images that could easily be hidden. We'll do it with opacity instead of visibility or display css settings.
Diffstat (limited to 'view/theme/redbasic/js')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index e7a682911..a97e906bf 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -66,24 +66,22 @@ $('.sidebar-group-element').hover( ); -//$('.saved-search-li a').hover( -// function() { -// id = $(this).attr('id'); -// $('#dropicon-' + id).css('visibility','visible');}, -// function() { -// id = $(this).attr('id'); -// $('#dropicon-' + id).css('visibility','hidden');} -// ); - -//$('.savedsearchterm').hover( -// function() { -// id = $(this).attr('id'); -// $('#dropicon-' + id).css('visibility','visible');}, -// -// function() { -// id = $(this).attr('id'); -// $('#dropicon-' + id).css('visibility','hidden'); -// }); +$('.savedsearchdrop').hover( + function() { + $(this).css('opacity','1.0');}, + function() { + $(this).css('opacity','0');} + ); + +$('.savedsearchterm').hover( + function() { + id = $(this).attr('id'); + $('#dropicon-' + id).css('opacity','1.0');}, + + function() { + id = $(this).attr('id'); + $('#dropicon-' + id).css('opacity','0'); + }); }); |