PageSourceSearch

https://www.fopp.com/wp-content/themes/Fopp%202022/js/scripts.js?ver=1.0.0

js fopp.com collected 2026-10-02 13:04:04 UTC 3,451 bytes, 164 lines download raw bytes

1$(document).ready(function() {
2	
3  //SVG for PNG
4  if(!Modernizr.svg) {
5    $('img[src*="svg"]').attr('src', function() {
6    return $(this).attr('src').replace('.svg', '.png');
7    });
8  }
9	
10//Slicknav
11$('#navigation').slicknav({
12label: '',
13prependTo:'.nav',
14allowParentLinks: true
15});	
16
17//flexslider	
18$(".flexslider").flexslider({
19animation: "slide",
20});
21});
22
23
24$(document).ready(function() {
25	
26  $('.home_feature_link_1').hover(
27    function(){
28      var $this = $('.home-feature-1');
29      $this.data('transform', $this.css('transform')).css('transform', 'scale(1.02)');
30	  $this.data('opacity', $this.css('opacity')).css('opacity', 0.9);
31    },
32    function(){
33      var $this = $('.home-feature-1');
34      $this.css('transform', $this.data('transform'));
35	  $this.data('opacity', $this.css('opacity')).css('opacity', 1);	
36    }
37  ); 
38	
39  $('.home_feature_link_2').hover(
40    function(){
41      var $this = $('.home-feature-2');
42      $this.data('transform', $this.css('transform')).css('transform', 'scale(1.02)');
43	  $this.data('opacity', $this.css('opacity')).css('opacity', 0.9);
44    },
45    function(){
46      var $this = $('.home-feature-2');
47      $this.css('transform', $this.data('transform'));
48	  $this.data('opacity', $this.css('opacity')).css('opacity', 1);
49    }
50  ); 
51	
52  $('.home_feature_link_3').hover(
53    function(){
54      var $this = $('.home-feature-3');
55      $this.data('transform', $this.css('transform')).css('transform', 'scale(1.02)');
56	  $this.data('opacity', $this.css('opacity')).css('opacity', 0.9);
57    },
58    function(){
59      var $this = $('.home-feature-3');
60      $this.css('transform', $this.data('transform'));
61	  $this.data('opacity', $this.css('opacity')).css('opacity', 1);	
62    }
63  ); 	
64	
65});
66
67
68//slick slider features
69$(document).ready(function(){
70  $('.home-features-slider').slick({
71  infinite: true,
72  slidesToShow: 1,
73  slidesToScroll: 1,
74	  
75  });
76});
77
78
79//slick slider events
80$(document).ready(function(){
81  $('.home-events-slider').slick({
82    vertical: true,
83    slidesToShow: 2,
84    slidesToScroll: 1,
85    verticalSwiping: true,
86	infinite: true,
87  });
88});
89
90
91
92//slick slider home offers
93$(document).ready(function(){
94  $('.home-offers-slider').slick({
95      infinite: true,
96  slidesToShow: 5,
97  slidesToScroll: 1,
98	  responsive: [
99    {
100      breakpoint: 1024,
101      settings: {
102        slidesToShow: 3,
103        slidesToScroll: 3,
104        infinite: true,
105      }
106    },
107    {
108      breakpoint: 600,
109      settings: {
110        slidesToShow: 2,
111        slidesToScroll: 2
112      }
113    },
114    {
115      breakpoint: 480,
116      settings: {
117        slidesToShow: 1,
118        slidesToScroll: 1
119      }
120    }
121    // You can unslick at a given breakpoint now by adding:
122    // settings: "unslick"
123    // instead of a settings object
124  ]
125  });
126});
127
128
129//slick slider reviews
130$(document).ready(function(){
131  $('.review-slider').slick({
132      infinite: true,
133  slidesToShow: 6,
134  slidesToScroll: 1,
135	   responsive: [
136    {
137      breakpoint: 1024,
138      settings: {
139        slidesToShow: 3,
140        slidesToScroll: 3,
141        infinite: true,
142      }
143    },
144    {
145      breakpoint: 600,
146      settings: {
147        slidesToShow: 2,
148        slidesToScroll: 2
149      }
150    },
151    {
152      breakpoint: 480,
153      settings: {
154        slidesToShow: 1,
155        slidesToScroll: 1
156      }
157    }
158    // You can unslick at a given breakpoint now by adding:
159    // settings: "unslick"
160    // instead of a settings object
161  ]
162	  
163  });
164});

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.