PageSourceSearch

http://fc-psg.ru/video/js/tabs.js

js fc-psg.ru collected 2026-10-08 08:23:09 UTC 867 bytes, 39 lines download raw bytes

1// Tabs
2$('[data-tab]').click(function(){
3  
4	if ($(this).hasClass('active')) return false;
5	
6	$('[data-tab]').removeClass('active');
7	$(this).addClass('active');
8	
9	setCookie('tab', $(this).attr('data-tab'));
10	
11	if ($(this).attr('data-tab') === '0')
12	{
13		$('[data-section]').slideDown(300);
14		return false;
15	}
16	
17	$('[data-section]').slideUp(300);
18	$('[data-section='+$(this).attr('data-tab')+']').slideDown(300);
19	
20	return false;
21});
22// Turn tab by cookie
23if (getCookie('tab') === undefined) setCookie('tab', '0');
24
25if ($('[data-tab='+getCookie('tab')+']').hasClass('active') == false)
26{
27	$('[data-tab]').removeClass('active');
28	$('[data-tab='+getCookie('tab')+']').addClass('active');
29	
30	if (getCookie('tab') === '0')
31	{
32		$('[data-section]').slideDown(0);
33	}
34	else
35	{
36		$('[data-section]').slideUp(0);
37		$('[data-section='+getCookie('tab')+']').slideDown(0);
38	}
39}

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.