Skip to content Skip to sidebar Skip to footer

Hidden Content Takes Up Height(isotope)

I am using this gallery to display portfolio items on my website: http://www.webdesigntunes.com/coding/jquery-filterable-portfolio/ It uses isotope-jquery to display the items so t

Solution 1:

So instead of trying to hide those elements, I gave them a new class name(.designs_hidden) and then used the isotope append to add them:

var $newItems = $(".designs_hidden");
$(".loadMore").click(function(){
$pfcontainer.isotope('appended', $newItems);
$pfcontainer.isotope({ filter: '.designs,.designs_hidden' });
return false;
});

Post a Comment for "Hidden Content Takes Up Height(isotope)"