PageSourceSearch

https://www.tahrirdocuments.org/Tahrir/simpletabs.js

js tahrirdocuments.org collected 2026-10-02 11:09:47 UTC 1,439 bytes, 29 lines download raw bytes

1jQuery(document).ready(
2function($)
3{
4	//wayback.archive.org/web/20170102011350/http://When/ page loads...
5	$(".tab_content").hide(); //wayback.archive.org/web/20170102011350/http://Hide/ all content
6	$("ul.tabs li:first").addClass("active").show(); //wayback.archive.org/web/20170102011350/http://Activate/ first tab
7	$(".tab_content:first").show(); //wayback.archive.org/web/20170102011350/http://Show/ first tab content
8
9	//wayback.archive.org/web/20170102011350/http://On/ Click Event
10	$("ul.tabs li").click(function() {
11
12		$("ul.tabs li").removeClass("active"); //wayback.archive.org/web/20170102011350/http://Remove/ any "active" class
13		$(this).addClass("active"); //wayback.archive.org/web/20170102011350/http://Add/ "active" class to selected tab
14		$(".tab_content").hide(); //wayback.archive.org/web/20170102011350/http://Hide/ all tab content
15
16		var activeTab = $(this).find("a").attr("href"); //wayback.archive.org/web/20170102011350/http://Find/ the href attribute value to identify the active tab + content
17		$(activeTab).fadeIn(); //wayback.archive.org/web/20170102011350/http://Fade/ in the active ID content
18		return false;
19	});
20
21});
22/*
23     FILE ARCHIVED ON 01:13:50 Jan 02, 2017 AND RETRIEVED FROM THE
24     INTERNET ARCHIVE ON 13:54:00 Sep 06, 2017.
25     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
26
27     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
28     SECTION 108(a)(3)).
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.