PageSourceSearch

https://www.lepasseurdevin.ch/wp-content/themes/passeur/assets/js/home.js?ver=1790151514

js lepasseurdevin.ch collected 2026-09-28 13:05:48 UTC 2,249 bytes, 70 lines download raw bytes

1/*  ==========================================================================
2  Component : Scroll magic
3========================================================================== */
4
5$(function () {
6  // init controller
7  var controller = new ScrollMagic.Controller();
8
9  if ($(window).innerWidth() > 1200 && $(window).innerWidth() < 1399) {
10    // build scene
11    var scene = new ScrollMagic.Scene({ triggerElement: ".section-vigneron h2", duration: 300 })
12      .setPin(".section-vigneron h2")
13      .on("enter, end", function () {
14        $('.section-vigneron h2').addClass('white');
15      })
16      .on("leave, start", function () {
17        $('.section-vigneron h2').removeClass('white');
18      })
19      .addTo(controller);
20  }
21
22  else if ($(window).innerWidth() > 1400) {
23    // build scene
24    var scene = new ScrollMagic.Scene({ triggerElement: ".section-vigneron h2", duration: 500 })
25      .setTween(TweenMax.to(".section-vigneron h2 span", 0.5, { color: "white" }))
26      .setPin(".section-vigneron h2")
27      .addTo(controller);
28  }
29
30  else if ($(window).innerWidth() < 1199) {
31    // build scene
32    var scene = new ScrollMagic.Scene({ triggerElement: ".section-vigneron h2", duration: 200 })
33      .setPin(".section-vigneron h2")
34      .on("enter, end", function () {
35        $('.section-vigneron h2').addClass('white');
36      })
37      .on("leave, start", function () {
38        $('.section-vigneron h2').removeClass('white');
39      })
40      .addTo(controller);
41  }
42});
43
44/*  ==========================================================================
45  Component : Shop section
46========================================================================== */
47
48$(document).ready( function () {
49  $(".shops").slick({
50    infinite: true,
51    slidesToShow: 1,
52    slidesToScroll: 1,
53    customPaging: function (slick, index) {
54      var pageTitle = $(".shops .shop").eq(index+1).attr('pagination');
55      return '<a>' + pageTitle + '</a>'
56    },
57    dots: true,
58    arrows: false,
59  });
60});
61
62
63/*  ==========================================================================
64  Document ready
65========================================================================== */
66
67$(document).ready(function () {
68  /* Layout */
69  //shopSectionHandle();
70});

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.