PageSourceSearch

https://www.milling.com.tw/js/shortcode.js

js milling.com.tw collected 2026-10-04 09:53:09 UTC 9,974 bytes, 508 lines download raw bytes

1
2/*--------------------------------------------------------------------------------------------
3	1. Tooltip function by = bootstrap.js
4	
5	2. Popovers = bootstrap.js
6	
7	3. Images carousel functions
8		3.1 image-carousel function by = owl.carousel.js
9		3.2 image-carousel with content function by = owl.carousel.js
10		3.3 image-carousel no margin function by = owl.carousel.js 
11
12	4. Portfolio carousel functions
13		4.1 Portfolio Carousel function by = owl.carousel.js
14		4.2 Portfolio Carousel no margin function by = owl.carousel.js
15		4.3 Portfolio Carousel Full Screen with no margin function by = owl.carousel.js
16
17	5. Blog post Carousel functions
18	    5.1 Blog post Carousel function by = owl.carousel.js
19		5.2 Event Carousel function by = owl.carousel.js
20		
21	6. Client logo Carousel functions
22		6.1 Client logo Carousel function by = owl.carousel.js 
23		6.2 Client logo Carousel-4   function by = owl.carousel.js 
24		6.3 Client logo Carousel-3 Carousels  function by = owl.carousel.js 
25		6.4 Client logo Carousel-2 Carousels  function by = owl.carousel.js 
26		6.5 Client logo Carousel-1  function by = owl.carousel.js 
27
28	7. Fade slider for home function by = owl.carousel.js
29
30	8. Slide slider for home function by = owl.carousel.js
31
32	9. Testimonial Carousel functions
33		9.1 Testimonial one function by = owl.carousel.js
34		9.2 Testimonial two function by = owl.carousel.js
35		9.3 Testimonial three function by = owl.carousel.js
36		9.4 Testimonial four function by = owl.carousel.js 
37
38	10. CounterUp one function by = counterup-min.js
39	11. google map 1 function custom
40	12. google map 2 function custom
41	13. google map 3 function custom
42---------------------------------------------------------------------------------------------*/	
43
44
45jQuery(document).ready(function() {
46    'use strict';
47
48	
49//  Tooltip function by = bootstrap.js ========================== //
50	jQuery('[data-toggle="tooltip"]').tooltip();
51	
52//  Popovers = bootstrap.js========================= //	
53	jQuery('[data-toggle="popover"]').popover();
54
55//  image-carousel function by = owl.carousel.js ========================== //
56	jQuery('.img-carousel').owlCarousel({
57		loop:true,
58		margin:30,
59		nav:true,
60		dots: false,
61		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
62		responsive:{
63			0:{
64				items:1
65			},
66			
67			480:{
68				items:2
69			},			
70			
71			767:{
72				items:3
73			},
74			1000:{
75				items:4
76			}
77		}
78	})
79	
80//  image-carousel with content function by = owl.carousel.js ========================== //
81	jQuery('.img-carousel-content').owlCarousel({
82		loop:true,
83		margin:30,
84		nav:true,
85		dots: false,
86		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
87		responsive:{
88			0:{
89				items:1
90			},
91			
92			480:{
93				items:2
94			},			
95			
96			767:{
97				items:3
98			},
99			1000:{
100				items:4
101			}
102		}
103	})
104	
105//  image-carousel no margin function by = owl.carousel.js ========================== //
106	jQuery('.img-carousel-full-screen').owlCarousel({
107		loop:true,
108		margin:0,
109		nav:true,
110		dots: false,
111		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
112		responsive:{
113			0:{
114				items:1
115			},
116			
117			480:{
118				items:2
119			},			
120			
121			767:{
122				items:3
123			},
124			1000:{
125				items:5
126			}
127		}
128	})	
129	
130//  Portfolio Carousel function by = owl.carousel.js ========================== //
131	jQuery('.portfolio-carousel').owlCarousel({
132		loop:true,
133		margin:30,
134		nav:true,
135		dots: false,
136		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
137		responsive:{
138			0:{
139				items:1
140			},
141			
142			480:{
143				items:2
144			},			
145			
146			767:{
147				items:3
148			},
149			1000:{
150				items:4
151			}
152		}
153	})
154
155//  Portfolio Carousel no margin function by = owl.carousel.js ========================== //
156	jQuery('.portfolio-carousel-nogap').owlCarousel({
157		loop:true,
158		margin:0,
159		nav:true,
160		dots: false,
161		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
162		responsive:{
163			0:{
164				items:1
165			},
166			
167			480:{
168				items:2
169			},			
170			
171			767:{
172				items:3
173			},
174			1000:{
175				items:4
176			}
177		}
178	})
179
180//  Portfolio Carousel Full Screen with no margin function by = owl.carousel.js ========================== //
181	jQuery('.portfolio-carousel-fullscreen-nogap').owlCarousel({
182		loop:true,
183		margin:0,
184		nav:true,
185		dots: false,
186		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
187		responsive:{
188			0:{
189				items:1
190			},
191			
192			480:{
193				items:2
194			},			
195			
196			767:{
197				items:3
198			},
199			1000:{
200				items:5
201			}
202		}
203	})
204	
205//  Blog post Carousel function by = owl.carousel.js ========================== //
206	jQuery('.blog-carousel').owlCarousel({
207		loop:true,
208		margin:30,
209		nav:true,
210		dots: false,
211		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
212		responsive:{
213			0:{
214				items:1
215			},
216			
217			480:{
218				items:2
219			},			
220			
221			767:{
222				items:3
223			},
224			1000:{
225				items:3
226			}
227		}
228	})	
229	
230//  Event Carousel function by = owl.carousel.js ========================== //
231	jQuery('.event-carousel').owlCarousel({
232		loop:true,
233		margin:30,
234		nav:true,
235		dots: false,
236		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
237		responsive:{
238			0:{
239				items:1
240			},
241			
242			480:{
243				items:2
244			},			
245			
246			767:{
247				items:3
248			},
249			1000:{
250				items:3
251			}
252		}
253	})		
254	
255//  Client logo Carousel function by = owl.carousel.js ========================== //
256	jQuery('.client-logo-carousel').owlCarousel({
257		loop:true,
258		margin:30,
259		nav:false,
260		dots: true,
261		responsive:{
262			0:{
263				items:2
264			},
265			
266			480:{
267				items:3
268			},			
269			
270			767:{
271				items:4
272			},
273			1000:{
274				items:5
275			}
276		}
277	})	
278	
279// Client logo Carousel-4   function by = owl.carousel.js ========================== //	
280	jQuery('.client-logo-carousel-4').owlCarousel({
281		loop:true,
282		margin:30,
283		nav:false,
284		dots: true,
285		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
286		responsive:{
287			0:{
288				items:1
289			},
290			
291			480:{
292				items:2
293			},			
294			
295			767:{
296				items:4
297			},
298			1000:{
299				items:4
300			}
301		}
302	})	
303	
304// Client logo Carousel-3 Carousels  function by = owl.carousel.js ========================== //		
305	jQuery('.client-logo-carousel-3').owlCarousel({
306		loop:true,
307		margin:30,
308		nav:true,
309		dots: false,
310		autoplay:true,
311		autoplayTimeout:3000,
312		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
313		responsive:{
314			0:{
315				items:1
316			},
317			
318			480:{
319				items:2
320			},			
321			
322			767:{
323				items:3
324			},
325			1000:{
326				items:3
327			}
328		}
329	})	
330	
331// Client logo Carousel-2 Carousels  function by = owl.carousel.js ========================== //		
332	jQuery('.client-logo-carousel-2').owlCarousel({
333		loop:true,
334		margin:30,
335		nav:true,
336		dots: false,
337		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
338		responsive:{
339			0:{
340				items:1
341			},
342			
343			480:{
344				items:2
345			},			
346			
347			767:{
348				items:2
349			},
350			1000:{
351				items:2
352			}
353		}
354	})	
355	
356// Client logo Carousel-1  function by = owl.carousel.js ========================== //		
357	jQuery('.client-logo-carousel-1').owlCarousel({
358		loop:true,
359		margin:30,
360		nav:true,
361		dots: false,
362		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
363		responsive:{
364			0:{
365				items:1
366			},
367			
368			480:{
369				items:1
370			},			
371			
372			767:{
373				items:1
374			},
375			1000:{
376				items:1
377			}
378		}
379	})	
380	
381// Fade slider for home function by = owl.carousel.js ========================== //
382	jQuery('.owl-fade-slider-one').owlCarousel({
383		loop:true,
384		autoplay:true,
385		autoplayTimeout:2000,
386		margin:30,
387		nav:true,
388		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
389		items:1,
390		dots: true,
391		animateOut:'fadeOut',
392	})
393	
394	
395// Slide slider for home function by = owl.carousel.js ========================== //
396	jQuery('.owl-slide-slider-one').owlCarousel({
397		loop:true,
398		autoplay:true,
399		autoplayTimeout:2000,
400		margin:30,
401		nav:true,
402		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
403		items:1,
404		dots: true,
405	})	
406	
407//  Testimonial one function by = owl.carousel.js ========================== //
408	jQuery('.testimonial-one').owlCarousel({
409		loop:false,
410		margin:30,
411		nav:true,
412		dots: false,
413		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
414		responsive:{
415			0:{
416				items:1
417			},
418			
419			480:{
420				items:1
421			},			
422			
423			767:{
424				items:1
425			},
426			1000:{
427				items:1
428			}
429		}
430	});
431	
432//  Testimonial two function by = owl.carousel.js ========================== //
433	jQuery('.testimonial-two').owlCarousel({
434		loop:false,
435		margin:30,
436		nav:true,
437		dots: false,
438		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
439		responsive:{
440			0:{
441				items:1
442			},
443			
444			480:{
445				items:2
446			},			
447			
448			767:{
449				items:3
450			},
451			1000:{
452				items:3
453			}
454		}
455	});
456		
457//  Testimonial three function by = owl.carousel.js ========================== //
458	jQuery('.testimonial-three').owlCarousel({
459		loop:false,
460		margin:30,
461		nav:true,
462		dots: false,
463		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
464		responsive:{
465			0:{
466				items:1
467			},
468			
469			480:{
470				items:2
471			},			
472			
473			767:{
474				items:3
475			},
476			1000:{
477				items:3
478			}
479		}
480	})
481	
482//  Testimonial four function by = owl.carousel.js ========================== //
483	jQuery('.testimonial-four').owlCarousel({
484		loop:false,
485		margin:80,
486		nav:true,
487		dots: false,
488		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
489		responsive:{
490			0:{
491				items:1
492			},
493			991:{
494				items:2
495			}
496		}
497	})
498	
499//  CounterUp one function by = counterup-min.js ========================== //
500	jQuery('.counter').counterUp({
501		delay: 10,
502		time: 1000
503	});
504
505
506});
507
508// Document.ready END==set-marker-popup-close============================================================//

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.