PageSourceSearch

https://aiimsnagpur.edu.in/assets/js/jquery.bgscroll.js

js aiimsnagpur.edu.in collected 2026-10-02 17:42:48 UTC 1,218 bytes, 27 lines download raw bytes

1(function() {
2	$.fn.bgscroll = $.fn.bgScroll = function( options ) {
3		
4		if( !this.length ) return this;
5		if( !options ) options = {};
6		if( !window.scrollElements ) window.scrollElements = {};
7		
8		for( var i = 0; i < this.length; i++ ) {
9			
10			var allowedChars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
11			var randomId = '';
12			for( var l = 0; l < 5; l++ ) randomId += allowedChars.charAt( Math.floor( Math.random() * allowedChars.length ) );
13			
14				this[ i ].current = 0;
15				this[ i ].scrollSpeed = options.scrollSpeed ? options.scrollSpeed : 70;
16				this[ i ].direction = options.direction ? options.direction : 'h';
17				window.scrollElements[ randomId ] = this[ i ];
18				
19				eval( 'window[randomId]=function(){var axis=0;var e=window.scrollElements.' + randomId + ';e.current -= 1;if (e.direction == "h") axis = e.current + "px 0";else if (e.direction == "v") axis = "0 " + e.current + "px";else if (e.direction == "d") axis = e.current + "px " + e.current + "px";$( e ).css("background-position", axis);}' );
20														 
21				setInterval( 'window.' + randomId + '()', options.scrollSpeed ? options.scrollSpeed : 70 );
22			}
23			
24			return this;
25		}
26})(jQuery);
27

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.