PageSourceSearch

https://artandseek.net/js/custom.js

js artandseek.net collected 2026-10-02 11:31:46 UTC 1,834 bytes, 83 lines download raw bytes

1// to get current year
2function getYear() {
3    var currentDate = new Date();
4    var currentYear = currentDate.getFullYear();
5    document.querySelector("#displayYear").innerHTML = currentYear;
6}
7
8getYear();
9
10//service section owl carousel
11$(".service_owl-carousel").owlCarousel({
12    autoplay: true,
13    center: true,
14    nav: true,
15    loop: true,
16    margin: 0,
17    responsive: {
18        0: {
19            items: 1
20        },
21        768: {
22            items: 3,
23        },
24        991: {
25            items: 3
26        }
27    }
28});
29
30// owl carousel slider js
31var owl = $('.portfolio_carousel').owlCarousel({
32    loop: true,
33    margin: 15,
34    dots: false,
35    center: true,
36    autoplay: true,
37    navText: [
38        '<i class="fa fa-arrow-left" aria-hidden="true"></i>',
39        '<i class="fa fa-arrow-right" aria-hidden="true"></i>'
40    ],
41    autoplayHoverPause: true,
42    responsive: {
43        0: {
44            center: false,
45            items: 1,
46            margin: 0
47        },
48        576: {
49            items: 2
50        },
51        991: {
52            center: true,
53            items: 3
54        }
55    }
56})
57
58
59// owl.owlcarousel2_filter
60
61$('.owl-filter-bar').on('click', '.item', function (e) {
62    var $items = $('.owl-filter-bar a')
63    var $item = $(this);
64    var filter = $item.data('owl-filter')
65    $items.removeClass("active");
66    $item.addClass("active");
67    owl.owlcarousel2_filter(filter);
68
69    e.preventDefault();
70})
71/** google_map js **/
72function myMap() {
73    var mapProp = {
74        center: new google.maps.LatLng(40.712775, -74.005973),
75        zoom: 18,
76    };
77    var map = new google.maps.Map(document.getElementById("googleMap"), mapProp);
78}
79
80// nice select
81$(document).ready(function () {
82    $('select').niceSelect();
83});

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.