/[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 583 - (show annotations)
Tue Nov 2 17:17:51 2004 UTC (17 years, 2 months ago) by dpavlin
File size: 1167 byte(s)
fix iframe margins

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 if (parent.element_id && parent.mfn_iframe) {
25 var e2 = element_id('i'+parent.mfn_iframe[o]);
26 if (e2) y += findPosY(e2);
27 }
28
29 // position 30px above found term
30 if (y > 30) y -= 30;
31 if (e) window.scrollTo(findPosX(e),y);
32 }
33 }
34 return true;
35 }
36
37 </script>
38 <link rel="stylesheet" href="../nodes.css" type="text/css">
39 </head>
40
41 <body marginheight="0" marginwidth="0" style="margin: 0;" onLoad="return outline_url();">
42
43 <ul>
44 [% node %]
45 </ul>
46
47 </body>
48 </html>

  ViewVC Help
Powered by ViewVC 1.1.26