PageSourceSearch

https://savisgame.com/wp-content/themes/jannah/assets/js/side-e3lan.js?ver=318467fcbcb6

js savisgame.com collected 2026-10-04 10:48:00 UTC 1,948 bytes, 60 lines download raw bytes

1var containerID     = tie_side_e3lan.is_boxed ? 'tie-wrapper' : 'side-stream-container',
2    containerElem   = document.getElementById(containerID),
3		objAdDivRight   = document.getElementById('side-stream-right'),
4    objAdDivLeft    = document.getElementById('side-stream-left'),
5		body            = document.querySelector('body'),
6    html            = document.querySelector('html'),
7    mainContentW    = containerElem.offsetWidth,
8    sideMargin      = parseInt( tie_side_e3lan.side_margin),
9    marginTop       = parseInt( tie_side_e3lan.margin_top),
10    marginTopScroll = parseInt(tie_side_e3lan.margin_top_scroll),
11		LeftBannerW     = parseInt( tie_side_e3lan.left_ad_width);
12
13
14function FloatTopDiv() {
15	startLX = ((document.body.clientWidth - mainContentW )/2) - (LeftBannerW+sideMargin),  startLY = marginTop; 
16	startRX = ((document.body.clientWidth - mainContentW )/2) + (mainContentW+sideMargin), startRY = marginTop; 
17
18	var d = document;
19  var scrollTopDevvn = window.pageYOffset || d.documentElement.scrollTop || d.body.scrollTop || 0;
20
21	function set_position( divID, xP, yP ){
22		divID.style.left = xP + 'px';
23		divID.style.top = yP + 'px';
24	}
25
26	if (scrollTopDevvn >= Math.abs(marginTop-marginTopScroll)){
27		startLY = marginTopScroll;
28		startRY = marginTopScroll;
29		objAdDivLeft.style.position = 'fixed';
30		objAdDivRight.style.position = 'fixed';
31	}
32	else {
33		startLY = marginTop;
34		startRY = marginTop;
35		objAdDivLeft.style.position = 'absolute';
36		objAdDivRight.style.position = 'absolute';
37	};
38
39	set_position( objAdDivLeft,  startLX, startLY );
40	set_position( objAdDivRight, startRX, startRY );
41} 
42
43
44function ShowAdDiv(){ 
45	objAdDivRight.style.display = objAdDivLeft.style.display = 'block'; 
46	body.style.overflowX = html.style.overflowX = 'hidden';	
47	FloatTopDiv(); 
48}
49ShowAdDiv();
50
51
52window.addEventListener('resize', function () {
53    FloatTopDiv();
54});
55window.addEventListener('scroll', function () {
56    FloatTopDiv();
57});
58
59
60

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.