'); //move controls if( $('#hp-slideshow .mmg-control.back').length > 0 ){ $('#hp-slideshow .mmg-control.back').appendTo('#hp-slideshow .rs-gallery-control-cont'); } if( $('#hp-slideshow .mmg-control.play-pause').length > 0 ){ $('#hp-slideshow .mmg-control.play-pause').appendTo('#hp-slideshow .rs-gallery-control-cont'); } if( $('#hp-slideshow .mmg-control.next').length > 0 ){ $('#hp-slideshow .mmg-control.next').appendTo('#hp-slideshow .rs-gallery-control-cont'); } }, // props.element, props.mmgRecords "onWindowResize": function(props) { if($(window).width() > 1023) { $("#hp-slideshow .mmg-viewer").css({ "width": "867px" }); } else { $("#hp-slideshow .mmg-viewer").css({ "width": "100%" }); } $('').appendTo("#hp-slideshow .mmg-description-link"); } // props.element, props.mmgRecords }); } else { if($(".sw-special-mode-bar").length) { $("#sw-content-container10.ui-hp").html("