reload masonry when div has fadeout onclick?
- by Jason
Hi,
I'm using masonry for layout.
I have set up a filter for the divs using the following code:
$("#logo").click(function() {
$(".box").fadeIn();
$(".box:not(.logo)").fadeOut();
});
when I select an item, I want masonry to reload the layout so that the items are reshuffled and that there aren't blank spaces.
Ideas?
thanks