PageSourceSearch

https://korporat-v-spb.ru/bitrix/templates/gvozdevsoft_event_s1/lib/tabs/tabs.js?1778084110792

js korporat-v-spb.ru collected 2026-09-30 09:56:10 UTC 792 bytes, 28 lines download raw bytes

1$(document).ready(function() {				
2	jQuery.fn.lightTabs = function(options){
3		
4		var createTabs = function(){
5			tabs = this;
6			i = 0;
7			
8			showPage = function(i){
9				$(tabs).children("div").children("div").hide();
10				$(tabs).children("div").children("div").eq(i).show();
11				$(tabs).children("ul").children("li").removeClass("active");
12				$(tabs).children("ul").children("li").eq(i).addClass("active");
13			}
14			
15			showPage(0);				
16			
17			$(tabs).children("ul").children("li").each(function(index, element){
18				$(element).attr("data-page", i);
19				i++;                        
20			});
21			
22			$(tabs).children("ul").children("li").click(function(){
23				showPage(parseInt($(this).attr("data-page")));
24			});				
25		};		
26		return this.each(createTabs);
27	};	
28});

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.