PageSourceSearch

https://softlist.biz/bitrix/templates/aspro_max_copy/components/bitrix/news.detail/news/script.js

js softlist.biz collected 2026-10-02 04:15:30 UTC 1,828 bytes, 80 lines download raw bytes

1$(document).ready(function(){
2	$(document).on('click', ".scroll_btn", function(){
3		scroll_block($('.ordered-block.goods_catalog'));
4	});
5    
6	if($('.content-image').length && arMaxOptions['THEME']['STICKY_SIDEBAR'] != 'N')
7	{
8		window['sidebarImage']  = new StickySidebar('.content-image', {
9			containerSelector: '.inner_wrapper_text',//'.detail_content_wrapper',
10			innerWrapperSelector: '.sidebar__inner',
11			topSpacing: 60,
12			bottomSpacing: 20,
13			resizeSensor: true,
14		});
15
16		if($('.detail_content_wrapper .content-image img').length)
17		{
18			$('.detail_content_wrapper .content-image img').load(function(){
19				if(typeof window['sidebarImage'] !== 'undefined')
20				{
21					window['sidebarImage'].updateSticky();
22					$('.content-image').trigger('resize');
23				}
24			})
25		}
26	}
27	
28	
29	
30	var menu_color = $('.banners-content .maxwidth-banner').data('text_color');
31
32
33	if($('.wrapper1.long_banner_contents').length){
34		if( menu_color == 'light')
35		{
36			$('.header_wrap').addClass('light-menu-color');
37		}
38		else
39		{
40			$('.header_wrap').removeClass('light-menu-color');
41		}
42	}
43    if ($(".brands.owl-carousel.brands_slider .bordered  img.lazy").length) {
44		$('.brands.owl-carousel.brands_slider .bordered  img.lazy')[0].onload(function(){
45			$(window).resize();
46		});
47	}
48});
49
50
51BX.addCustomEvent('onWindowResize', function(eventdata){
52	try{
53		if(typeof window['sidebarImage'] !== 'undefined')
54		{
55			if($('.wrapper1.with_left_block').length){
56				if(window.matchMedia('(max-width: 1199px)').matches)
57				{
58					window['sidebarImage'].destroy();
59				}
60				else
61				{
62					window['sidebarImage'].bindEvents();
63				}
64			} else{
65				if(window.matchMedia('(max-width: 991px)').matches)
66				{
67					window['sidebarImage'].destroy();
68				}
69				else
70				{
71					window['sidebarImage'].bindEvents();
72				}
73			}
74			
75		}
76	}
77	catch(e){}
78	
79});
80

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.