PageSourceSearch

https://www.denizli24haber.com/v3_public/assets/js/script-home.js

js denizli24haber.com collected 2026-10-02 20:13:41 UTC 3,049 bytes, 142 lines download raw bytes

1$(document).ready(function(){
2    if($("#topheadline").length>0){
3        hscroll('#topheadline');
4    }
5    if($("#authorss").length>0){
6        hscroll('#authorss');
7    }
8
9	$('#yenilistele').slick({
10			slidesPerRow: 1,
11			slidesToShow: 1,
12			slidesToScroll: 1,
13			autoplay: true,
14			autoplaySpeed: 4000,
15			dots: false,
16			infinite: true,
17			speed: 300,
18			nextArrow: '#yenilisteleNext',
19			prevArrow: '#yenilistelePrev',
20			centerMode: false,
21			swipeToSlide: true
22	});
23	
24	$('#dortlukayan').slick({
25			slidesPerRow: 1,
26			slidesToShow: 1,
27			slidesToScroll: 1,
28			autoplay: true,
29			autoplaySpeed: 4000,
30			dots: false,
31			infinite: true,
32			speed: 300,
33			nextArrow: '#dortlukayanNext',
34			prevArrow: '#dortlukayanPrev',
35			centerMode: false,
36			swipeToSlide: true
37	});
38
39	if (window.matchMedia("(max-width: 768px)").matches) {
40		
41		$('#authors').slick({
42			slidesPerRow: 1,
43			slidesToShow: 1,
44			slidesToScroll: 1,
45			autoplay: true,
46			autoplaySpeed: 4000,
47			dots: false,
48			infinite: true,
49			speed: 300,
50			nextArrow: '#authorNext',
51			prevArrow: '#authorPrev',
52			centerMode: false,
53			swipeToSlide: true
54		});
55		
56	} else {
57		
58		$('#authors').slick({
59				slidesPerRow: 3,
60				slidesToShow: 3,
61				slidesToScroll: 1,
62				autoplay: true,
63				autoplaySpeed: 4000,
64				dots: false,
65				infinite: true,
66				speed: 300,
67				nextArrow: '#authorNext',
68				prevArrow: '#authorPrev',
69				centerMode: false,
70				swipeToSlide: true
71		});
72		
73	}
74
75
76
77    $('#lastminuteSlider').slick({
78		autoplay: true,
79		autoplaySpeed: 4000,
80        dots: false,
81        infinite: false,
82        speed: 300,
83        nextArrow: '#lastminuteNext',
84		prevArrow: '#lastminutePrev',
85		centerMode: false,
86		swipeToSlide: true
87    });
88
89    $("#homenewslider").slick({
90        dots: true,
91        arrows: false,
92        infinite: false,
93        swipeToSlide: true,
94        speed: 560,
95        autoplay: false,
96    });
97
98    $("#homenewslider2").slick({
99        dots: true,
100        arrows: false,
101        infinite: false,
102        swipeToSlide: true,
103        speed: 560,
104        autoplay: false,
105    });
106
107    var headline = document.querySelector('#headlineCarousel');
108    var carousel = new bootstrap.Carousel(headline, {
109        interval: 0,
110        touch: true,
111        pause: 'hover',
112        ride: false
113    });
114
115    var headline2 = document.querySelector('#headlineCarousel2');
116    var carousel2= new bootstrap.Carousel(headline2, {
117        interval: 0,
118        touch: true,
119        pause: 'hover',
120        ride: false
121    });
122
123    var featured = document.querySelector('#featuredCarousel');
124    var carousel = new bootstrap.Carousel(featured, {
125        interval: 0,
126        touch: true,
127        pause: 'hover',
128        ride: false
129    });
130
131    $(".carousel").swipe({
132
133        swipe: function(event, direction, distance, duration, fingerCount, fingerData) {
134            console.log("test");
135          if (direction == 'left') $(this).carousel('next');
136          if (direction == 'right') $(this).carousel('prev');
137
138        },
139        allowPageScroll:"vertical"
140
141    });
142});

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.