Hi there!
I recently implemented the ability to "filter" blog timeline entries by tweaking and finagling the FAQs filter and the on-page script:
jQuery(document).ready(function($){
var $faqItems = $('#faqs .faq');The filter successfully removes unrelated entries by applying a "display:none;" CSS styling, but I was wondering if there was a way to have the timeline items reorganize/reorder/truncate themselves so that there aren't just gaps? In other words, is there a way for the JS to once again go through the entries that are visible after the filter is applied and reorganize them so that no blanks/gaps are shown?
The purpose is to shorten and streamline the timeline to display only events applicable to a certain character, but not make the user scroll forever to see random events every once in a while. LOL!
Let me know! : ) Perhaps it's just a snippet that needs to be added to have the "blogTimelineEntries: function" fire every time a filter is selected?
((Edit: Thinking about this a bit more—it would be similar to how items in a portfolio get filtered out and reordered, but it would apply to timeline entries instead of portfolio items.))
