PageSourceSearch

https://xn--b1acd3aibadcc7a8h.xn--p1ai/bitrix/templates/shop_addamant/js/button_back.js?16832595961639

js xn--b1acd3aibadcc7a8h.xn--p1ai collected 2026-10-07 11:11:20 UTC 1,639 bytes, 41 lines download raw bytes

1jQuery.extend(jQuery.fn, {
2	toplinkwidth: function(){
3		var totalContentWidth = jQuery('#content').outerWidth(); // ������ ����� � ���������, ������� padding
4		var totalTopLinkWidth = jQuery(this).children('a').outerWidth(true); // ������ ����� ������ ������, ������� padding � margin
5		var h = jQuery(window).width()/2-totalContentWidth/2-totalTopLinkWidth;
6		if(h<0){
7			// ���� ������ �� ���������, �������� �
8			jQuery(this).hide();
9		} else {
10			if(jQuery(window).scrollTop() >= 1){
11				jQuery(this).show();
12			}
13			jQuery(this).css({'padding-right': h+'px'});
14		}
15	}
16});
17 
18jQuery(function($){
19	var topLink = $('#top-link');
20	topLink.css({'margin-top': $(window).height()});
21	// ���� ��� �� �����, ����� ������ �������������� ��� ������ ������ - ������� ��������� ������ ������� � ����
22
23	$(window).scroll(function() {
24		if($(window).scrollTop() >= 1) {
25			topLink.fadeIn(300);
26		} else {
27			topLink.fadeOut(300);
28		}
29	});
30	topLink.click(function(e) {
31		$("body,html").animate({scrollTop: 0}, 1500);
32		return false;
33	});
34});
35/*
36jQuery(document).ready(function () {
37    $(".genome-menu").click(function () {
38        $("#genome-left-menu .row").slideToggle();
39        $(".genome-menu .header_name p").toggleClass("menu_close");
40    });
41});*/

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.