PageSourceSearch

https://nashdom.us/extras/tabs/tabs.js

js nashdom.us collected 2026-09-24 22:25:08 UTC 1,167 bytes, 41 lines download raw bytes

1function hoverOn(){
2        this.className = 'tab tabHover';
3}
4
5function hoverOff(){
6        this.className = 'tab';
7}
8
9function toggleTab(i){
10        if (document.getElementById){
11                for (f=1;f<numberOfTabs+1;f++){
12                        document.getElementById('tabcontent'+f).style.display='none';
13                        document.getElementById('tab'+f).className = 'tab';
14	 		document.getElementById('tab'+f).onmouseover = hoverOn;
15	 		document.getElementById('tab'+f).onmouseout = hoverOff;
16                }
17                document.getElementById('tabcontent'+i).style.display='block';
18                document.getElementById('tab'+i).className = 'tab tabActive';
19	 	document.getElementById('tab'+i).onmouseover = '';
20	 	document.getElementById('tab'+i).onmouseout = '';
21//		fixFckEditor();
22        }
23}
24
25function initTabs () {
26        toggleTab(1);
27}
28
29function fixFckEditor() {
30	if ( !document.all && FCKeditorAPI) {
31		for ( var o in FCKeditorAPI.__Instances ) {
32			var oEditor = FCKeditorAPI.__Instances[ o ] ;
33			if ( oEditor.EditMode == FCK_EDITMODE_WYSIWYG ) {
34				oEditor.SwitchEditMode() ;
35				//oEditor.SwitchEditMode() ;
36			}
37		}
38	}
39}
40
41

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.