PageSourceSearch

http://casamerica.es/themes/casamerica/js/components/slider-home.js?v=1.x

js casamerica.es collected 2026-10-02 05:18:55 UTC 2,147 bytes, 78 lines download raw bytes

1(function ($) {
2  'use strict'
3  $('#slider-home').insertAfter('#header')
4  $('#slider-home .field--name-field-enlace-cabecera-home').slick({
5    dots: true,
6    infinite: true,
7    fade: true,
8    autoplay: true,
9    autoplaySpeed: 15000,
10    speed: 900,
11    slidesToShow: 1,
12    arrows: false,
13    adaptiveHeight: true,
14    responsive: [
15      {
16        breakpoint: 1024,
17        settings: {
18        }
19      }
20    ]
21  })
22  $('#slider-home p.categoria').each(function (index) {
23    var categoria = $(this).html()
24    switch (categoria.toLowerCase()) {
25      case 'actualidad':
26        $(this).closest('.bola').addClass('actualidad')
27        break
28      case 'arte y arquitectura':
29        $(this).closest('.bola').addClass('arte')
30        break
31      case 'cine':
32        $(this).closest('.bola').addClass('cine')
33        break
34      case 'convenios':
35        $(this).closest('.bola').addClass('convenios')
36        break
37      case 'convocatorias':
38        $(this).closest('.bola').addClass('convocatorias')
39        break
40      case 'economía':
41        $(this).closest('.bola').addClass('economia')
42        break
43      case 'exposiciones':
44        $(this).closest('.bola').addClass('exposiciones')
45        break
46      case 'infantil':
47        $(this).closest('.bola').addClass('infantil')
48        break
49      case 'literatura':
50        $(this).closest('.bola').addClass('literatura')
51        break
52      case 'migración':
53        $(this).closest('.bola').addClass('migracion')
54        break
55      case 'música':
56        $(this).closest('.bola').addClass('musica')
57        break
58      case 'nos gusta':
59        $(this).closest('.bola').addClass('nos-gusta')
60        break
61      case 'política':
62        $(this).closest('.bola').addClass('politica')
63        break
64      case 'premios':
65        $(this).closest('.bola').addClass('premios')
66        break
67      case 'prensa':
68        $(this).closest('.bola').addClass('prensa')
69        break
70      case 'sociedad':
71        $(this).closest('.bola').addClass('sociedad')
72        break
73      case 'talleres':
74        $(this).closest('.bola').addClass('talleres')
75        break
76    }
77  })
78})(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.