PageSourceSearch

https://www.seippel-landmaschinen.de/wp-content/themes/dhsv_theme/…/assets/js/vc_frontend_scripts.js?ver=0.0.1

js seippel-landmaschinen.de collected 2026-10-06 11:12:31 UTC 1,324 bytes, 63 lines download raw bytes

1/**
2 * @author: Sebastian Lind
3 *
4 * @description: Javascript hier rein!
5 * 
6 */
7
8
9// self invoking function so we can use $ for jQuery
10(function ($) {
11
12
13  $(document).ready(function () {
14
15    console.log('VC Custom Scripts loaded.');
16
17    ////////////////////////////////////////////////////////////
18    // Parallax bg color height according to parallax image
19
20    $(".parallax").each(function () {
21      var height = $(this).height();
22      $(".background_image_bg", this).css('height', height);
23    });
24
25
26	  ////////////////////////////////////////////////////////////
27	  // Open News label Infos
28
29	  $(".newslabel").click(function () {
30		  $(this).toggleClass('open');
31	  });
32
33
34	  ////////////////////////////////////////////////////////////
35	  // Open Experten label Infos
36
37	  $(".expertenlabel").click(function () {
38		  $(this).toggleClass('open');
39	  });
40
41  });
42
43
44  $(document).scroll(function () {
45
46    ////////////////////////////////////////////////////////////
47    // Animate parallax BG vc_row
48
49    var x = $(this).scrollTop();
50    var h = $(window).height();
51
52    $(".parallax").each(function () {
53      var top = $(this).offset().top;
54      var diff = (x + h) - top;
55      if (diff > 0) {
56        $(this).css('background-position', 'center ' + parseInt(diff / 20) + 'px');
57      }
58    });
59
60  });
61
62
63}(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.