PageSourceSearch

https://lidanews.by/bitrix/templates/lida/js/tabs.js

js lidanews.by collected 2026-10-02 04:47:46 UTC 597 bytes, 29 lines download raw bytes

1$.fn.tabs = function() {
2	var selector = this;
3	
4	this.each(function() {
5		var obj = $(this); 
6		
7		$(obj.attr('href')).hide();
8		
9		$(obj).click(function() {
10			$(selector).removeClass('selected');
11			
12			$(selector).each(function(i, element) {
13				$($(element).attr('href')).hide();
14			});
15			
16			$(this).addClass('selected');
17			
18			$($(this).attr('href')).fadeIn();
19			
20			return false;
21		});
22	});
23
24	$(this).show();
25	
26	$(this).first().click();
27	if(location.hash!='' && $('a[href="' + location.hash + '"]').length)
28		$('a[href="' + location.hash + '"]').click();	
29};

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.