PageSourceSearch

https://www.castleknockparish.ie/wp-content/themes/portlaoise/js/main.js?ver=b8d15f7510d3067db99dc1f84221c776

js castleknockparish.ie collected 2026-09-25 01:29:00 UTC 2,614 bytes, 108 lines download raw bytes

1(function ($) {
2  $(document).foundation();
3
4  $(".new-back").each(function () {
5    var backTxt = $(this)
6      .parent()
7      .closest(".is-drilldown-submenu-parent")
8      .find("> a")
9      .text();
10    $(this).text(backTxt);
11  });
12
13  $(".menu-trigger").on("click", function (event) {
14    $(".side-panel").toggleClass("is-active");
15    $(".header").toggleClass("is-anchored").toggleClass("is-stuck");
16    $("html").toggleClass("is-reveal-open");
17    $(".menu-trigger i").toggleClass("hide");
18  });
19
20  setTimeout(function () {
21    $(".side-panel .current-menu-ancestor > a").trigger("click");
22  }, 500);
23
24  var sliderCarousel = $(".slider");
25
26  sliderCarousel.flickity({
27    cellAlign: "left",
28    wrapAround: true,
29    prevNextButtons: true,
30    pageDots: false,
31    imagesLoaded: true,
32  });
33
34  var liturgicalSlider = $(".liturgical-slider");
35
36  liturgicalSlider.flickity({
37    cellAlign: "left",
38    wrapAround: true,
39    prevNextButtons: true,
40    pageDots: false,
41    imagesLoaded: true,
42  });
43
44  var noticesCarousel = $(".notices-carousel");
45
46  noticesCarousel.flickity({
47    cellAlign: "left",
48    contain: true,
49    wrapAround: false,
50    prevNextButtons: true,
51    pageDots: false,
52    imagesLoaded: true,
53    groupCells: true,
54  });
55
56  var galleryCarousel = $(".gallery-carousel");
57
58  galleryCarousel.flickity({
59    cellAlign: "left",
60    contain: true,
61    wrapAround: false,
62    prevNextButtons: true,
63    pageDots: false,
64    imagesLoaded: true,
65    groupCells: true,
66  });
67
68  $(".intro-block a")
69    .filter(function () {
70      return $(this)
71        .attr("href")
72        .match(/\.(png|jpg)$/i);
73    })
74    .attr("data-fancybox", "gallery");
75
76  $("[data-fancybox]").fancybox({
77    // Options will go here
78  });
79
80  $('[data="more-gallery"]').on("click", function () {
81    $(this).addClass("hide");
82    $(".gallery-grid").addClass("show-all");
83  });
84
85  $(".datepicker-input").datepicker({
86    inline: true,
87    language: "en",
88    dateFormat: "yyyy-mm-dd",
89    navTitles: {
90      days: "MM",
91    },
92    onSelect: function (formattedDate, date, inst) {
93      $(".datepicker-inline").removeClass("show");
94      var selectedDate = formattedDate;
95      console.log(selectedDate);
96      selectedDate = selectedDate.replace(/-/g, "");
97      window.location.href = "?date=" + selectedDate;
98    },
99  });
100
101  $(".datepicker-toggle").on("click", function () {
102    $(".datepicker-inline").toggleClass("show");
103  });
104
105  $("[data='animate']").viewportChecker({
106    // offset: "-10%",
107  });
108})(jQuery);

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.