/[webpac]/trunk2/output_template/node.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

Contents of /trunk2/output_template/node.tt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 572 - (show annotations)
Mon Nov 1 14:55:16 2004 UTC (14 years, 9 months ago) by dpavlin
File size: 971 byte(s)
convert WebPAC::Tree to use Template Toolkit,
started adding support for nodes in iframe

1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"/>
4 <script type="text/javascript" src="../bfilter/hide.js"></script>
5 <script type="text/javascript" src="../[% js %]"></script>
6 <script type="text/javascript" src="../js/getargs.js"></script>
7 <script type="text/javascript" src="../js/popup.js"></script>
8 <script type="text/javascript" src="../js/findpos.js"></script>
9 <script type="text/javascript">
10
11 function outline_url() {
12 var args = getArgs();
13 var o = args['o'];
14
15 if (o) {
16 outline_display('o'+o);
17
18 // following reloads page in Opera == not good
19 //self.location = "#mfn"+o
20 var e = element_id('o'+o);
21 if (e) {
22 var y = findPosY(e);
23
24 // position 30px above found term
25 if (y > 30) y -= 30;
26 if (e) window.scrollTo(findPosX(e),y);
27 }
28 }
29 return true;
30 }
31
32 </script>
33 <link rel="stylesheet" href="../style.css" type="text/css">
34 </head>
35
36 <body onLoad="outline_url();">
37
38 <ul>
39 [% node %]
40 </ul>
41
42 </body>
43 </html>

  ViewVC Help
Powered by ViewVC 1.1.26