PageSourceSearch

https://exel-industries.com/js/parallax.js

js exel-industries.com collected 2026-10-02 10:24:22 UTC 613 bytes, 18 lines download raw bytes

1window.addEventListener("DOMContentLoaded", () => {
2  let main = document.querySelector("main");
3  let ancien = document.querySelector(".ancien");
4  let nouveau = document.querySelector(".nouveau");
5
6  //Check hover
7  if (window.matchMedia("(hover: hover)").matches) {
8    document.addEventListener("mousemove", (e) => {
9      if (e.x / main.offsetWidth > 0.5) {
10        ancien.style.transform = "translate(0rem)";
11        nouveau.style.transform = "translate(4rem)";
12      } else {
13        ancien.style.transform = "translate(-2rem)";
14        nouveau.style.transform = "translate(0rem)";
15      }
16    });
17  }
18});

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.