PageSourceSearch

https://lunada.co.il/wp-content/themes/lunada/js/home-news.js?ver=1

js lunada.co.il collected 2026-10-04 21:18:15 UTC 1,966 bytes, 71 lines download raw bytes

1if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
2    slider = jQuery('.home_news_slider');
3    slideDuration = 7000;
4    slideSpeed = 1000;
5 
6 
7    width = slider.width();
8    slider.children().hide().css({left: width});
9    slider.children(':first').show().css({left: 0});
10 
11    jQuery.fn.slideIn = function () {
12        jQuery(this).show().animate({
13            left: "-=" + width
14        }, slideSpeed / 2);
15    }
16 
17    jQuery.fn.slideOut = function () {
18        jQuery(this).animate({
19            left: "-=" + width
20        }, slideSpeed / 2, function () {
21            jQuery(this).hide().css({left: width});
22        });
23    }
24 
25    function slide() {
26        currentSlide = slider.find('div:visible:first');
27        nextSlide = (!slider.children(":last").is(":visible")) ? currentSlide.next() : slider.children(':first');
28 
29        currentSlide.slideOut();
30        nextSlide.slideIn();
31    }
32 
33    window.setInterval(function () {
34        slide();
35    }, slideDuration);
36}
37else {
38    slider = jQuery('.home_news_slider');
39    slideDuration = 7000;
40    slideSpeed = 1000;
41 
42    height = slider.height();
43    slider.children().hide().css({top: height});
44    slider.children(':first').show().css({top: 0});
45 
46    jQuery.fn.slideIn = function () {
47        jQuery(this).show().animate({
48            top: "-=" + height
49        }, slideSpeed / 2);
50    }
51 
52    jQuery.fn.slideOut = function () {
53        jQuery(this).animate({
54            top: "-=" + height
55        }, slideSpeed / 2, function () {
56            jQuery(this).hide().css({top: height});
57        });
58    }
59 
60    function slide() {
61        currentSlide = slider.find('div:visible:first');
62        nextSlide = (!slider.children(":last").is(":visible")) ? currentSlide.next() : slider.children(':first');
63 
64        currentSlide.slideOut();
65        nextSlide.slideIn();
66    }
67 
68    window.setInterval(function () {
69        slide();
70    }, slideDuration);
71}

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.