PageSourceSearch

https://arranicecream.co.uk/assets/template/js/app.js?v=0bb827367ace50965039e117415b3d40

js arranicecream.co.uk collected 2026-10-04 13:24:36 UTC 2,382 bytes, 86 lines download raw bytes

1//Initialize foundation - remove if bootstrap
2$(document).foundation();
3
4$(document).ready(function(){
5    $('.intro-carousel').slick({
6        autoplay: true,
7        dots: true,
8        arrows: false,
9        speed: 1800,
10        easing: 'ease-in-out',
11        prevArrow: '<i class="fa fa-angle-left slick-arrow-left" aria-hidden="true"></i>',
12        nextArrow: '<i class="fa fa-angle-right slick-arrow-right" aria-hidden="true"></i>',
13        pauseOnHover: false,
14        pauseOnFocus: false,
15        fade:true
16    });
17    
18    $('.flavours-carousel').slick({
19        slidesToShow:1,
20        autoplay:true,
21        slidesToScroll:1,
22        asNavFor:'.flavours-sub-carousel',
23        dots: false,
24        speed: 1000,
25        draggable:false,
26        easing: 'ease-in-out',
27        prevArrow: '<i class="fa fa-angle-left slick-arrow-left" aria-hidden="true"></i>',
28        nextArrow: '<i class="fa fa-angle-right slick-arrow-right" aria-hidden="true"></i>'
29    });
30    $('.flavours-sub-carousel').slick({
31        asNavFor: '.flavours-carousel',
32        autoplay:true,
33        slidesToShow: 7,
34        slidesToScroll:1,
35        speed: 1000,
36        draggable:false,
37        easing: 'ease-in-out',
38        arrows:false,
39        centerMode:true,
40        focusOnSelect:true,
41        responsive: [
42            {
43              breakpoint: 768,
44              settings: {
45                slidesToShow: 3
46              }
47            },
48            {
49              breakpoint: 1200,
50              settings: {
51                slidesToShow: 5
52              }
53            }
54          ]
55    });
56    
57    $(".hamburger").click(function() {
58      $(".top-nav").slideToggle("slow");
59      $(".header").toggleClass("open", 1000);
60      $(".hamburger").toggleClass("is-active");
61      $(".why-not-follow").toggle(300);
62      $(".header-social").toggleClass("open");
63    });
64    
65});
66    
67// handle links with @href started with '#' only
68$(document).on('click', 'a[href^="#"]', function(e) {
69    // target element id
70    var id = $(this).attr('href');
71
72    // target element
73    var $id = $(id);
74    if ($id.length === 0) {
75        return;
76    }
77
78    // prevent standard hash navigation (avoid blinking in IE)
79    e.preventDefault();
80
81    // top position relative to the document
82    var pos = $id.offset().top;
83
84    // animated top scrolling
85    $('body, html').animate({scrollTop: pos},1500);
86});

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.