Trying desperately to set up Isotope with BBQ Hash and failing. Already spent time with the demo: http://isotope.metafizzy.co/tests/combo-sort-history.html and still not getting it.
My code below is currently working to filter my items...just can't get the hash setup. I need this so I can link directly to one of my filter links. Any help will be great. Having trouble integrating it into what I already have so please keep that in mind...
<script>
var $container = $('.container');
$(window).load(function() {
$('.container').isotope({
itemSelector : '.item',
isFitWidth: true,
// sortBy : 'random',
});
$('.filter a').click(function(){
var selector = $(this).attr('data-filter');
$container.isotope({ filter: selector });
return false;
});
});
$(window).load()
</script>