PageSourceSearch

https://bitcoinnews.ch/wp-content/themes/newsup-pro/js/custom.js?ver=7.1.2

js bitcoinnews.ch collected 2026-10-01 10:20:43 UTC 4,846 bytes, 203 lines download raw bytes

1(function($) {
2  "use strict";
3/* =================================
4===        STICKY HEADER        ====
5=================================== */
6jQuery(window).on('load', function() {  
7  // Enable Hover for Bootstrap Nav Dropdowns
8  jQuery('.mg-search-box').hover(function() {
9       jQuery(this).addClass('open');
10     }, function() {
11       jQuery(this).removeClass('open');
12  }); 
13});
14
15// nolist_crowsel
16function nolist_crowsel() {
17  jQuery(".nolist_crowsel").owlCarousel({
18     autoPlay: 3000, //Set AutoPlay to 3 seconds
19    items : 4,
20    itemsDesktop : [1199,3],
21    itemsDesktopSmall : [979,2],
22    pagination : false,
23    navigation : true,
24    navigationText: [
25            "<i class='fa fa-angle-left'></i>",
26            "<i class='fa fa-angle-right'></i>"
27        ]
28  });
29}
30nolist_crowsel();
31
32// no_gutter crousel
33function no_gutter() {
34  jQuery(".no_gutter_crousel").owlCarousel({
35     autoPlay: 3000, //Set AutoPlay to 3 seconds
36    items : 4,
37    itemsDesktop : [1199,1],
38    itemsDesktopSmall : [979,2],
39    pagination : false,
40    navigation : true,
41    navigationText: [
42            "<i class='fa fa-angle-left'></i>",
43            "<i class='fa fa-angle-right'></i>"
44        ]
45  });
46}
47no_gutter();
48
49function homefeatured() {
50  jQuery(".featuredcat").owlCarousel({
51      autoPlay: 3000, //Set AutoPlay to 3 seconds
52      pagination: false,
53    items : 3,
54    itemsDesktop : [1199,1],
55    itemsDesktopSmall : [979,1],
56    navigation : false,
57    navigationText: [
58            "<i class='fa fa-angle-left'></i>",
59            "<i class='fa fa-angle-right'></i>"
60        ]
61  });
62}
63homefeatured();
64 
65 // post crousel
66function postcrousel() {
67  jQuery(".postcrousel").owlCarousel({
68     autoPlay: 3000, //Set AutoPlay to 3 seconds
69    items : 1,
70    itemsDesktop : [1199,1],
71    itemsDesktopSmall : [979,2],
72    pagination : false,
73    navigation : true,
74    navigationText: [
75            "<i class='fa fa-angle-left'></i>",
76            "<i class='fa fa-angle-right'></i>"
77        ]
78  });
79}
80postcrousel(); 
81// featured post
82function editorchoice() {
83  jQuery(".editorchoice").owlCarousel({
84     autoPlay: 3000, //Set AutoPlay to 3 seconds
85    items : 4,
86    itemsDesktop : [1199,3],
87    itemsDesktopSmall : [979,2],
88    pagination : false,
89    navigation : true,
90    navigationText: [
91            "<i class='fa fa-angle-left'></i>",
92            "<i class='fa fa-angle-right'></i>"
93        ]
94  });
95}
96editorchoice();
97
98// realatedpost
99function realatedpost() {
100  jQuery(".realatedpost").owlCarousel({
101     autoPlay: 3000, //Set AutoPlay to 3 seconds
102    items : 3,
103    itemsDesktop : [1199,3],
104    itemsDesktopSmall : [979,2],
105    pagination : false,
106    navigation : true,
107    navigationText: [
108            "<i class='fa fa-angle-left'></i>",
109            "<i class='fa fa-angle-right'></i>"
110        ]
111  });
112}
113realatedpost(); 
114// realatedpost
115// colmnthree crousel
116function colmnthree() {
117  jQuery(".colmnthree").owlCarousel({
118     autoPlay: 3000, //Set AutoPlay to 3 seconds
119    items : 3,
120    itemsDesktop : [1199,1],
121    itemsDesktopSmall : [979,2],
122    pagination : false,
123    navigation : true,
124    navigationText: [
125            "<i class='fa fa-angle-left'></i>",
126            "<i class='fa fa-angle-right'></i>"
127        ]
128  });
129}
130colmnthree();
131
132
133
134function colmntwo() {
135  jQuery(".colmnthree").owlCarousel({
136     autoPlay: 3000, //Set AutoPlay to 3 seconds
137    items : 2,
138    itemsDesktop : [1199,1],
139    itemsDesktopSmall : [979,2],
140    pagination : false,
141    navigation : true,
142    navigationText: [
143            "<i class='fa fa-angle-left'></i>",
144            "<i class='fa fa-angle-right'></i>"
145        ]
146  });
147}
148colmntwo();
149/* =================================
150===         SCROLL TOP       ====
151=================================== */
152jQuery(".ta_upscr").hide(); 
153function taupr() {
154  jQuery(window).on('scroll', function() {
155    if ($(this).scrollTop() > 500) {
156        $('.ta_upscr').fadeIn();
157    } else {
158      $('.ta_upscr').fadeOut();
159    }
160  });   
161  $('a.ta_upscr').on('click', function()  {
162    $('body,html').animate({
163      scrollTop: 0
164    }, 800);
165    return false;
166  });
167}    
168taupr();
169/* =================================
170===         Share Toggle      ====
171=================================== */
172jQuery('.mg-share-toggle').on('click', function() {
173  jQuery(this).next().toggleClass('mg-share-active');
174});
175
176function marquee() {
177  jQuery('.marquee').marquee({
178  speed: 50,
179  direction: 'left', 
180  delayBeforeStart: 0,
181  duplicated: true,
182  pauseOnHover: true,
183  startVisible: true
184  });
185}
186marquee();
187
188// gridslider crousel
189function gridslider() {
190  jQuery(".gridslider").owlCarousel({
191    singleItem:true,
192    pagination: false,
193    navigation : true,
194    navigationText: [
195            "<i class='fa fa-angle-left'></i>",
196            "<i class='fa fa-angle-right'></i>"
197        ]
198  });
199}
200gridslider();
201
202
203})(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.