PageSourceSearch

https://www.journohq.com/frontend/js/custom.js

js journohq.com collected 2026-09-24 20:00:27 UTC 1,910 bytes, 66 lines download raw bytes

1jQuery( document ).ready(function($) {
2    function toggleStickyHeader() {
3    if ($(window).scrollTop() > 0) {  
4            $('.site-header').addClass("sticky");
5        } else {
6            $('.site-header').removeClass("sticky");
7        }
8    }
9    $(window).on('scroll', toggleStickyHeader);
10    $(document).ready(toggleStickyHeader);
11    
12   
13    const testimonialCarousel = $('.testimonial-carousel'); 
14    if (testimonialCarousel.length && typeof $.fn.owlCarousel === 'function') { 
15        testimonialCarousel.owlCarousel({ 
16            items: 1,
17            autoplay: true,
18            autoplayTimeout: 10000,
19            loop: true,
20            dots: true,
21            nav: false,
22            animateOut: 'fadeOut',
23            animateIn: 'fadeIn',
24            smartSpeed: 1000,
25            mouseDrag: false,
26            touchDrag: false,
27            pullDrag: false,
28        }); 
29    }
30
31    const communityCarousel = $('.community-carousel'); 
32    
33    if (communityCarousel.length && typeof $.fn.owlCarousel === 'function') { 
34        communityCarousel.owlCarousel({ 
35            items: 1,
36            autoplay: true,
37            autoplayTimeout: 10000, // 10 seconds delay
38            loop: true,
39            dots: true,
40            nav: false,
41            animateOut: 'fadeOut',
42            animateIn: 'fadeIn',
43            smartSpeed: 1000, 
44            mouseDrag: false,
45            touchDrag: false,
46            pullDrag: false,
47        }); 
48    } 
49
50
51    $(".pricing-card").first().addClass("active");
52    $(".plan-radio").first().prop("checked", true);
53    $(".plan-radio").on("change", function() {
54        $(".pricing-card").removeClass("active");
55        $(this).closest(".pricing-card").addClass("active");
56    });
57    
58});
59jQuery( window ).on( "load", function($) { 
60    try { 
61        if (typeof sal === 'function') { 
62            sal(); 
63        } 
64    } catch (error) { 
65    } 
66}); 

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.