PageSourceSearch

https://www.numarkcu.org/wp-content/themes/idea-framework/addons/animations/js/animate.js

js numarkcu.org collected 2026-09-24 12:17:26 UTC 939 bytes, 41 lines download raw bytes

1jQuery( function($) {
2
3    $(document).find('[data-hidden]').each( function() {
4
5        var element = $(this);
6
7        if ( element.data('hidden') ) {
8            element.css( 'visibility', 'hidden' );
9        }
10    });
11});
12
13jQuery(window).on( 'load', function() {
14
15    jQuery(document).find('[data-animate]').each( function() {
16
17        var element = jQuery(this);
18        var classes = 'animated ' + element.data('animate');
19        var delay   = element.data('delay');
20
21        if ( ! delay ) {
22            delay = 1;
23        }
24
25        if ( element.data('infinite') ) {
26            classes += ' infinite';
27        }
28
29        element.on( 'inview', function( event, inview ) {
30
31            if ( inview ) {
32
33                setTimeout( function() {
34                    element.css( 'visibility', 'visible' ).addClass( classes );
35                }, delay );
36
37                element.off( 'inview' );
38            }
39        });
40    });
41});

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.