// ȨÇǵðÀÚÀÎÀÇ ÀúÀÛ¹°Àº ¹ýÀ¸·Î º¸È£¹Þ°í ÀÖ´Â °³¹ßÀúÀÛ¹°·Î¼ À¯·á±¸ÀÔ »çÀÌÆ®°¡ ¸ðµÎ °ü¸®µÇ°í ÀÖ½À´Ï´Ù. // ±Û.±×¸².ÄÁÅÙÃ÷ÀÇ ¹«´Ü º¹Á¦ »ç¿ë½Ã ¹ýÀû Á¦Á¦¸¦ ¹ÞÀ¸½Ç¼ö ÀÖ½À´Ï´Ù. $(".bbsnewf5 table").clone().appendTo("#grid_cloned"); $("#grid_cloned > table").wrap("
"); $("#grid_cloned > div").first().addClass('grid-sizer'); $("table.hidden").remove(); $(document).ready(function() { var $grid = $('#grid_cloned').masonry({ // set itemSelector so .grid-sizer is not used in layout itemSelector: '.grid-item', // use element for option columnWidth: '.grid-sizer', percentPosition: true }); $grid.imagesLoaded().progress( function() { $grid.masonry('layout'); }); });