bg_type ) : $source = FLBuilderModel::get_row_slideshow_source( $row ); if ( ! empty( $source ) ) : ?> YUI({'logExclude': { 'yui': true } }).use('fl-slideshow', function(Y) { if( null === Y.one('.fl-node- .fl-bg-slideshow') ) { return; } var oldSlideshow = Y.one('.fl-node- .fl-bg-slideshow .fl-slideshow'), newSlideshow = new Y.FL.Slideshow({ autoPlay : true, bgslideshow : true, crop : true, loadingImageEnabled : false, randomize : ss_randomize; ?>, responsiveThreshold : 0, touchSupport : false, source : [{}], speed : ss_speed * 1000; ?>, stretchy : true, stretchyType : 'contain', transition : 'ss_transition; ?>', transitionDuration : ss_transitionDuration ) ? $settings->ss_transitionDuration : 1; // @codingStandardsIgnoreLine ?> }); if(oldSlideshow) { oldSlideshow.remove(true); } jQuery( '.fl-node-' ).imagesLoaded( function(){ newSlideshow.render('.fl-node- .fl-bg-slideshow'); } ); });