// Hello.
//
// This is The Scripts used for ___________ Theme
//
//

function main() {

(function () {
   'use strict';

   /* ==============================================
      Testimonial Slider
      =============================================== */ 

      $('a.page-scroll').click(function() {
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
            $('html,body').animate({
              scrollTop: target.offset().top - 40
            }, 900);
            return false;
          }
        }
      });

    /*====================================
    Show Menu on Book
    ======================================*/
    $(window).bind('scroll', function() {
        var navHeight = $(window).height() - 100;
        if ($(window).scrollTop() > navHeight) {
            $('.navbar-default').addClass('on');
        } else {
            $('.navbar-default').removeClass('on');
        }
    });

    $('body').scrollspy({ 
        target: '.navbar-default',
        offset: 80
    })

      $(document).ready(function() {
        $("#team").owlCarousel({
       
            navigation : false, // Show next and prev buttons
            slideSpeed : 800,
            paginationSpeed : 400,
            autoHeight : true,
            itemsCustom : [
                        [0, 1],
                        [450, 2],
                        [600, 2],
                        [700, 2],
                        [1000, 4],
                        [1200, 4],
                        [1400, 4],
                        [1600, 4]
                      ],
        });

        $("#clients").owlCarousel({
       
            navigation : false, // Show next and prev buttons
            slideSpeed : 300,
            paginationSpeed : 400,
            autoHeight : true,
            itemsCustom : [
                        [0, 1],
                        [450, 2],
                        [600, 2],
                        [700, 2],
                        [1000, 4],
                        [1200, 5],
                        [1400, 5],
                        [1600, 5]
                      ],
        });

      $("#testimonial").owlCarousel({
        navigation : false, // Show next and prev buttons
        slideSpeed : 300,
        paginationSpeed : 400,
        singleItem:true
        });

      });

      /*====================================
    Portfolio Isotope Filter
    ======================================*/
    $(window).load(function() {
        var $container = $('#lightbox');
        $container.isotope({
            filter: '*',
            animationOptions: {
                duration: 750,
                easing: 'linear',
                queue: false
            }
        });
        $('.cat a').click(function() {
            $('.cat .active').removeClass('active');
            $(this).addClass('active');
            var selector = $(this).attr('data-filter');
            $container.isotope({
                filter: selector,
                animationOptions: {
                    duration: 750,
                    easing: 'linear',
                    queue: false
                }
            });
            return false;
        });

    });



}());


}
main();
File Manager

在线文件管理器

编号 名称 类型 大小 可读 可写 可执行 创建时间 修改时间 访问时间 操作
1 owl.carousel.js 51.56KB 2022-11-18 23:40:22 2017-05-04 18:40:54 2024-10-23 03:20:07 | | | | | |
2 modernizr.custom.js 14.89KB 2022-11-18 23:40:22 2017-05-04 18:40:51 2024-10-22 22:33:13 | | | | | |
3 main.js 3.08KB 2022-11-18 23:40:22 2017-05-04 18:40:56 2024-10-22 17:57:19 | | | | | |
4 _DS_Store 6KB 2022-11-18 23:40:22 2017-05-04 18:40:57 2024-10-05 02:54:35 | | | | | |
5 bootstrap.min.js 34.62KB 2022-11-18 23:40:22 2020-09-14 13:09:54 2024-10-23 03:18:07 | | | | | |
6 SmoothScroll.js 13.47KB 2022-11-18 23:40:22 2017-05-04 18:40:51 2024-10-22 07:03:02 | | | | | |
7 jquery.isotope.js 43.61KB 2022-11-18 23:40:22 2017-05-04 18:40:51 2024-10-22 22:18:44 | | | | | |
8 bootstrap.js 65.17KB 2022-11-18 23:40:22 2020-09-14 13:09:54 2024-10-22 17:57:17 | | | | | |
9 jquery.1.11.1.js 93.54KB 2022-11-18 23:40:22 2017-05-04 18:40:56 2024-10-22 22:18:08 | | | | | |
Directory information is not available.