'); $(".gb-schoolwires-footer.copyright").append($("#sw-footer-copyright").html()); }, "Slideshow": function() { // FOR SCOPE var _this = this; if($("#sw-content-container10.ui-hp .ui-widget.app.multimedia-gallery").length) { this.MMGPlugin(); } // MMG PLACEHOLDER if($(".sw-special-mode-bar").length && !$("#sw-content-container10.ui-hp .ui-widget.app.multimedia-gallery").length) { $.csMultimediaGalleryDefault({ "contentRegion" : "#sw-content-container10.ui-hp", "defaultImageSrc" : "/cms/lib/CA01001212/Centricity/Template/21/defaults/slideshow-default.jpg", "allLoaded": function() { _this.MMGPlugin(); } }); } }, "MMGPlugin": function() { // FOR SCOPE var _this = this; if($(".hp").length) { // REMOVE MULTIPLE MMG APPS $("#sw-content-container10.ui-hp .ui-widget.app.multimedia-gallery").not($("#sw-content-container10.ui-hp .ui-widget.app.multimedia-gallery:first")).remove(); var mmg = eval("multimediaGallery" + $("#sw-content-container10.ui-hp .ui-widget.app.multimedia-gallery:first").attr("data-pmi")); mmg.props.defaultGallery = false; $("#sw-content-container10.ui-hp .ui-widget.app.multimedia-gallery:first").csMultimediaGallery({ "efficientLoad" : true, "imageWidth" : 750, "imageHeight" : 400, "mobileDescriptionContainer": [640, 480, 320], // [960, 768, 640, 480, 320] "galleryOverlay" : false, "linkedElement" : [], // ["image", "title", "overlay"] "playPauseControl" : true, "backNextControls" : true, "bullets" : false, "thumbnails" : false, "thumbnailViewerNum": [3, 4, 3, 3, 2], // NUMERICAL - [960 view, 768 view, 640 view, 480 view, 320 view] "autoRotate" : true, "hoverPause" : true, "transitionType" : "fade", "transitionSpeed" : 2, "transitionDelay" : 6, "fullScreenRotator" : false, "fullScreenBreakpoints" : [960], // NUMERICAL - [960, 768, 640, 480, 320] "onImageLoad" : function(props) {}, // props.element, props.recordIndex, props.mmgRecords "allImagesLoaded" : function(props) {}, // props.element, props.mmgRecords "onTransitionStart" : function(props) { // props.element, props.currentRecordIndex, props.currentGalleryIndex, props.nextRecordIndex, props.nextGalleryIndex, props.mmgRecords addMobileLinkDivider(props.element); }, "onTransitionEnd" : function(props) {}, // props.element, props.currentRecordIndex, props.currentGalleryIndex, props.mmgRecords "allLoaded" : function(props) { // props.element, props.mmgRecords $(".mmg-viewer", props.element).prepend('