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/wp-content/themes/PunjabMotor/assets/js/theme.js
// JavaScript Document


//WOW master//
jQuery( document ).ready(function() {
    wow = new WOW({
        animateClass: 'animated',
        offset: 100
    });
    wow.init();
});
//WOW master//


//stellarnav//
jQuery(document).ready(function () {
    jQuery('.stellarnav').stellarNav({
        theme: 'light'
    });
    jQuery("#menu-mainnav > li.has-sub ").addClass('drop-left');

});

//stellarnav//

//Banner Carousel
var bs = jQuery('#Featured-carousel');
bs.owlCarousel({
                autoplay:true,
                //autoplayTimeout:1000,
                //autoplaySpeed:700,
    loop:true,
    nav:false,
                dots:false,
                margin:0,
                //animateOut: 'fadeOut',
    items: 8,
                navText: [ '<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>' ],
                
                responsive : {
    // breakpoint from 0 up
   0:{
            items:1,
            nav:false
        },
    // breakpoint from 480 up
   480:{
            items:2,
            nav:false 
        },
    // breakpoint from 768 up
    768:{
            items:5,
            nav:false,
        },
					
  992:{
            items:8,
            nav:false,
        }
}
});

var bs = jQuery('#handel_panel');
bs.owlCarousel({
                autoplay:true,
                //autoplayTimeout:1000,
                //autoplaySpeed:700,
    loop:true,
    nav:false,
                dots:false,
                margin:0,
                //animateOut: 'fadeOut',
    items: 4,
                navText: [ '<i class="fa fa-angle-left" aria-hidden="true"></i>', '<i class="fa fa-angle-right" aria-hidden="true"></i>' ],
                
                responsive : {
    // breakpoint from 0 up
   0:{
            items:1,
            nav:false
        },
    // breakpoint from 480 up
   480:{
            items:1,
            nav:false 
        },
    // breakpoint from 768 up
    768:{
            items:2,
            nav:false,
        },
					
  992:{
            items:4,
            nav:false,
        }
}
});

jQuery(document).ready(function($){
    var $gallery = $('a.lightbox').simpleLightbox();
                $gallery.on('show.simplelightbox', function(){
            console.log('Requested for showing');
        })
        .on('shown.simplelightbox', function(){
            console.log('Shown');
        })
        .on('close.simplelightbox', function(){
            console.log('Requested for closing');
        })
        .on('closed.simplelightbox', function(){
            console.log('Closed');
        })
        .on('change.simplelightbox', function(){
            console.log('Requested for change');
        })
        .on('next.simplelightbox', function(){
            console.log('Requested for next');
        })
        .on('prev.simplelightbox', function(){
            console.log('Requested for prev');
        })
        .on('nextImageLoaded.simplelightbox', function(){
            console.log('Next image loaded');
        })
        .on('prevImageLoaded.simplelightbox', function(){
            console.log('Prev image loaded');
        })
        .on('changed.simplelightbox', function(){
            console.log('Image changed');
        })
        .on('nextDone.simplelightbox', function(){
            console.log('Image changed to next');
        })
        .on('prevDone.simplelightbox', function(){
            console.log('Image changed to prev');
        })
        .on('error.simplelightbox', function(e){
            console.log('No image found, go to the next/prev');
            console.log(e);
        });
});