PageSourceSearch

https://www.ost-med.ru/pFadeInOut.js

js ost-med.ru collected 2026-10-08 07:25:51 UTC 916 bytes, 42 lines download raw bytes

1function imageFadeInOutEffect(container, eq){
2	eq = eq ? eq : 0;
3	
4	var container = $('#' + container);
5	var containerPictures = container.find('table');
6	var containerPicturesSize = containerPictures.size();
7	
8	if(containerPicturesSize < 2) return false
9
10	containerPictures.not(':eq(0)').hide();
11
12	function imageFadeInit(eq){
13		var self = containerPictures.eq(eq);
14		var target;
15		
16		var currentIsVisible = self.is(':visible');		
17			currentIsVisible == true ? self.fadeOut(1000) : self.fadeIn(1000);
18		
19		if(eq + 1 > containerPicturesSize - 1){
20			eq = -1;
21			target = containerPictures.eq(0);
22		}else{
23			target = containerPictures.eq(eq + 1);
24		}
25		
26		var nextIsVisible =	target.is(':visible');		
27		
28		nextIsVisible == true ? target.fadeOut(1000) : target.fadeIn(1000);
29		
30		setTimeout(function(){	
31			eq++;			
32			imageFadeInit(eq)
33		}, 5000);	
34	}
35	
36		
37	setTimeout(function(){
38		imageFadeInit(eq)
39	}, 5000);
40	
41	
42}

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.