I'm currently having some problems using a hashchange function, in combination with the isotope plugin (http://isotope.metafizzy.co) and it's filtering capabilities. Combined with a hashchange, I'm filtering divs allowing me to navigate in the browser without having to reload the page. On page load all the divs are filtered out (hidden) except for the actual filter buttons, which when clicked bring in the relevant content.
Clicking on 'ONE FILTER' brings in the relevant divs and attached a hash, then hitting the back button and going back, loads all the content, instead of only showing the filter button divs. Which is a bit of a problem, it's not working as it should, it should only show 'ONE FILTER' and 'TWO FILTER' divs when there is no hash in the url. I can't figure out how to achieve this, any suggestions would be greatly appreciated!
I'm trying to combine the jQuery datepicker and isotope plugin to filter out content dependant on date, the calendar filtering works, but I also want a menu to the side of the calendar that will filter for today, this week and this month. The today filter works, but I'm struggling to work out how to filter for 'this week' and 'this month'. Here's a working fiddle: http://jsfiddle.net/7RRUT/7/
I've tried implementing code highlighted in this post, but to no avail, I only need the week and month filters to work now but they're proving to be quite difficult.
I've put click functions in for 'this week' and 'this month', tried and failed to get the week filter working, any suggestions on how this can be achieved will be greatly appreciated!