PageSourceSearch

https://www.leicesterunion.com/pagestylesheet/scripts.js?v=197

js leicesterunion.com collected 2026-10-02 14:47:37 UTC 4,615 bytes, 189 lines download raw bytes

1$(document).ready(function() {
2	$('#banner .news_all, #banner .killfloat').remove();
3	$('#banner > div').slick({
4		dots: true,
5		arrows: true,
6		adaptiveHeight: true,
7		infinite: true,
8		fade:false,
9		autoplay: true,
10		autoplaySpeed:13800,
11		speed: 400,
12		centerMode: false
13	});
14	
15    
16    $('.eventsStyling .msl_eventlist > div ').slick({
17      dots: true,
18      infinite: true,
19      speed: 1000,
20      autoplay: true,
21      centerMode: true,
22      slidesToShow: 6,
23      arrows: false,
24      responsive: [
25        {
26          breakpoint: 1200,
27          settings: {
28            slidesToShow: 5
29          }
30        },
31        {
32          breakpoint: 992,
33          settings: {
34            slidesToShow: 4
35          }
36        },
37        {
38          breakpoint: 768,
39          settings: {
40            slidesToShow: 3
41          }
42        },
43        {
44          breakpoint: 600,
45          settings: {
46            slidesToShow: 2
47          }
48        },
49        {
50          breakpoint: 480,
51          settings: {
52            slidesToShow: 1
53          }
54        }
55        // You can unslick at a given breakpoint now by adding:
56        // settings: "unslick"
57        // instead of a settings object
58      ]
59    });
60
61    
62    $('.cards li:nth-of-type(1)').each(function() {
63        $(this).find('.msl-imagenav-image').replaceWith('<video muted playsinline loop autoplay width="100%"><source src="/stylesheet/Leicester25/cleo4.mp4" type="video/mp4" ></video>');
64    });
65    $('.cards li:nth-of-type(2)').each(function() {
66        $(this).find('.msl-imagenav-image').replaceWith('<video muted playsinline loop autoplay width="100%"><source src="/stylesheet/Leicester25/blessy3.mp4" type="video/mp4" ></video>');
67    });
68    $('.cards li:nth-of-type(3)').each(function() {
69        $(this).find('.msl-imagenav-image').replaceWith('<video muted playsinline loop autoplay width="100%"><source src="/stylesheet/Leicester25/aimee4.mp4" type="video/mp4" ></video>');
70    });
71    
72    
73   
74    
75    $('.cards li video').on('mouseover mouseout', function(e) {
76      const evt = e.type;
77      if (evt === 'mouseover') {
78        this.play();
79      }
80      if (evt === 'mouseout') {
81        this.pause();
82      }
83    });
84    
85    
86    /*$('.cards li').hover(function() {
87        
88        var findGif = $(this).find('.msl-imagenav-image').attr('src');
89        noparams = findGif.split('?')[0] ;
90        $(this).find('.msl-imagenav-image').attr('src', noparams);
91   
92      }, function() {
93        var findGif = $(this).find('.msl-imagenav-image').attr('src');
94        $(this).find('.msl-imagenav-image').attr('src', findGif + '?thumbnail=true&height=466&width=350&resize_type=CropToFit');
95      }
96      
97    );*/
98    
99    
100    
101    $('.ideaSec .cta.rounded').hover(function() {
102        $('.ideaSec').toggleClass('on');
103    });
104
105	
106	
107	//News
108	
109    $('.newsStyling .msl-news').slick({
110      dots: true,
111      infinite: true,
112      speed: 1000,
113      autoplay: true,
114      centerMode: true,
115      slidesToShow: 7,
116      arrows: false,
117      responsive: [
118        {
119          breakpoint: 1200,
120          settings: {
121            slidesToShow: 6
122          }
123        },
124        {
125          breakpoint: 992,
126          settings: {
127            slidesToShow: 5
128          }
129        },
130        {
131          breakpoint: 768,
132          settings: {
133            slidesToShow: 4
134          }
135        },
136        {
137          breakpoint: 600,
138          settings: {
139            slidesToShow: 3
140          }
141        },
142        {
143          breakpoint: 500,
144          settings: {
145            slidesToShow: 2
146          }
147        },
148        {
149          breakpoint: 420,
150          settings: {
151            slidesToShow: 1
152          }
153        }
154        // You can unslick at a given breakpoint now by adding:
155        // settings: "unslick"
156        // instead of a settings object
157      ]
158    });
159    
160    
161    $('.ads .msl-news').slick({
162      dots: false,
163      infinite: true,
164      speed: 1000,
165      autoplay: true,
166      centerMode: true,
167      slidesToShow: 3,
168      arrows: false,
169      responsive: [
170        {
171          breakpoint: 768,
172          settings: {
173            slidesToShow: 2
174          }
175        },
176        {
177          breakpoint: 600,
178          settings: {
179            slidesToShow: 1
180          }
181        }
182        // You can unslick at a given breakpoint now by adding:
183        // settings: "unslick"
184        // instead of a settings object
185      ]
186    });
187
188
189});

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.