PageSourceSearch

https://www.bsc.es/sites/all/themes/bscw2/js/slideshow.js?tltan7

js bsc.es collected 2026-09-24 08:41:55 UTC 4,611 bytes, 114 lines download raw bytes

1(function($) {
2    
3    Drupal.behaviors.slideShow = {
4        attach: function(context) {
5          
6            $(".views-field-field-bscw2p-vos-media:first ul:first").addClass("tornasol");
7            var elementExists = document.getElementById("page-title");
8          
9            jQuery(document).ready(function() {
10                
11                /* Visit Our Supercomputer - Media */
12                $(".views-field-field-bscw2p-vos-media:first ul:first").addClass("slides");
13                $(".views-field-field-bscw2p-vos-media").flexslider({
14                    animation: "slide",
15                    animationLoop: false,
16                    prevText: "",
17                    nextText: "",
18                    controlNav: false,
19                    itemWidth: 200,
20                    itemMargin: 10,
21                    minItems: 2,
22                    maxItems: 6
23                });
24                
25                /* Visit Our Supercomputer - Machine Time Gallery */
26                $(".views-field-field-bscw2p-vos-mtwgallery:first ul:first").addClass("slides");
27                $(".views-field-field-bscw2p-vos-mtwgallery").flexslider({
28                    animation: "slide",
29                    animationLoop: false,
30                    prevText: "",
31                    nextText: "",
32                    controlNav: false,
33                    itemWidth: 470,
34                    itemMargin: 0,
35                    slideshow: false,
36                    /* move: 1, */
37                    minItems: 2,
38                    maxItems: 6
39                });
40                
41                /* Research Line - Media */
42                $(".views-field-field-bscw2c-rl-media:first ul:first").addClass("slides");
43                $(".views-field-field-bscw2c-rl-media").flexslider({
44                    animation: "slide",
45                    animationLoop: false,
46                    prevText: "",
47                    nextText: "",
48                    controlNav: false,
49                    itemWidth: 400,
50                    itemMargin: 10,
51                    minItems: 2,
52                    maxItems: 6
53                });
54                
55                /* Training Event - Media */
56                $(".views-field-field-bscw2c-evt-arc-media:first ul:first").addClass("slides");
57                $(".views-field-field-bscw2c-evt-arc-media").flexslider({
58                    animation: "slide",
59                    animationLoop: false,
60                    prevText: "",
61                    nextText: "",
62                    controlNav: false,
63                    itemWidth: 400,
64                    itemMargin: 10,
65                    minItems: 2,
66                    maxItems: 6
67                });
68                
69                /* Project - Media */
70                $(".views-field-field-bscw2c-proj-media:first ul:first").addClass("slides");
71                $(".views-field-field-bscw2c-proj-media").flexslider({
72                    animation: "slide",
73                    animationLoop: false,
74                    prevText: "",
75                    nextText: "",
76                    controlNav: false,
77                    itemWidth: 400,
78                    itemMargin: 10,
79                    minItems: 2,
80                    maxItems: 6
81                });
82                
83                /* Contribute to Research - Research Areas */
84                $(".view-display-id-ctr_rareas_block:first ul:first").addClass("slides");
85                $(".view-display-id-ctr_rareas_block").flexslider({
86                    animation: "slide",
87                    animationLoop: false,
88                    prevText: "",
89                    nextText: "",
90                    controlNav: false,
91                    itemWidth: 400,
92                    itemMargin: 10,
93                    minItems: 2,
94                    maxItems: 6
95                });
96                
97                /* Project - Videos */
98                $(".views-field-field-bscw2c-proj-videos:first ul:first").addClass("slides");
99                $(".views-field-field-bscw2c-proj-videos").flexslider({
100                    animation: "slide",
101                    animationLoop: false,
102                    prevText: "",
103                    nextText: "",
104                    controlNav: false,
105                    itemWidth: 400,
106                    itemMargin: 10,
107                    minItems: 2,
108                    maxItems: 6
109                });
110                
111            });
112        }
113    }
114}(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.