PageSourceSearch

https://news-town.it/wp-content/themes/newstown/assets/js/custom.js?t=1790915883

js news-town.it collected 2026-10-02 04:38:26 UTC 3,179 bytes, 116 lines download raw bytes

1$(document).ready(function(){
2    
3    //vertical ticker
4    $('.news_ticker_v').easyTicker({
5        direction: 'up',
6        easing: 'swing',
7        speed: 'slow',
8        interval: 4000,
9        height: 'auto',
10        visible: 4,
11        mousePause: true,
12        /*controls: {
13            up: '',
14            down: '',
15            toggle: '',
16            playText: 'Play',
17            stopText: 'Stop'
18        },
19        callbacks: {
20            before: false,
21            after: false
22        }*/
23    });
24
25
26    // marquee
27    $('.marquee-news-ticker').AcmeTicker({
28        type:'marquee',/*horizontal/horizontal/Marquee/type*/
29        direction: 'left',/*up/down/left/right*/
30        speed: 0.05,/*true/false/number*/ /*For vertical/horizontal 600*//*For marquee 0.05*//*For typewriter 50*/
31        controls: {
32            toggle: $('.acme-news-ticker-pause'),/*Can be used for horizontal/horizontal/typewriter*//*not work for marquee*/
33        }
34    });
35
36
37    //banner rotator
38    if ($(".banner_rotator").exists()) {
39        $('.banner_rotator').each(function(){
40            var $this = $(this);
41            $($this).slick({
42                //Default Options
43                fade: false,
44                dots: false,
45                arrows: false,
46                autoplay: true,
47                autoplaySpeed: 5000,
48                centerPadding: 0,
49                pauseOnHover: true,
50                lazyLoad: 'ondemand',
51                infinite: true,
52                rtl: false,
53                edgeFriction: 0.35,
54                easing: 'cubic-bezier(0.645, 0.045, 0.355, 1)',
55                //easing: 'linear',
56                touchThreshold: 150,
57                speed: 600,
58                waitForAnimate: true,
59                slidesToShow: 1,
60                initialSlide: 1,
61                draggable: false,
62                adaptiveHeight: true,
63                variableWidth: false,
64                centerMode: false,
65                slidesToScroll: 1,
66                setPosition: 1,
67                swipe: true,
68                touchMove: true,
69                rows: 0,
70                responsive: [{
71                    breakpoint: 992,
72                    settings: { slidesToShow: 1, slidesToScroll: 1 }
73                    }, {
74                    breakpoint: 600,
75                    settings: { slidesToShow: 1, slidesToScroll: 1 }
76                    }
77                ]
78            });
79        });
80    };
81
82
83    //  CLOCK OPTIONS
84    var intVal, myclock;
85    //clock plugin constructor
86    $('#myclock').thooClock({
87        size:40,
88        showNumerals:false,
89        dialColor:'#fff',
90        dialBackgroundColor:'transparent',
91        secondHandColor:'#fff',
92        minuteHandColor:'#fff',
93        hourHandColor:'#fff',
94        hourCorrection:'+0',
95        onEverySecond:function(){
96            //callback that should be fired every second
97        },
98        //alarmTime:'15:10',
99    });
100
101
102    //banner rotator
103    if ($('select[name="monthlyarch"]').exists()) {
104        $('select[name="monthlyarch"]').on('change', function() {
105            if(this.value!=0)
106                window.location.href = this.value;
107        });
108    };
109
110});
111
112
113
114
115
116

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.