PageSourceSearch

https://el-up.com/catalog/view/javascript/jquery/tabs.js

js el-up.com collected 2026-10-05 06:36:12 UTC 736 bytes, 39 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			$(this).addClass('selected');
13			
14			$($(this).attr('href')).fadeIn();
15			
16			$(selector).not(this).each(function(i, element) {
17				$($(element).attr('href')).hide();
18			});
19			
20			return false;
21		});
22	});
23
24	$(this).show();
25	
26	$(this).first().click();
27};
28
29$(document).ready(function(){
30	$("a[data-gal^='prettyPhoto']").prettyPhoto({
31        animation_speed: 'fast',
32        autoplay_slideshow: true,
33        slideshow: 4000,
34        opacity: 0.5,
35        show_title: false,
36        theme: 'facebook',
37        modal: false
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.