PageSourceSearch

https://www.kamezawa-ganka.com/wp-content/themes/originalstyle-1column/js/loop.js?ver=5.5.20

js kamezawa-ganka.com collected 2026-10-05 08:06:55 UTC 1,080 bytes, 37 lines download raw bytes

1$(function(){
2    var setElm = $('.loopSlider'),
3    slideSpeed = 5000;
4 
5    setElm.each(function(){
6        var self = $(this),
7        selfWidth = self.innerWidth(),
8        findUl = self.find('ul'),
9        findLi = findUl.find('li'),
10        listWidth = findLi.outerWidth(),
11        listCount = findLi.length,
12        loopWidth = listWidth * listCount;
13 
14        findUl.wrapAll('<div class="loopSliderWrap" />');
15        var selfWrap = self.find('.loopSliderWrap');
16 
17        if(loopWidth > selfWidth){
18            findUl.css({width:loopWidth}).clone().appendTo(selfWrap);
19 
20            selfWrap.css({width:loopWidth*2});
21 
22            function loopMove(){
23                selfWrap.animate({left:'-' + (loopWidth) + 'px'},slideSpeed*listCount,'linear',function(){
24                    selfWrap.css({left:'0'});
25                    loopMove();
26                });
27            };
28            loopMove();
29 
30            setElm.hover(function() {
31                selfWrap.pause();
32            }, function() {
33                selfWrap.resume();
34            });
35        }
36    });
37});

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.