how to trigger/reload Masonry plugin on click
问题 Because i have different tabs, masonry is not loading the hidden items, so when i click on a new tab the images stack onto each other, i know this question has been asked before and answered with trigger masonry by clicking the tab, but how would i go about doing this without messing up the first tab. Currently calling masonry with $(function(){ $('#container').masonry({ // options itemSelector : '.item', columnWidth : 260 }); });` $(window).load(function(){ $('#container').masonry(); }); and