'); // MOVE THE RANGE OF LI'S TO THE COLUMN UL $(".site-shortcuts-column.column-" + (i + 1), this).append($(".ui-widget-detail > ul.site-shortcuts > li:nth-child(n+1):nth-child(-n+" + endRange + ")", this)); } } // HIDE THE ORIGINAL UL $(".ui-widget-detail > ul.site-shortcuts", this).hide(); }); }, "BuildColumns": function(props) { var _this = this; var columnNums = props.columns; // [960, 768, 640, 480, 320] var parentSelector = props.parentSelector; var ulSelector = props.ulSelector; var liSelector = props.liSelector; // RETURN BREAKPOINT INDEX var bp = function() { switch(_this.GetBreakPoint()) { case "desktop": return 0; break; case "768": return 1; break; case "640": return 2; break; case "480": return 3; break; case "320": return 4; break; } } // SET COLUMN NUM AND OTHER VARS var columnNum = columnNums[bp()]; var endRange; $(parentSelector).each(function() { // RETURN THE LI'S TO THE ORIGINAL UL $(ulSelector, this).append($(".gb-custom-column > li", this)); // REMOVE COLUMN CONTAINER FOR REBUILD $(".gb-custom-columns", this).remove(); // GET LI NUM var liNum = $(liSelector, this).length; // ADD COLUMN CONTAINER $('