PageSourceSearch

http://virtualcreations.net/js/main.js

js virtualcreations.net collected 2026-10-02 02:02:36 UTC 1,579 bytes, 57 lines download raw bytes

1// Hello.
2//
3// This is The Scripts used for ___________ Theme
4//
5//
6
7function main() {
8
9(function () {
10   'use strict';
11
12
13    /*====================================
14    Script for the Counters for Facts Section
15    ======================================*/
16    $('.count').each(function() {
17        var $this = $(this);
18        $this.data('target', parseInt($this.html()));
19        $this.data('counted', false);
20        $this.html('0');
21    });
22    $(window).bind('scroll', function() {
23        var speed = 3000;
24        $('.count').each(function() {
25            var $this = $(this);
26            if (!$this.data('counted') && $(window).scrollTop() +
27                $(window).height() >= $this.offset().top) {
28                $this.data('counted', true);
29                $this.animate({
30                    dummy: 1
31                }, {
32                    duration: speed,
33                    step: function(now) {
34                        var $this = $(this);
35                        var val = Math.round(
36                            $this.data(
37                                'target') *
38                            now);
39                        $this.html(val);
40                        if (0 < $this.parent(
41                            '.value').length) {
42                            $this.parent(
43                                '.value').css(
44                                'width',
45                                val + '%');
46                        }
47                    }
48                });
49            }
50        });
51    }).triggerHandler('scroll');
52
53}());
54
55
56}
57main();

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.