0,0 → 1,21 |
$(document).ready(function(){ |
$('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(); |
}); |
} |
}); |
}); |
Property changes: |
Added: svn:mime-type |
## -0,0 +1 ## |
+text/plain |
\ No newline at end of property |