PageSourceSearch

https://www.all-free-photos.com/html-codex/js/main.js

js all-free-photos.com collected 2026-09-24 09:54:21 UTC 2,525 bytes, 107 lines download raw bytes

1(function ($) {
2    "use strict";
3    
4    // Dropdown on mouse hover
5    $(document).ready(function () {
6        function toggleNavbarMethod() {
7            if ($(window).width() > 992) {
8                $('.navbar .dropdown').on('mouseover', function () {
9                    $('.dropdown-toggle', this).trigger('click');
10                }).on('mouseout', function () {
11                    $('.dropdown-toggle', this).trigger('click').blur();
12                });
13            } else {
14                $('.navbar .dropdown').off('mouseover').off('mouseout');
15            }
16        }
17        toggleNavbarMethod();
18        $(window).resize(toggleNavbarMethod);
19    });
20    
21    
22    // Back to top button
23    $(window).scroll(function () {
24        if ($(this).scrollTop() > 100) {
25            $('.back-to-top').fadeIn('slow');
26        } else {
27            $('.back-to-top').fadeOut('slow');
28        }
29    });
30    $('.back-to-top').click(function () {
31        $('html, body').animate({scrollTop: 0}, 1500, 'easeInOutExpo');
32        return false;
33    });
34
35
36    // Date and time picker
37    $('.date').datetimepicker({
38        format: 'L'
39    });
40    $('.time').datetimepicker({
41        format: 'LT'
42    });
43
44
45    // Testimonials carousel
46    $(".testimonial-carousel").owlCarousel({
47        autoplay: true,
48        smartSpeed: 1500,
49        margin: 30,
50        dots: true,
51        loop: true,
52        center: true,
53		lazyload: true,
54		nav: true,
55        responsive: {
56            0:{
57                items:1
58            },
59            576:{
60                items:1
61            },
62            768:{
63                items:2
64            },
65            992:{
66                items:3
67            }
68        }
69    });
70	
71		// accueil carousel
72    $(".home-carousel").owlCarousel({
73        autoplay: true,
74        smartSpeed: 1500,
75		dots: false,
76		items: 1,
77		slideSpeed: 300,
78        paginationSpeed: 400,
79		autoHeight: false,
80		loop: true,
81        center: true,
82		lazyLoad: true,
83		lazyLoadEager: 1,
84		nav: true,
85		navText: ['<img src="../clip/nav-prev.png">','<img src="../clip/nav-next.png">']
86        })
87	
88	// photos carousel
89    $(".photos-carousel").owlCarousel({
90        autoplay: false,
91        smartSpeed: 1500,
92		margin: 30,
93		dots: false,
94		items: 1,
95		slideSpeed: 300,
96        paginationSpeed: 400,
97		autoHeight: true,
98        loop: true,
99        center: true,
100		lazyLoad: true,
101		lazyLoadEager: 1,
102		nav: true,
103		navText: ['<img src="../clip/nav-prev.png">','<img src="../clip/nav-next.png">']
104        });
105    
106})(jQuery);
107

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.