PageSourceSearch

https://floatingpetals.com/wp-content/themes/floating/js/home-slideshow.js

js floatingpetals.com collected 2026-10-04 21:31:57 UTC 1,115 bytes, 42 lines download raw bytes

1(function($) {
2 
3    var InfiniteRotator =
4    {
5        init: function()
6        {
7            //initial fade-in time (in milliseconds)
8            var initialFadeIn = 1000;
9 
10            //interval between items (in milliseconds)
11            var itemInterval = 5000;
12 
13            //cross-fade time (in milliseconds)
14            var fadeTime = 2500;
15 
16            //count number of items
17            var numberOfItems = $('.rotating-item').length;
18 
19            //set current item
20            var currentItem = 0;
21 
22            //show first item
23            $('.rotating-item').eq(currentItem).fadeIn(initialFadeIn);
24 
25            //loop through the items
26            var infiniteLoop = setInterval(function(){
27                $('.rotating-item').eq(currentItem).fadeOut(fadeTime);
28 
29                if(currentItem == numberOfItems -1){
30                    currentItem = 0;
31                }else{
32                    currentItem++;
33                }
34                $('.rotating-item').eq(currentItem).fadeIn(fadeTime);
35 
36            }, itemInterval);
37        }
38    };
39 
40    InfiniteRotator.init();
41 
42 })(jQuery);

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.