head 1.2; access; symbols rel_00_01_alpha:1.1.1.1 start:1.1.1.1 avendor:1.1.1; locks; strict; comment @# @; 1.2 date 2004.12.18.14.38.52; author sfielding; state dead; branches; next 1.1; 1.1 date 2004.10.11.04.00.46; author sfielding; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.10.11.04.00.46; author sfielding; state Exp; branches; next ; desc @@ 1.2 log @Removed html documentation @ text @ // styles definition document.writeln (''); // paths var TreePath = "./" + RootProject + "images/tree/"; var TabsPath = "./" + RootProject + "images/tab/"; if (DownTabs == 1) TabsPath = "./" + RootProject + "images/itab/"; var ExtPath = "./" + RootProject + "images/ext/"; // preloading images LeftNot = new Image (); RightNot = new Image (); LeftSel = new Image (); RightSel = new Image (); SelNot = new Image (); NotSel = new Image (); NotNot = new Image (); TabNot = new Image (); TabSel = new Image (); Project = new Image (); VHD = new Image (); V = new Image (); EDN = new Image (); BDE = new Image (); AWF = new Image (); ASF = new Image (); LST = new Image (); TXT = new Image (); PL = new Image (); TCL = new Image (); DO = new Image (); CPP = new Image (); UNDEF = new Image (); Empty = new Image (); LeftNot.src = TabsPath + "left_n.bmp"; RightNot.src = TabsPath + "right_n.bmp"; LeftSel.src = TabsPath + "left_s.bmp"; RightSel.src = TabsPath + "right_s.bmp"; SelNot.src = TabsPath + "s_n.bmp"; NotSel.src = TabsPath + "n_s.bmp"; NotNot.src = TabsPath + "n_n.bmp"; TabNot.src = TabsPath + "tab_n.bmp"; TabSel.src = TabsPath + "tab_s.bmp"; Project.src = TreePath + "project.bmp"; VHD.src = ExtPath + "vhd.gif"; V.src = ExtPath + "v.gif"; EDN.src = ExtPath + "edn.gif"; BDE.src = ExtPath + "bde.gif"; AWF.src = ExtPath + "awf.gif"; ASF.src = ExtPath + "asf.gif"; LST.src = ExtPath + "lst.gif"; TXT.src = ExtPath + "txt.gif"; PL.src = ExtPath + "pl.gif"; TCL.src = ExtPath + "tcl.gif"; DO.src = ExtPath + "do.gif"; CPP.src = ExtPath + "cpp.gif"; UNDEF.src = ExtPath + "undef.gif"; Empty.src = TabsPath + "empty.gif"; // working with tab var ID = 0; function SetTab (Type, Name, URL) { var str; str = ''; str += ''; ChangeButtons str += '  '; str += ' ' + Name + ' '; str += ''; str += ''; this.document.writeln (str); ++ID; } // working with limiters function SetLeft () { this.document.writeln (''); } function SetRight () { this.document.writeln (''); } function SetBTab () { this.document.writeln (''); } var CurTab = 1; function ChangeButtons (ID) { var off = 1 - DownTabs; if (CurTab == ID) return; if (CurTab == 0) { this.document.images(off+0).src = LeftNot.src; this.document.images(off+2).src = NotNot.src; } if (CurTab == (ColTabs - 1)) { this.document.images(off+ColTabs*2 - 2).src = NotNot.src; this.document.images(off+ColTabs*2).src = RightNot.src; } if (CurTab > 0 && CurTab < (ColTabs - 1)) { this.document.images(off+CurTab*2).src = NotNot.src; this.document.images(off+CurTab*2 + 2).src = NotNot.src; } if(ColTabs!=1) this.document.all ('tab', CurTab).background = TabNot.src; CurTab = ID; if (CurTab == 0) { this.document.images(off+0).src = LeftSel.src; this.document.images(off+2).src = SelNot.src; } if (CurTab == (ColTabs - 1)) { this.document.images(off+ColTabs*2 - 2).src = NotSel.src; this.document.images(off+ColTabs*2).src = RightSel.src; } if (CurTab > 0 && CurTab < (ColTabs - 1)) { this.document.images(off+CurTab*2).src = NotSel.src; this.document.images(off+CurTab*2 + 2).src = SelNot.src; } this.document.all ('tab', CurTab).background = TabSel.src; } // working with tabs function BeginTabs () { if (!DownTabs) this.document.writeln ('
'); this.document.writeln (''); } function EndTabs () { document.writeln ('
'); ChangeButtons (0); } @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Created @ text @@