PageSourceSearch

https://icghit.org/wp-content/themes/accelerate/js/accelerate-custom.js?ver=7.1.2

js icghit.org collected 2026-09-25 12:08:52 UTC 1,565 bytes, 61 lines download raw bytes

1jQuery( document ).ready( function () {
2	jQuery( '#scroll-up' ).hide();
3	jQuery( function () {
4		jQuery( window ).scroll( function () {
5			if ( jQuery( this ).scrollTop() > 1000 ) {
6				jQuery( '#scroll-up' ).fadeIn();
7			} else {
8				jQuery( '#scroll-up' ).fadeOut();
9			}
10		} );
11		jQuery( 'a#scroll-up' ).click( function () {
12			jQuery( 'body,html' ).animate( {
13				scrollTop : 0
14			}, 800 );
15			return false;
16		} );
17	} );
18} );
19
20/**
21 * Slider Setting
22 *
23 * Contains all the slider settings for the featured post/page slider.
24 */
25
26var slides = jQuery( '.slider-rotate' ).children().length;
27if ( slides <= 1 ) {
28	jQuery( '.slide-next, .slide-prev' ).css( 'display', 'none' );
29}
30
31jQuery( window ).on( 'load', function () {
32
33	if ( typeof jQuery.fn.cycle !== 'undefined' ) {
34		jQuery( '.slider-rotate' ).cycle( {
35			fx                : 'fade',
36			slides            : '> div',
37			pager             : '> #controllers',
38			prev              : '.slide-prev',
39			next              : '.slide-next',
40			pagerActiveClass  : 'active',
41			pagerTemplate     : '<a></a>',
42			timeout           : 4000,
43			speed             : 1000,
44			pause             : 1,
45			pauseOnPagerHover : 1,
46			width             : '100%',
47			containerResize   : 0,
48			autoHeight        : 'container',
49			fit               : 1,
50			after             : function () {
51				jQuery( this ).parent().css( 'height', jQuery( this ).height() );
52			},
53			cleartypeNoBg     : true,
54			log               : false,
55			swipe             : true
56
57		} );
58	}
59
60} );
61

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.