PageSourceSearch

https://azon.com/wp-content/themes/beadvices/inc/assets/js/custom.js?ver=20151215

js azon.com collected 2026-10-03 22:11:56 UTC 4,019 bytes, 147 lines download raw bytes

1/*************************************************
2	1. use strict
3	2. Preloader
4	3. baguetteBoxOne map 	
5	4. owlCarousel
6	5. Affix
7	7. map scroll off 
8	8. offset
9	9. scrolling
10*************************************************/
11(function($) {
12    // Start of use strict
13"use strict";
14
15/*------------------------------------------------
16* Preloader 
17------------------------------------------------*/
18$(window).on('load', function() {
19    $('#loading').fadeOut();
20    $('#preloader').delay(300).fadeOut('slow');
21
22
23/*------------------------------------------------
24* Load Functions
25------------------------------------------------*/
26	
27Affix();
28Counter();
29});
30
31
32/*------------------------------------------------
33* page scroll 
34------------------------------------------------*/
35$('a.page-scroll').on('click', function(event) {
36    var $anchor = $(this);
37
38    $('html, body').stop().animate({
39    scrollTop: $($anchor.attr('href')).offset().top - 50
40}, 1500, 'easeInOutExpo');
41
42event.preventDefault();
43});
44
45$(window).scrollspy({
46    target: '.navbar-fixed-top',
47    offset: 51
48});
49/*------------------------------------------------
50* Accordion 
51------------------------------------------------*/
52	 $(document).ready(function () {
53            $('.collapse.in').prev('.panel-heading').addClass('active');
54            $('#accordion, #bs-collapse')
55                .on('show.bs.collapse', function (a) {
56                    $(a.target).prev('.panel-heading').addClass('active');
57                })
58                .on('hide.bs.collapse', function (a) {
59                    $(a.target).prev('.panel-heading').removeClass('active');
60                });
61        });
62/*------------------------------------------------
63* Affix 
64------------------------------------------------*/
65var Affix = function() {
66    // offset for main navigation
67    $('#mainNav').affix({
68        offset: {
69            top: 50
70        }
71    });
72};
73	/*------------------------------------------------
74* Counter
75------------------------------------------------*/
76var Counter = function() {
77    $('.timer').countTo();
78};
79/*------------------------------------------------
80* tabs 
81------------------------------------------------*/
82$(function(){
83 $('.btn-circle').on('click',function(){
84   $('.btn-circle.btn-info').removeClass('btn-info').addClass('btn-default');
85   $(this).addClass('btn-info').removeClass('btn-default').blur();
86 });
87
88 $('.next-step, .prev-step').on('click', function (e){
89   var $activeTab = $('.tab-pane.active');
90
91   $('.btn-circle.btn-info').removeClass('btn-info').addClass('btn-default');
92
93   if ( $(e.target).hasClass('next-step') )
94   {
95      var nextTab = $activeTab.next('.tab-pane').attr('id');
96      $('[href="#'+ nextTab +'"]').addClass('btn-info').removeClass('btn-default');
97      $('[href="#'+ nextTab +'"]').tab('show');
98   }
99   else
100   {
101      var prevTab = $activeTab.prev('.tab-pane').attr('id');
102      $('[href="#'+ prevTab +'"]').addClass('btn-info').removeClass('btn-default');
103      $('[href="#'+ prevTab +'"]').tab('show');
104   }
105 });
106});
107
108/*------------------------------------------------
109* WOW
110------------------------------------------------*/
111// Initialize WOW.js Scrolling Animations
112    new WOW().init();
113/*---------------------------
114	 Product Filter
115----------------------------*/
116    $('#grid').mixItUp();
117    $('.filter-option li a').eq(0).addClass('active');
118
119    $('.project-related').owlCarousel({
120        autPlay: true,
121        loop:true,
122        margin:30,
123        nav: true,
124        dots: false,
125        navText:[
126            "<i class='fa fa-angle-left'></i>",
127            "<i class='fa fa-angle-right'></i>"
128        ],
129        responsiveClass:true,
130        responsive:{
131            0:{
132                items:1,
133                nav:false
134            },
135            600:{
136                items:1,
137                nav:false
138            },
139            1000:{
140                items:3,
141                nav:true,
142                loop:false
143            }
144        }
145    });
146	
147}(jQuery, window, document));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.