403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/cdc/wp-content/plugins/siteorigin-panels/widgets/widgets/animated-image/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/cdc/wp-content/plugins/siteorigin-panels/widgets/widgets/animated-image/js/main.js
jQuery(function($){
    var theInterval = setInterval(function(){
        // Check if any images that weren't visible, now are
        $('.origin-widget-animated-image img').not('.animated').filter(':onScreen').each(function(){
            var $$ = $(this);
            // TODO wait for images
            if(!$$.get(0).complete) return;

            $$.addClass('animated');

            setTimeout(function(){
                var a = $$.data('animation');

                if(a == 'fade') {
                    $$.css('visibility', 'visible');
                    $$.hide().fadeIn(750);
                }
                else {
                    var offset;
                    if(a == 'slide-up') offset = {top : 25, left: 0};
                    else if(a == 'slide-down') offset = {top : -25, left: 0};
                    else if(a == 'slide-left') offset = {top : 0, left: 25};
                    else if(a == 'slide-right') offset = {top : 0, left: -25};

                    var $a = $$.clone().insertAfter($$).css({
                        'visibility' : 'visible',
                        'opacity' : 0,
                        'position' : 'absolute',
                        'top' : $$.position().top + offset.top,
                        'left' : $$.position().left + offset.left,
                        'width' : $$.width(),
                        'height' : $$.height()
                    }).animate({top: $$.position().top, left: $$.position().left, opacity: 1}, 750, function(){$(this).remove(); $$.css('visibility', 'visible');});
                }
            }, 750);
        } );

        if($('.origin-widget-animated-image img').not('.animated').length == 0) {
            clearInterval(theInterval);
        }
    }, 500);
});

Youez - 2016 - github.com/yon3zu
LinuXploit