PageSourceSearch

https://cvetovoy-krug.ru/themes/kitchen/catalog/view/javascript/jquery/tabs.js

js cvetovoy-krug.ru collected 2026-10-07 22:11:06 UTC 1,280 bytes, 45 lines download raw bytes

1var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
2if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
3{
4  let window = _____WB$wombat$assign$function_____("window");
5  let self = _____WB$wombat$assign$function_____("self");
6  let document = _____WB$wombat$assign$function_____("document");
7  let location = _____WB$wombat$assign$function_____("location");
8  let top = _____WB$wombat$assign$function_____("top");
9  let parent = _____WB$wombat$assign$function_____("parent");
10  let frames = _____WB$wombat$assign$function_____("frames");
11  let opener = _____WB$wombat$assign$function_____("opener");
12
13$.fn.tabs = function() {
14	var selector = this;
15	
16	this.each(function() {
17		var obj = $(this); 
18		
19		$(obj.attr('href')).hide();
20		
21		obj.click(function() {
22			$(selector).removeClass('selected');
23			
24			$(this).addClass('selected');
25			
26			$($(this).attr('href')).fadeIn();
27			
28			$(selector).not(this).each(function(i, element) {
29				$($(element).attr('href')).hide();
30			});
31			
32			return false;
33		});
34	});
35
36	$(this).show();
37	
38	$(this).first().click();
39};
40
41}
42/*
43     */
44/*
45*/

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.