PageSourceSearch

https://online24news.ru/templates/Presso/js/carousel.js

js online24news.ru collected 2026-10-02 17:17:37 UTC 881 bytes, 23 lines download raw bytes

1$(".carousel-button-right").live('click',function(){ 
2   right_carusel();
3});
4   
5$(".carousel-button-left").live('click',function(){ 
6   left_carusel();
7});
8function left_carusel(){
9   var block_width = $('.carousel-block').width();
10   $(".carousel-items .carousel-block").eq(-1).clone().prependTo(".carousel-items"); 
11   $(".carousel-items").css({"left":"-"+block_width+"px"}); 
12   $(".carousel-items").animate({left: "0px"}, 200); 
13   $(".carousel-items .carousel-block").eq(-1).remove(); 
14}
15function right_carusel(){
16   var block_width = $('.carousel-block').width();
17   $(".carousel-items").animate({left: "-"+ block_width +"px"}, 200); 
18   setTimeout(function () { 
19      $(".carousel-items .carousel-block").eq(0).clone().appendTo(".carousel-items"); 
20      $(".carousel-items .carousel-block").eq(0).remove(); 
21      $(".carousel-items").css({"left":"0px"}); 
22   }, 300);
23}

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.