HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /var/www/html/pmw24/OLD_Root_BAK/public/front_assets/js/custom1.js
 $(window).scroll(function(){
  if($(this).scrollTop() > 70){

    $('.navbar-fixed-top').addClass('header-fixed');
  }else{
    $('.navbar-fixed-top').removeClass('header-fixed');
  }
});

 $(document).ready(function(){
   /*$('.nav li:has(ul)').addClass('parent1');
   $('.nav li:has(ul)').append('<strong></strong>');

//....................... menu part..............................................................
  // menu te click korle open habe
  $(".navbar-toggle").click(function(){ 
      // alert('hi');
      $("ul.nav").stop(true).slideToggle();
      });
// add for submenu  width calculate..container ar bahanr jabe na

  // submenu start...incide submenu.............
   $("ul.nav li.parent1 strong").click(function(event) {

      if (event.srcElement = event.currentTarget) {
        if($(this).parent().hasClass('active'))
        {
          $(this).parent().removeClass('active');
            $(this).prev().slideUp();
            //$(this).prev().removeClass('opened');
            $(this).parent().children('strong').removeClass('opened');
        }
        else
        {
          $(this).parent().removeClass('active');
          $(this).parent().find('ul').stop(true).slideUp();
          $(this).parent().find('strong').removeClass('opened');
          
          $(this).parent().addClass('active');
            $(this).parent().children("ul").stop(true).slideDown();
            $(this).parent().children('strong').addClass('opened');
        }
        event.stopPropagation();
      }
    });*/
//....................... menu part.............................................................. 
   /*----------------click to scroll---------------*/
  $(document).on("scroll",function () {
      
      if ($(this).scrollTop() > 100) 
      {
        $('#back-top').fadeIn();
      } 
      else 
      {
        $('#back-top').fadeOut();
      }

      if($(this).scrollTop() > 50)
      {
        $("body.sticky-header-yes").removeClass('header-large').addClass('header-small');
      }
      else
      {
        $("body.sticky-header-yes").addClass('header-large').removeClass('header-small');
      }
    });
    $('#back-top a').click(function () {
      $('body,html').stop(false, false).animate({
        scrollTop: 0
      }, 800);
      return false;
    });

 }); 

$(document).ready(function(){
  $(".home-featured-slider").owlCarousel({
  autoplay : false,
  autoplayTimeout:2000,
  loop:true,
  dots:true,
  nav:false,
  responsive:{
        0:{
            items:1,
        },
        420:{
            items:2,
        },
        768:{
            items:2,
        },
        1200:{
            items:4,
        }
    },
  autoplayHoverPause:true,
  });
});
$(window).on('load',function(){
        $('#myModal').modal('show');
    });
 $('#myModal').modal({backdrop: 'static', keyboard: false});