Rev 24 |
View as "text/plain" |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
$(document).ready(function(){
$('div.filter_form').show();
$('input#filter').quicksearch('.AllNews div.NewsSummary', {
'noResults': '#noresults',
'show': function () {
$(this).addClass('shown');
$(this).removeClass('hidden');
},
'hide': function () {
$(this).removeClass('shown');
$(this).addClass('hidden');
},
'onAfter': function () {
$('.AllNews').find('.hidden').each(function(){
$(this).closest('div.category').children('p.category_name:first').hide();
});
$('.AllNews').find('.shown').each(function(){
$(this).closest('div.category').children('p.category_name:first').show();
});
}
});
});