PageSourceSearch

https://vodafone.com.fj/ResourcePackages/VFL/assets/dist/js/rev-slider.js

js vodafone.com.fj collected 2026-10-02 07:16:34 UTC 16,776 bytes, 414 lines download raw bytes

1// Revolution Slider
2var RevSlider = function() {
3    "use strict";
4    // Slider 1 ( Simple )
5    var handleRevSliderLayout1 = function() {
6        var tpj=jQuery,         
7        revapi1;
8        tpj(document).ready(function() {
9            if(tpj("#rev-slider1").revolution == undefined){
10                revslider_showDoubleJqueryError("#rev-slider1");
11            } else {
12                revapi1 = tpj("#rev-slider1").show().revolution({
13
14                    jsFileLocation: "rev-slider/js/",
15                    sliderType:"standard",
16                    sliderLayout:"auto",
17                    fullWidth:"on",
18                    dottedOverlay: "none",
19                    delay: 6000,
20                    navigation: {
21                        keyboardNavigation: "on",
22                        keyboard_direction: "horizontal",
23                        mouseScrollNavigation: "off",
24                        onHoverStop: "off",
25                        touch: {
26                            touchenabled: "on",
27                            swipe_threshold: 75,
28                            swipe_min_touches: 1,
29                            drag_block_vertical: false,
30                            swipe_direction: "horizontal"
31                        },
32                        arrows: {
33                            style: "custom",
34                            enable: false,
35                            hide_onmobile: true,
36                            hide_under: 768,
37                            hide_onleave: true,
38                            tmp: '',
39                            left: {
40                                h_align: "left",
41                                v_align: "center",
42                                h_offset: 0,
43                                v_offset: 0
44                            },
45                            right: {
46                                h_align: "right",
47                                v_align: "center",
48                                h_offset: 0,
49                                v_offset: 0
50                            }
51                        },
52                        bullets: {
53                            enable: true,
54                            hide_onmobile: true,
55                            style: "custom",
56                            hide_onleave: false,
57                            direction: "horizontal",
58                            h_align: "center",
59                            v_align: "bottom",
60                            h_offset: 0,
61                            v_offset: 30,
62                            space: 8,
63                            tmp: ''
64                        }
65                    },
66                    viewPort: {
67                        enable: true,
68                        outof: "pause",
69                        visible_area: "80%"
70                    },
71                    responsiveLevels:[2220,1183,975,750],
72                    gridwidth:[1170,970,760,320],
73                    gridheight: [500,500,550,450],
74                    lazyType: "smart",
75                    parallax: {
76                        type: "scroll",
77                        origo: "enterpoint",
78                        speed: 400,
79                        levels: [5,10,15,20,25,30,35,40,45,50],
80                    },
81                    shadow: 0,
82                    spinner: "off",
83                    stopLoop: "off",
84                    stopAfterLoops: -1,
85                    stopAtSlide: -1,
86                    shuffle: "off",
87                    autoHeight: "off",
88                    fullScreenOffsetContainer: ".rev-slider-offset",
89                    hideThumbsOnMobile: "off",
90                    hideSliderAtLimit: 0,
91                    hideCaptionAtLimit: 0,
92                    hideAllCaptionAtLilmit: 0,
93                    debugMode: false,
94                    fallbacks: {
95                        simplifyAll: "off",
96                        nextSlideOnWindowFocus: "off",
97                        disableFocusListener: false,
98                    }
99                });
100            }
101        });
102    }
103
104    // Slider 2 ( Simple )
105    var handleRevSliderLayout2 = function() {
106        var tpj=jQuery,         
107        revapi2;
108        tpj(document).ready(function() {
109            if(tpj("#rev-slider1").revolution == undefined){
110                revslider_showDoubleJqueryError("#rev-slider2");
111            } else {
112                revapi2 = tpj("#rev-slider2").show().revolution({
113
114                    jsFileLocation: "rev-slider/js/",
115                    sliderType:"standard",
116                    sliderLayout:"none",
117                    fullWidth:"on",
118                    dottedOverlay: "none",
119                    delay: 0,
120                    navigation: {
121                        keyboardNavigation: "on",
122                        keyboard_direction: "horizontal",
123                        mouseScrollNavigation: "off",
124                        onHoverStop: "off",
125                        touch: {
126                            touchenabled: "on",
127                            swipe_threshold: 75,
128                            swipe_min_touches: 1,
129                            drag_block_vertical: false,
130                            swipe_direction: "horizontal"
131                        },
132                        arrows: {
133                            style: "custom",
134                            enable: false,
135                            hide_onmobile: true,
136                            hide_under: 768,
137                            hide_onleave: true,
138                            tmp: '',
139                            left: {
140                                h_align: "left",
141                                v_align: "center",
142                                h_offset: 0,
143                                v_offset: 0
144                            },
145                            right: {
146                                h_align: "right",
147                                v_align: "center",
148                                h_offset: 0,
149                                v_offset: 0
150                            }
151                        },
152                        bullets: {
153                            enable: false,
154                            hide_onmobile: true,
155                            style: "custom",
156                            hide_onleave: true,
157                            direction: "horizontal",
158                            h_align: "center",
159                            v_align: "bottom",
160                            h_offset: 0,
161                            v_offset: 30,
162                            space: 8,
163                            tmp: ''
164                        }
165                    },
166                    viewPort: {
167                        enable: true,
168                        outof: "pause",
169                        visible_area: "80%"
170                    },
171                    responsiveLevels:[2220,1183,975,750],
172                    gridwidth:[1170,970,760,320],
173                    gridheight: [920,860,400,350],
174                    lazyType: "smart",
175                    parallax: {
176                        type: "scroll",
177                        origo: "enterpoint",
178                        speed: 400,
179                        levels: [5,10,15,20,25,30,35,40,45,50],
180                    },
181                    shadow: 0,
182                    spinner: "off",
183                    stopLoop: "off",
184                    stopAfterLoops: -1,
185                    stopAtSlide: -1,
186                    shuffle: "off",
187                    autoHeight: "off",
188                    fullScreenOffsetContainer: ".rev-slider-offset",
189                    hideThumbsOnMobile: "off",
190                    hideSliderAtLimit: 0,
191                    hideCaptionAtLimit: 0,
192                    hideAllCaptionAtLilmit: 0,
193                    debugMode: false,
194                    fallbacks: {
195                        simplifyAll: "off",
196                        nextSlideOnWindowFocus: "off",
197                        disableFocusListener: false,
198                    }
199                });
200            }
201        });
202    }
203
204    var handleRevSliderLayout3 = function() {
205        var tpj=jQuery,         
206        revapi3;
207        tpj(document).ready(function() {
208            if(tpj("#rev-slider3").revolution == undefined){
209                revslider_showDoubleJqueryError("#rev-slider3");
210            } else {
211                revapi3 = tpj("#rev-slider3").show().revolution({
212
213                    jsFileLocation: "rev-slider/js/",
214                    sliderType:"standard",
215                    sliderLayout:"none",
216                    fullWidth:"on",
217                    dottedOverlay: "none",
218                    delay: 6000,
219                    navigation: {
220                        keyboardNavigation: "on",
221                        keyboard_direction: "horizontal",
222                        mouseScrollNavigation: "off",
223                        onHoverStop: "off",
224                        touch: {
225                            touchenabled: "on",
226                            swipe_threshold: 75,
227                            swipe_min_touches: 1,
228                            drag_block_vertical: false,
229                            swipe_direction: "horizontal"
230                        },
231                        arrows: {
232                            style: "custom",
233                            enable: false,
234                            hide_onmobile: true,
235                            hide_under: 768,
236                            hide_onleave: true,
237                            tmp: '',
238                            left: {
239                                h_align: "left",
240                                v_align: "center",
241                                h_offset: 0,
242                                v_offset: 0
243                            },
244                            right: {
245                                h_align: "right",
246                                v_align: "center",
247                                h_offset: 0,
248                                v_offset: 0
249                            }
250                        },
251                        bullets: {
252                            enable: false,
253                            hide_onmobile: true,
254                            style: "custom",
255                            hide_onleave: true,
256                            direction: "horizontal",
257                            h_align: "center",
258                            v_align: "bottom",
259                            h_offset: 0,
260                            v_offset: 30,
261                            space: 8,
262                            tmp: ''
263                        }
264                    },
265                    viewPort: {
266                        enable: true,
267                        outof: "pause",
268                        visible_area: "80%"
269                    },
270                    responsiveLevels:[2220,1183,975,750],
271                    gridwidth:[1170,970,760,320],
272                    gridheight: [935,860,500,500],
273                    lazyType: "smart",
274                    parallax: {
275                        type: "scroll",
276                        origo: "enterpoint",
277                        speed: 400,
278                        levels: [5,10,15,20,25,30,35,40,45,50],
279                    },
280                    shadow: 0,
281                    spinner: "off",
282                    stopLoop: "off",
283                    stopAfterLoops: -1,
284                    stopAtSlide: -1,
285                    shuffle: "off",
286                    autoHeight: "off",
287                    fullScreenOffsetContainer: ".rev-slider-offset",
288                    hideThumbsOnMobile: "off",
289                    hideSliderAtLimit: 0,
290                    hideCaptionAtLimit: 0,
291                    hideAllCaptionAtLilmit: 0,
292                    debugMode: false,
293                    fallbacks: {
294                        simplifyAll: "off",
295                        nextSlideOnWindowFocus: "off",
296                        disableFocusListener: false,
297                    }
298                });
299            }
300        });
301    }
302
303    var handleRevSliderLayout4 = function() {
304        var tpj=jQuery,         
305        revapi4;
306        tpj(document).ready(function() {
307            if(tpj("#rev-slider4").revolution == undefined){
308                revslider_showDoubleJqueryError("#rev-slider4");
309            } else {
310                revapi4 = tpj("#rev-slider4").show().revolution({
311
312                    jsFileLocation: "rev-slider/js/",
313                    sliderType:"standard",
314                    sliderLayout:"none",
315                    fullWidth:"on",
316                    dottedOverlay: "none",
317                    delay: 6000,
318                    navigation: {
319                        keyboardNavigation: "on",
320                        keyboard_direction: "horizontal",
321                        mouseScrollNavigation: "off",
322                        onHoverStop: "off",
323                        touch: {
324                            touchenabled: "on",
325                            swipe_threshold: 75,
326                            swipe_min_touches: 1,
327                            drag_block_vertical: false,
328                            swipe_direction: "horizontal"
329                        },
330                        arrows: {
331                            style: "custom",
332                            enable: false,
333                            hide_onmobile: true,
334                            hide_under: 768,
335                            hide_onleave: true,
336                            tmp: '',
337                            left: {
338                                h_align: "left",
339                                v_align: "center",
340                                h_offset: 0,
341                                v_offset: 0
342                            },
343                            right: {
344                                h_align: "right",
345                                v_align: "center",
346                                h_offset: 0,
347                                v_offset: 0
348                            }
349                        },
350                        bullets: {
351                            enable: false,
352                            hide_onmobile: true,
353                            style: "custom",
354                            hide_onleave: true,
355                            direction: "horizontal",
356                            h_align: "center",
357                            v_align: "bottom",
358                            h_offset: 0,
359                            v_offset: 30,
360                            space: 8,
361                            tmp: ''
362                        }
363                    },
364                    viewPort: {
365                        enable: true,
366                        outof: "pause",
367                        visible_area: "80%"
368                    },
369                    responsiveLevels:[2220,1183,975,750],
370                    gridwidth:[1170,970,760,320],
371                    gridheight: [800,860,500,350],
372                    lazyType: "smart",
373                    parallax: {
374                        type: "scroll",
375                        origo: "enterpoint",
376                        speed: 400,
377                        levels: [5,10,15,20,25,30,35,40,45,50],
378                    },
379                    shadow: 0,
380                    spinner: "off",
381                    stopLoop: "off",
382                    stopAfterLoops: -1,
383                    stopAtSlide: -1,
384                    shuffle: "off",
385                    autoHeight: "off",
386                    fullScreenOffsetContainer: ".rev-slider-offset",
387                    hideThumbsOnMobile: "off",
388                    hideSliderAtLimit: 0,
389                    hideCaptionAtLimit: 0,
390                    hideAllCaptionAtLilmit: 0,
391                    debugMode: false,
392                    fallbacks: {
393                        simplifyAll: "off",
394                        nextSlideOnWindowFocus: "off",
395                        dis
395ableFocusListener: false,
396                    }
397                });
398            }
399        });
400    }
401
402    return {
403        init: function() {
404            handleRevSliderLayout1();
405            handleRevSliderLayout2();
406            handleRevSliderLayout3();
407            handleRevSliderLayout4();
408        }
409    }
410}();
411
412$(document).ready(function() {
413    RevSlider.init();
414});

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.