Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/walla3t.corals.io/wp-content/plugins/apper-core/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/walla3t.corals.io/wp-content/plugins/apper-core/assets/js/acm-scripts.js
jQuery(document).ready(function(){

  if( acm.is_rtl == 'yes' ) {
    var isRTL = true;
  }
  else {
    var isRTL = false;
  }

  // mobile hero slider
  jQuery(".mob-hero-slider, .testimonial-slider").owlCarousel({
    rtl:isRTL,
    loop:true,
    margin:10,
    touchDrag:true,
    autoplay: true,
    smartSpeed: 1500,
    nav:false,
    dots: true,
    responsive:{
        0:{
            items:1,
        },
        600:{
            items:1,
        },
        1000:{
            items:1,
        }
    }
  });

  // testimonial slider style 2
  jQuery(".testimonial-slider-style2").owlCarousel({
    rtl:isRTL,
    center: true,
    loop:true,
    margin:30,
    touchDrag:true,
    autoplay: true,
    smartSpeed: 1000,
    nav:true,
    dots: false,
    navText: ["<span class='slider-nav-btn icon icon-arrow-left-circle'></span>", "<span class='slider-nav-btn icon icon-arrow-right-circle'></span>"],
    responsiveClass: true,
    responsive:{
        0:{
            items:1,
        },
        600:{
            items:3,
        },
        1000:{
            items:3,
        }
    }
  });

  // brand slider
  jQuery(".acm-brand-slider").owlCarousel({
    rtl:isRTL,
    loop:true,
    margin:10,
    touchDrag:true,
    autoplay: true,
    smartSpeed: 1000,
    nav:false,
    dots: true,
    responsive:{
        0:{
            items:1,
        },
        600:{
            items:3,
        },
        1000:{
            items:5,
        }
    }
  });

  // brand slider
  jQuery(".acm_screen-slider").owlCarousel({
    rtl:isRTL,
    loop:true,
    margin:10,
    touchDrag:true,
    nav:false,
    dots: true,
    autoplay: true,
    smartSpeed: 2500,
    center: true,
    responsive:{
        0:{
            items:1
        },
        600:{
            items:3
        },
        1000:{
            items:5
        }
    }
  });

  //pricing tenure toggle
  jQuery('#acm_toggle').on('click', function() {
    jQuery(".tog_btn").toggleClass('month_active');
    jQuery('.month').toggleClass('active');
    jQuery('.years').toggleClass('active');

    jQuery('.monthly-plan').toggleClass('active');
    jQuery('.yearly-plan').toggleClass('active');

  });

  jQuery('.acm_faq-title').on('click', function(e) {

    var dropDown = jQuery(this).closest('.card').find('.acm_faq-content');
    jQuery(this).closest('.acm_faq-widget').find('.acm_faq-content').not(dropDown).slideUp();

    if (jQuery(this).hasClass('active')) {
      jQuery(this).removeClass('active');
    } else {
      jQuery(this).closest('.acm_faq-widget').find('.acm_faq-title.active').removeClass('active');
      jQuery(this).addClass('active');
    }

    dropDown.stop(false, true).slideToggle();
    e.preventDefault();

  });

  // Download Section Hover Jquery
  window.addEventListener('scroll', function() {
  	var element = document.querySelector('.getstarted');

    if( element ) {
    	var position = element.getBoundingClientRect();

    	if(position.top < window.innerHeight && position.bottom >= 0) {
        jQuery('.purple_backdrop').css("opacity", "0.85");
    	}else{
        //console.log('Element is not visible');
        jQuery('.purple_backdrop').css("opacity", "0");
      }
    }
  });

  jQuery('button').each(function() {
    var buttonClass = jQuery(this);
    if( !buttonClass.hasClass( 'owl-dot' ) ) {
      var buttonText = jQuery(this).text();
      jQuery(this).html('<span>' + buttonText + '</span>').addClass('btn');
    }
  });

});

Spamworldpro Mini