403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/ilovecveti.ru/bitrix/js/skyweb24.popuppro/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/ilovecveti.ru/bitrix/js/skyweb24.popuppro/effects.js
skyweb24_effects={
    targetO:'',
    show:function(obj, typeShow){
        this.targetO=obj.popupContainer;
        this.popup=obj;
        if(!typeShow || !this.effects[typeShow]){
            this.showChildren();
        }else{
            this.effects[typeShow].call(this);
        }
    },
    showChildren:function(){
        elems=this.targetO.childNodes;
        if(this.targetO){
            for(var i=0; i<elems.length; i++){
                elems[i].style.opacity=1;
            }
        }
    },
    effects:{}
}


skyweb24_buttonAnimation = {
    setButtonAnimation: function(buttonAnimation, buttonAnimationTime){
        if(buttonAnimation && buttonAnimation != "none" ){

            let button = document.querySelectorAll(".sw24-button-animate")[0];

            if(button)
            {
                button.classList.add(buttonAnimation);
                button.classList.add("animated");
                button.classList.add("infinite");
                button.classList.add(buttonAnimationTime);
            }

        }
    },
};

skyweb24_windowAnimation = {
    show: function(nameAnimation) {

        setTimeout(function(){

            var windowAnimation = document.querySelectorAll(".popup-window.sw24PopupPro")[0];
            if( !nameAnimation ){
                nameAnimation = 'none';
            }

            if( windowAnimation ){

                windowAnimation.classList.remove("animated");
                windowAnimation.classList.add(nameAnimation);
                windowAnimation.classList.add("animated");

                setTimeout(function(){
                    windowAnimation.classList.remove(nameAnimation);
                }, 1000);

            }

        }, 300);


    },

    hide: function(nameAnimation){
        var windowAnimation = document.querySelectorAll(".popup-window.sw24PopupPro")[0];

        if( !nameAnimation ){
            nameAnimation = 'none';
        }

        if( windowAnimation ){

            windowAnimation.classList.remove("animated");
            windowAnimation.classList.add(nameAnimation);
            windowAnimation.classList.add("animated");

        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit