SAMYANG/m/asset/js/sy.m.plugin.js
/*
        * Removes inline styles added by fullpage.js
        */
Removes inline styles added by fullpage.js
Removes inline styles added by fullpage . js
function destroyStructure() {
            silentScroll(0);
            container.find('img[data-src], source[data-src], audio[data-src], iframe[data-src]').each(function () {
                setSrc($(this), 'src');
            });
            container.find('img[data-srcset]').each(function () {
                setSrc($(this), 'srcset');
            });
            $(SECTION_NAV_SEL + ', ' + SLIDES_NAV_SEL + ', ' + SLIDES_ARROW_SEL).remove();
            $(SECTION_SEL).css({
                'height': '',
                'background-color': '',
                'padding': ''
            });
            $(SLIDE_SEL).css({
                'width': ''
            });
            container.css({
                'height': '',
                'position': '',
                '-ms-touch-action': '',
                'touch-action': ''
            });
            $htmlBody.css({
                'overflow': '',
                'height': ''
            });
            $('html').removeClass(ENABLED);
            $body.removeClass(RESPONSIVE);
            $.each($body.get(0).className.split(/\s+/), function (index, className) {
                if (className.indexOf(VIEWING_PREFIX) === 0) {
                    $body.removeClass(className);
                }
            });
            $(SECTION_SEL + ', ' + SLIDE_SEL).each(function () {
                if (options.scrollOverflowHandler) {
                    options.scrollOverflowHandler.remove($(this));
                }
                $(this).removeClass(TABLE + ' ' + ACTIVE);
                $(this).attr('style', $(this).data('fp-styles'));
            });
            removeAnimation(container);
            container.find(TABLE_CELL_SEL + ', ' + SLIDES_CONTAINER_SEL + ', ' + SLIDES_WRAPPER_SEL).each(function () {
                $(this).replaceWith(this.childNodes);
            });
            container.css({
                '-webkit-transition': 'none',
                'transition': 'none'
            });
            $htmlBody.scrollTop(0);
            var usedSelectors = [SECTION, SLIDE, SLIDES_CONTAINER];
            $.each(usedSelectors, function (index, value) {
                $('.' + value).removeClass(value);
            });
        }
function destroyStructure ( ) { silentScroll ( 0 ) ; container . find ( 'img[data-src], source[data-src], audio[data-src], iframe[data-src]' ) . each ( function ( ) { setSrc ( $ ( this ) , 'src' ) ; } ) ; container . find ( 'img[data-srcset]' ) . each ( function ( ) { setSrc ( $ ( this ) , 'srcset' ) ; } ) ; $ ( SECTION_NAV_SEL + ', ' + SLIDES_NAV_SEL + ', ' + SLIDES_ARROW_SEL ) . remove ( ) ; $ ( SECTION_SEL ) . css ( { 'height' : '' , 'background-color' : '' , 'padding' : '' } ) ; $ ( SLIDE_SEL ) . css ( { 'width' : '' } ) ; container . css ( { 'height' : '' , 'position' : '' , '-ms-touch-action' : '' , 'touch-action' : '' } ) ; $htmlBody . css ( { 'overflow' : '' , 'height' : '' } ) ; $ ( 'html' ) . removeClass ( ENABLED ) ; $body . removeClass ( RESPONSIVE ) ; $ . each ( $body . get ( 0 ) . className . split ( / \s+ / ) , function ( index , className ) { if ( className . indexOf ( VIEWING_PREFIX ) === 0 ) { $body . removeClass ( className ) ; } } ) ; $ ( SECTION_SEL + ', ' + SLIDE_SEL ) . each ( function ( ) { if ( options . scrollOverflowHandler ) { options . scrollOverflowHandler . remove ( $ ( this ) ) ; } $ ( this ) . removeClass ( TABLE + ' ' + ACTIVE ) ; $ ( this ) . attr ( 'style' , $ ( this ) . data ( 'fp-styles' ) ) ; } ) ; removeAnimation ( container ) ; container . find ( TABLE_CELL_SEL + ', ' + SLIDES_CONTAINER_SEL + ', ' + SLIDES_WRAPPER_SEL ) . each ( function ( ) { $ ( this ) . replaceWith ( this . childNodes ) ; } ) ; container . css ( { '-webkit-transition' : 'none' , 'transition' : 'none' } ) ; $htmlBody . scrollTop ( 0 ) ; var usedSelectors = [ SECTION , SLIDE , SLIDES_CONTAINER ] ; $ . each ( usedSelectors , function ( index , value ) { $ ( '.' + value ) . removeClass ( value ) ; } ) ; }
Removes inline styles added by fullpage.js
Removes inline styles added by fullpage . js
//reseting the `top` or `translate` properties to 0 //loading all the lazy load content //removing inline styles // remove .fp-enabled class // remove .fp-responsive class // remove all of the .fp-viewing- classes //removing added classes //Unwrapping content //unwrap not being use in case there's no child element inside and its just text //removing the applied transition from the fullpage wrapper //scrolling the page to the top with no animation //removing selectors