403Webshell
Server IP : 156.238.232.47  /  Your IP : 216.73.216.150
Web Server : nginx/1.25.3
System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : www ( 1000)
PHP Version : 8.3.25
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/data/wwwroot/2025_12_10_01/skin/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/data/wwwroot/2025_12_10_01/skin/js/methods.js
             var w = document.body.clientWidth;
         
     
 
            
            $(function(){
                
                function showScroll(id){
                    $(id).click(function(){
                        $("html,body").animate({scrollTop:0},800);
                    }); 
                }

                showScroll('#goTop');

                showScroll('#goTop2');
               
              
             })

    

      /* banner s  */

     function banner(object1,object2){


          var mySwiper = new Swiper(object1,{
             speed:800,
             autoplay: {
             delay: 3000,
             
               stopOnLastSlide: false,
               disableOnInteraction: true,
               },

               navigation: {
                nextEl: ".swiper-button-next",
                prevEl: ".swiper-button-prev",
              },
               pagination: {
                   el:object2,
                   clickable :true,
                   clickable: true,
                    renderBullet: function (index, className) {
                      return '<span class="' + className + '">' + '0' + (index + 1) + "</span>";
                    },
                 },



          });

     }

     banner('.pcbanner','.pcbanner .swiper-pagination');
     banner('.mbanner','.mbanner .swiper-pagination')

       /* banner e  */    
     



       /* nav */

       function open(){
             $('.nav').css({'display':'block','visibility':'initial'});
             $('.nav').animate({'opacity':1} );
             $('.nav ul').animate({'left':'0'});
             $('html').css('overflow','hidden');
       };

       function close(){

           $('.nav ul').animate({'left':'100%'} );
           $('.nav').animate({'opacity':0},function(){

               $('.nav').css('visibility','hidden');
               $('html').css('overflow','initial');

           });

           $('.nav ul ').each(function(){
               $(this).removeClass('sonOpen');
               $(this).removeClass('on')
               
           });

           $('.nav i ').each(function(){
               $(this).removeClass('touch');
           })
       }

       $('.nav li').each(function(){
        
            if($(this).children('ul')[0] !=undefined){
                $(this).prepend('<i></i>')
            }
       })

       $('.nav i').each(function(){
             $(this).click(function(event){
                if( $(this).siblings('ul').css('display')=='none'){
                     $(this).siblings('ul').addClass('sonOpen');
                     $(this).addClass('touch');
                     $(this).parents('ul').addClass('on');
                }else{
                   $(this).siblings('ul').removeClass('sonOpen');
                   $(this).removeClass('touch')
                }

                 event.stopPropagation();
             })
       })

       



         if(w<=1200){


           $('.head .btn').click(function(event){
                 if($('.nav').css('opacity') ==0){ 
                   open();
                 }else{
                   close();
                 }
               event.stopPropagation(); 
            })

           $('.nav ul li').each(function(){
                 $(this).click(function(){ 
                     event.stopPropagation();
                 })
           })

           $('.nav ul ').click(function(){
               close();
               event.stopPropagation();
           });

           $('.nav').click(function(){
               close();
               event.stopPropagation();

           });


           
           var swiper = new Swiper(".caseSwiper", {
                  slidesPerView:1,
                });

         } 
       
         /* nav e  */
                
    
         var newsSwiper = new Swiper(".newsSwiper", {
               
            
               breakpoints:{
                    1200:{
                        slidesPerView: 4,
                        spaceBetween:20,
                     },
                     320:{
                        
                       slidesPerView: 1,
                       spaceBetween: 0,
                     }
               },
               pagination: {
                 el: ".swiper-pagination",
               }

             });
     
           
        


          function run(id1,id2,id3){



              var show = $(id1);
              var obj1 = $(id2);
              var obj2 = $(id3);
              obj2.append(obj1.html());
              
              var num = 0 ;
              
              function Marquee(){

                  if(obj2.width()-show.scrollLeft()<=0){

                
                      num -= obj1.width();
                      show.scrollLeft(num);

                  }else{
              
                      num++;
                      show.scrollLeft(num);
                  }
              }

              var MyMar=setInterval(Marquee,25);
              show.mouseover(function(){
                   clearInterval(MyMar)
              });
              show.mouseout(function(){
                   MyMar=setInterval(Marquee,25);
              });


          }




          run('#show','#pic1','#pic2');



     
 
     
        //   $(window).resizeEnd({
        //     delay : 0
        // }, function(){
        //     var w2 = document.body.clientWidth;
          
        //  });
          

        // $(window).resizeEnd();


 
         
    AOS.init({
     
      duration: 1000,
      easing: 'ease',
      delay: 100,
      disable: 'mobile',
      once:'true'
    });

Youez - 2016 - github.com/yon3zu
LinuXploit