'); // MOVE THE RANGE OF LI'S TO THE COLUMN UL $(".gb-custom-column.column-" + (i + 1), this).append($(liSelector + ":nth-child(n+1):nth-child(-n+" + endRange + ")", this)); } } // HIDE THE ORIGINAL UL $(ulSelector, this).hide(); }); }, "GlobalIcons": function() { $("#gb-global-icons").creativeIcons({ "iconNum" : "6", "defaultIconSrc": "", "icons" : [ { "image": "Communication/52.png", "showText": true, "text": "ParentSquare", "url": "http://www.parentsquare.com", "target": "_blank" }, { "image": "Site Utility/44.png", "showText": true, "text": "Our Schools", "url": "https://www.mvschools.org/domain/597", "target": "_blank" }, { "image": "Site Utility/35.png", "showText": true, "text": "Calendar", "url": "https://www.mvschools.org/Page/2#calendar762/20191125/month", "target": "_blank" }, { "image": "People/41.png", "showText": true, "text": "PTA", "url": "https://www.mvschools.org/Page/8400", "target": "_blank" }, { "image": "People/3.png", "showText": true, "text": "Staff Resources", "url": "https://www.mvschools.org/domain/36", "target": "_blank" }, { "image": "Classroom/9.png", "showText": true, "text": "Kiddo! ", "url": "http://www.kiddo.org", "target": "_blank" } ], "siteID" : "1", "siteAlias" : "mvschools", "calendarLink" : "/Page/2", "contactEmail" : "communications@mvschools.org", "allLoaded" : function(){ $("#gb-global-icons .cs-global-icon").each(function() { var thisIcon = this; var textWidth = $(".text",thisIcon).outerWidth(true); var initialWidth = textWidth; textWidth = textWidth / 2; $(thisIcon).find(".text").css({ "margin-left": "-" + textWidth + "px", "left": "50%", "width": initialWidth }); }); } }); }, "SocialIcons": function() { var socialIcons = [ { "show": true, "label": "Facebook", "class": "facebook", "url": "http://www.facebook.com/millvalleyschools", "target": "_blank" }, { "show": true, "label": "Twitter", "class": "twitter", "url": "http://www.twitter.com/mv_schools", "target": "_blank" }, { "show": true, "label": "YouTube", "class": "youtube", "url": "https://www.youtube.com/channel/UCo2angYEmIncDtr4LkMEIWw?view_as=subscriber", "target": "_blank" }, { "show": true, "label": "Instagram", "class": "instagram", "url": "http://www.instagram.com/millvalleyschools", "target": "_blank" }, { "show": false, "label": "LinkedIn", "class": "linkedin", "url": "#", "target": "_self" }, { "show": false, "label": "Pinterest", "class": "pinterest", "url": "#", "target": "_self" }, { "show": false, "label": "Flickr", "class": "flickr", "url": "#", "target": "_self" }, { "show": false, "label": "Peachjar", "class": "peachjar", "url": "#", "target": "_self" }, { "show": false, "label": "Vimeo", "class": "vimeo", "url": "#", "target": "_self" }, { "show": false, "label": "RSS", "class": "rss", "url": "#", "target": "_self" } ]; var icons = ''; $.each(socialIcons, function(index, icon) { if(icon.show) { icons += '