PageSourceSearch

https://dross-boote.gmbh/templates/et_yacht/js/custom.js

js dross-boote.gmbh collected 2026-10-07 05:45:38 UTC 874 bytes, 30 lines download raw bytes

1/* Change Color Preset */
2jQuery(function ($) {  
3  if ($('.home').length > 0) {
4    a = $(".sp-megamenu-parent > li.active > a").css("color");
5        document.documentElement.style.setProperty('--background-color',a)
6        document.documentElement.style.setProperty('--text-color',a)
7  }
8  else {
9     a = $(".sp-page-title").css("backgroundColor");
10     document.documentElement.style.setProperty('--background-color',a)
11     document.documentElement.style.setProperty('--text-color',a)
12  }
13});
14
15/*** Counter ***/
16jQuery(function ($) { 
17        
18      $('.count').each(function () {
19      $(this).prop('Counter',0).animate({
20          Counter: $(this).text()
21      }, {
22          duration: 4000,
23          easing: 'swing',
24          step: function (now) {
25              $(this).text(Math.ceil(now));
26          }
27      });
28  });
29      
30});

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.