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

Contents of /trunk2/eurovoc/abecedno.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 509 - (show annotations)
Sun Oct 10 19:16:07 2004 UTC (16 years, 7 months ago) by dpavlin
File MIME type: text/html
File size: 7552 byte(s)
update designed html templates to use cookie w2_lang

1 <!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 <link rel="stylesheet" href="eurovoc.css" type="text/css">
7
8 <script type="text/javascript" src="js/bfilter.js"></script>
9 <script type="text/javascript" src="js/popup.js"></script>
10 <script type="text/javascript" src="js/load_js.js"></script>
11 <script type="text/javascript" src="js/cookies.js"></script>
12 <script type="text/javascript">
13 // <!--
14 function myfilter() {
15 // self.document.getElementById('textfilter').focus();
16 // self.document.getElementById('textfilter').caretPos=1;
17 // self.document.getElementById('textfilter').select();
18 self.document.myfilter = new BFilter(headlines);
19
20 self.document.myfilter.result = function (arr) {
21 var r = element_id('results');
22 if (r) {
23 var e = self.document.createElement("a");
24 e.setAttribute("href","hijerarhija.html?o="+arr[1]+"#mfn"+arr[1]);
25 e.appendChild(self.document.createTextNode(arr[0]));
26 r.appendChild(e);
27
28 r.appendChild(self.document.createTextNode(" "));
29
30 e = self.document.createElement("a");
31 e.setAttribute("href","thes/"+arr[1]+".html");
32 e.setAttribute("target","popup");
33 e.onclick = function() { return popup(e) };
34 e.appendChild(self.document.createTextNode("\u00bb"));
35 r.appendChild(e);
36
37 r.appendChild(self.document.createElement("br"));
38
39 } else {
40 alert("can't find results div!");
41 }
42 /*
43 return '<li><a href="thes/'+arr[1]+'.html">'+arr[0]+'</a>'+
44 '&nbsp;<a href="browse.html?o='+arr[1]+'">&curren;</a>' +
45 '</li>';
46 */
47 return null;
48 }
49
50 // this function is called when updating innerHTML with results
51 self.document.myfilter.display = function (html) {
52 return null;
53 // return '<ul>'+html+'</ul>';
54 }
55 }
56
57 var lang2thes = {
58 'hr' : 'DescriptorHR.js',
59 'en' : 'DescriptorEN.js',
60 'fr' : 'DescriptorFR.js',
61 'ge' : 'DescriptorGE.js'
62 };
63
64 var lang = get_cookie('w2_lang');
65 if (! lang) lang = 'hr';
66
67 load_js(lang2thes[lang]);
68
69 function change_lang(lang) {
70 // reset results
71 self.document.myfilter.filter('');
72
73 set_cookie('w2_lang', lang);
74 load_js(lang2thes[lang]);
75 self.document.myfilter.arr=headlines;
76 return true;
77 }
78
79 function select_option(value,text,selected) {
80 document.write('<option value="'+value+'"');
81 if (value == selected) document.write(' selected');
82 document.write('>'+text+'</option>');
83 }
84 // -->
85 </script>
86 <script type="text/javascript" src="js/hide.js"></script>
87 </head>
88
89 <body onload="myfilter(); ">
90 <table width="100%" border="0" cellspacing="0" cellpadding="0">
91 <tr>
92 <td colspan="3" class="hdr" height="10">
93 </td>
94 </tr>
95 <tr>
96 <td class="logoHidra">
97 <img src="img/euzajed.png" border="0" alt="Europske zajednice">
98 </td>
99 <td class="logoHidra">
100 <img src="img/hidra.png" border="0" alt="HIDRA logo">
101 </td>
102 <td class="logoEUV">
103 <a href="index.html"><img src="img/eurovoc2.png" border="0" alt="Eurovoc"></a>
104 </td>
105 </tr>
106 <tr>
107 <td class="hdr2" height="10" colspan="3">
108 </td>
109
110 </tr>
111 </table>
112
113
114 <table border="0" cellspacing="0" cellpadding="0" width="100%">
115 <tr>
116 <td class="hMenuL hMenu">
117 <table width="160" cellspacing="0" cellpadding="0">
118 <tr><td>
119 <table border="0" cellspacing="0" cellpadding="0">
120 <tr>
121 <td class="topLpl"></td>
122 <td rowspan="2" class="hMenuTxt"><a class="lhM" href="eurovoc.html">Pojmovnik Eurovoc</a></td>
123 <td nowrap class="topRpl"></td>
124 </tr>
125 <tr>
126 <td class="hMenuSide"></td>
127 <td class="hMenuSide"></td>
128 </tr>
129 <tr>
130 <td colspan="3" height="10"></td>
131 </tr>
132 </table>
133 </td></tr>
134 </table>
135 </td>
136
137 <td colspan="2" class="hMenu">
138 <table border="0" cellspacing="0" cellpadding="0" align="right" width="520">
139 <tr>
140 <td width="10">&nbsp;</td>
141 <td>
142 <table border="0" cellspacing="0" cellpadding="0">
143 <tr>
144 <td class="topLpl"></td>
145 <td rowspan="2" class="hMenuTxt"><a class="lhM" href="pretrazivanje.html">Pretra¾ivanje</a></td>
146 <td class="topRpl"></td>
147 </tr>
148 <tr>
149 <td class="hMenuSide"></td>
150 <td class="hMenuSide"></td>
151 </tr>
152 <tr>
153 <td colspan="3" height="10"></td>
154 </tr>
155 </table>
156 </td>
157 <td width="10">&nbsp;</td>
158 <td>
159 <table border="0" cellspacing="0" cellpadding="0">
160 <tr>
161 <td class="topLpl"></td>
162 <td rowspan="2" class="hMenuTxt"><a class="lhM" href="hijerarhija.html">Hijerarhijski prikaz</a></td>
163 <td class="topRpl"></td>
164 </tr>
165 <tr>
166 <td class="hMenuSide"></td>
167 <td class="hMenuSide"></td>
168 </tr>
169 <tr>
170 <td colspan="3" height="10"></td>
171 </tr>
172 </table>
173 </td>
174 <td width="10">&nbsp;</td>
175 <td>
176 <table border="0" cellspacing="0" cellpadding="0">
177 <tr>
178 <td class="topLpl"></td>
179 <td rowspan="2" class="ActMenu">Abecedna kazala</td>
180 <td class="topRpl"></td>
181 </tr>
182 <tr>
183 <td class="hMenuSide"></td>
184 <td class="hMenuSide"></td>
185 </tr>
186 <tr>
187 <td class="bottomLpl"></td>
188 <td class="bkgPl"></td>
189 <td class="bottomRpl"></td>
190 </tr>
191 </table>
192 </td>
193 <td width="10">&nbsp;</td>
194 </tr>
195 </table>
196
197 </td>
198 </tr>
199
200 <tr>
201 <td width="200" class="menu">
202 <table border="0" cellspacing="0" cellpadding="0" width="160">
203 <tr>
204 <td colspan="3">&nbsp;</td>
205 </tr>
206 <tr>
207 <td class="topLsv"></td>
208 <td class="middle bkgSv"></td>
209 <td class="topRsv"></td>
210 </tr>
211 <tr>
212 <td colspan="3" class="menuItem2">Upute za prikaz abecednih kazala</td>
213 </tr>
214 <tr>
215 <td colspan="3" class="menuItem">
216 Upi¹ite najmanje <em>dva poèetna slova</em> tra¾enog
217 pojma.
218 </td>
219 </tr>
220 <tr>
221 <td colspan="3" class="menuItem">
222 Klik na pojam u abecednom kazalu pozicionira pojam u
223 hijerarhijkoij strukturi pojmovnika.
224 </td>
225 </tr>
226 <tr>
227 <td colspan="3" class="menuItem">
228 Klik na znak &raquo; otvara novi prozor u kojem
229 se pojavljuje detaljan prikaz tra¾enog pojma.
230 </td>
231 </tr>
232 <tr>
233 <td class="bottomLsv"></td>
234 <td class="middle bkgSv"></td>
235 <td class="bottomRsv"></td>
236 </tr>
237 </table>
238
239 </td>
240
241
242 <td class="bd">
243
244 <h3>Abecedna kazala</h3>
245
246
247 <div style="float: right; width: 10em; text-align: center; margin: 0.5m">
248 <a href="#" onclick="toggle_display('debug');">debug</a>
249 <div style="text-align: left; border: 1px dashed #c0c0c0; display: none;" id="debug">
250 </div>
251 </div>
252
253 <form method="get" onsubmit="return false;" action="?">
254 <div class="filters">
255 <script type="text/javascript">
256 // <!--
257 document.write('<select name="lang" onchange="change_lang(this.options[this.selectedIndex].value);">');
258 select_option("hr","Hrvatski",lang);
259 select_option("en","Engleski",lang);
260 select_option("fr","Francuski",lang);
261 select_option("ge","Njemaèki",lang);
262 document.write('</select>');
263 // -->
264 </script>
265
266 <input autocomplete="off" class="filters" id="textfilter" title="enter a regular expression to filter by" onkeyup="self.document.myfilter.filter(this.value);" />
267 <!-- this button is strictly for looks -->
268 <input class="filters" value="filter" type="button" />
269 </div>
270 </form>
271
272 <div id="status" style="font-size: 80%; color: gray;">
273 <!--
274 Enter few letters to filter by them
275 -->
276 </div>
277
278 <div id="results">
279 </div>
280
281 </td>
282 </tr>
283 </table>
284
285 </body>
286 </html>

  ViewVC Help
Powered by ViewVC 1.1.26