reload masonry when div has fadeout onclick?
Posted
by Jason
on Stack Overflow
See other posts from Stack Overflow
or by Jason
Published on 2010-05-10T19:26:41Z
Indexed on
2010/05/10
22:14 UTC
Read the original article
Hit count: 161
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
© Stack Overflow or respective owner