/[webpac]/trunk2/output_template/hijerarhija.tt
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk2/output_template/hijerarhija.tt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 530 - (hide annotations)
Tue Oct 19 17:43:52 2004 UTC (17 years ago) by dpavlin
File size: 5113 byte(s)
major restructuring of tree output: new function WebPAC::Tree::output which
produce output (so you can apply same output to more than one template)

1 dpavlin 484 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2     <html>
3     <head>
4     <title>HIDRA - Pojmovnik Eurovoc</title>
5     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"/>
6     <script type="text/javascript" src="js/hide.js"></script>
7     <script type="text/javascript" src="tree-ids.js"></script>
8     <script type="text/javascript" src="js/getargs.js"></script>
9     <script type="text/javascript" src="js/popup.js"></script>
10 dpavlin 497 <script type="text/javascript" src="js/findpos.js"></script>
11 dpavlin 484 <script type="text/javascript">
12    
13 dpavlin 497
14 dpavlin 484 function outline_url() {
15     var args = getArgs();
16 dpavlin 497 var o = args['o'];
17 dpavlin 484
18 dpavlin 497 if (o) {
19     outline_display('o'+o);
20 dpavlin 499
21     // following reloads page in Opera == not good
22     //self.location = "#mfn"+o
23     var e = element_id('o'+o);
24     if (e) {
25 dpavlin 497 var y = findPosY(e);
26 dpavlin 499
27 dpavlin 497 // position 30px above found term
28     if (y > 30) y -= 30;
29     if (e) window.scrollTo(findPosX(e),y);
30     }
31 dpavlin 484 }
32     return true;
33     }
34    
35     </script>
36     <link rel="stylesheet" href="eurovoc.css" type="text/css">
37     </head>
38    
39 dpavlin 497 <body onLoad="return outline_url();">
40 dpavlin 484 <table width="100%" border="0" cellspacing="0" cellpadding="0">
41     <tr>
42     <td colspan="3" class="hdr" height="10">
43     </td>
44     </tr>
45     <tr>
46     <td class="logoHidra">
47     <img src="img/euzajed.png" border="0" alt="Europske zajednice">
48     </td>
49     <td class="logoHidra">
50     <img src="img/hidra.png" border="0" alt="HIDRA logo">
51     </td>
52     <td class="logoEUV">
53     <a href="index.html"><img src="img/eurovoc2.png" border="0" alt="Eurovoc"></a>
54     </td>
55     </tr>
56     <tr>
57     <td class="hdr2" height="10" colspan="3">
58     </td>
59    
60     </tr>
61     </table>
62    
63    
64     <table border="0" cellspacing="0" cellpadding="0" width="100%">
65     <tr>
66     <td class="hMenuL hMenu">
67     <table width="160" cellspacing="0" cellpadding="0">
68     <tr><td>
69     <table border="0" cellspacing="0" cellpadding="0">
70     <tr>
71     <td class="topLpl"></td>
72     <td rowspan="2" class="hMenuTxt"><a class="lhM" href="eurovoc.html">Pojmovnik Eurovoc</a></td>
73     <td nowrap class="topRpl"></td>
74     </tr>
75     <tr>
76     <td class="hMenuSide"></td>
77     <td class="hMenuSide"></td>
78     </tr>
79     <tr>
80     <td colspan="3" height="10"></td>
81     </tr>
82     </table>
83     </td></tr>
84     </table>
85     </td>
86    
87     <td colspan="2" class="hMenu">
88     <table border="0" cellspacing="0" cellpadding="0" align="right" width="520">
89     <tr>
90     <td width="10">&nbsp;</td>
91     <td>
92     <table border="0" cellspacing="0" cellpadding="0">
93     <tr>
94     <td class="topLpl"></td>
95     <td rowspan="2" class="hMenuTxt"><a class="lhM" href="pretrazivanje.html">Pretra¾ivanje</a></td>
96     <td class="topRpl"></td>
97     </tr>
98     <tr>
99     <td class="hMenuSide"></td>
100     <td class="hMenuSide"></td>
101     </tr>
102     <tr>
103     <td colspan="3" height="10"></td>
104     </tr>
105     </table>
106     </td>
107     <td width="10">&nbsp;</td>
108     <td>
109     <table border="0" cellspacing="0" cellpadding="0">
110     <tr>
111     <td class="topLpl"></td>
112     <td rowspan="2" class="ActMenu">Hijerarhijski prikaz</td>
113     <td class="topRpl"></td>
114     </tr>
115     <tr>
116     <td class="hMenuSide"></td>
117     <td class="hMenuSide"></td>
118     </tr>
119     <tr>
120     <td class="bottomLpl"></td>
121     <td class="bkgPl"></td>
122     <td class="bottomRpl"></td>
123     </tr>
124     </table>
125     </td>
126     <td width="10">&nbsp;</td>
127     <td>
128     <table border="0" cellspacing="0" cellpadding="0">
129     <tr>
130     <td class="topLpl"></td>
131     <td rowspan="2" class="hMenuTxt"><a class="lhM" href="abecedno.html">Abecedna kazala</a></td>
132     <td class="topRpl"></td>
133     </tr>
134     <tr>
135     <td class="hMenuSide"></td>
136     <td class="hMenuSide"></td>
137     </tr>
138     <tr>
139     <td colspan="3" height="10"></td>
140     </tr>
141     </table>
142     </td>
143     <td width="10">&nbsp;</td>
144     </tr>
145     </table>
146    
147     </td>
148     </tr>
149    
150     <tr>
151     <td width="200" class="menu">
152     <table border="0" cellspacing="0" cellpadding="0" width="160">
153     <tr>
154     <td colspan="3">&nbsp;</td>
155     </tr>
156     <tr>
157     <td class="topLsv"></td>
158     <td class="middle bkgSv"></td>
159     <td class="topRsv"></td>
160     </tr>
161     <tr>
162     <td colspan="3" class="menuItem2">Upute za pregledavanje</td>
163     </tr>
164     <tr>
165     <td colspan="3" class="menuItem">
166     Prvi klik na pojam prikazuje, a drugi klik sakriva pojmove ni¾e
167     razine.
168     </td>
169     </tr>
170     <tr>
171     <td colspan="3" class="menuItem">
172     Klik na znak &raquo; otvara novi prozor u kojem
173     se pojavljuje detaljan prikaz tra¾enog pojma.
174     </td>
175     </tr>
176     <tr>
177     <td class="bottomLsv"></td>
178     <td class="middle bkgSv"></td>
179     <td class="bottomRsv"></td>
180     </tr>
181     </table>
182    
183    
184     <div style="float: center; width: 10em; text-align: center; margin: 1em; background: #e0e0e0; border: 1px dashed #c0c0c0; z-index: 1;">
185     Folding:
186     <br/>
187     <a href="#" onClick="back_display();">&laquo;</a>&nbsp;<a href="#" onClick="default_display();">default</a>&nbsp;<a href="#" onClick="forward_display();">&raquo;</a>
188     </div>
189    
190    
191     </td>
192    
193    
194     <td class="bd">
195    
196     <h3>Hijerarhijski prikaz pojmovnika</h3>
197    
198 dpavlin 502
199 dpavlin 484 <ul>
200 dpavlin 530 [% tree %]
201 dpavlin 484 </ul>
202    
203    
204 dpavlin 502 </td>
205 dpavlin 484 </tr>
206 dpavlin 502 </table>
207 dpavlin 484 </body>
208     </html>

  ViewVC Help
Powered by ViewVC 1.1.26