PageSourceSearch

https://www.moss-lane.surrey.sch.uk/assets/web/bespoke/1671/js/site.js?v1

js moss-lane.surrey.sch.uk collected 2026-09-25 10:24:51 UTC 1,465 bytes, 40 lines download raw bytes

1$(document).ready(function(){
2    $(".cloud").each( function() {
3        var scaling = Math.random();
4        var direction = "left";
5        $(this).attr("data-timeout", (100*scaling)+50).css({
6            "z-index": Math.floor((12*(scaling)))*-1
7        });
8        var startPos = (direction == "right") ? $(this).css({"right":randomnumber(960,0)+"px", "left":"auto"}) : $(this).css({"left":randomnumber(960,0)+"px", "right":"auto"});
9        startPos;
10        animateClouds($(this), direction);
11    });
12
13    $('a.hamburger').sidr({
14        name: 'sidrnav',
15        side: 'right',
16        source: '.sitenavigation'
17    });
18    
19});
20
21function randomnumber(max,min) {
22    return Math.floor(Math.random() * (max - min + 1)) + min;
23}
24
25function animateClouds(x, y) {
26    var move = y=="right" ? x.css({"right":(parseInt(x.css(y), 10) + 1)+"px"}) : x.css({"left":(parseInt(x.css(y), 10) + 1)+"px"});
27    setTimeout(function(){
28        move;
29        if((y=="right" && parseInt(x.css(y), 10) >= 960) || (y=="left" && parseInt(x.css(y), 10) >= 960)) {
30            var scaling = Math.random();
31            y = "left";
32            var startPos = (y == "right") ? x.css({"right":"-150px", "left":"auto"}) : x.css({"left":"-150px", "right":"auto"});
33            x.attr("data-timeout", (100*scaling)+50).css({
34                "z-index": Math.floor((12*(scaling)))*-1
35            });
36            startPos;
37        }
38        animateClouds(x, y);
39    }, x.attr("data-timeout"));
40}

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.