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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 498 - (show annotations)
Sun Oct 10 08:24:40 2004 UTC (16 years, 7 months ago) by dpavlin
File size: 1971 byte(s)
included scrollTo positioning in template

1 <html>
2 <head>
3 <title>Browse</title>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"/>
5 <script type="text/javascript" src="bfilter/hide.js"></script>
6 <script type="text/javascript" src="[% js %]"></script>
7 <script type="text/javascript" src="js/getargs.js"></script>
8 <script type="text/javascript" src="js/popup.js"></script>
9 <script type="text/javascript" src="js/findpos.js"></script>
10 <script type="text/javascript">
11
12 function outline_url() {
13 var args = getArgs();
14 var o = args['o'];
15
16 if (o) {
17 outline_display('o'+o);
18 if (self.location.hash) {
19 // following reloads page in Opera == not good
20 //self.location = "#mfn"+o
21 var e = element_id('o'+o);
22 var y = findPosY(e);
23 // position 30px above found term
24 if (y > 30) y -= 30;
25 if (e) window.scrollTo(findPosX(e),y);
26 }
27 }
28 return true;
29 }
30
31 </script>
32 <link rel="stylesheet" href="style.css" type="text/css">
33 </head>
34
35 <body onLoad="outline_url();">
36
37 <span style="background: #e0e0e0;">
38 <a href="search.html">search</a> |
39 <a href="thesaurus.html">thesarus</a> |
40 <a href="browse.html"><b>browse</b></a>
41 </span>
42
43 <div style="float: right; width: 10em; text-align: center; margin: 0.5m; background: #e0e0e0; border: 1px dashed #c0c0c0; z-index: 1;">
44 Folding:
45 <br/>
46 <a href="#" onClick="back_display();">&laquo;</a>&nbsp;<a href="#" onClick="default_display();">default</a>&nbsp;<a href="#" onClick="forward_display();">&raquo;</a>
47 <!--
48 <br/>
49 <a href="#" onClick="show_hide_display(show,hide);">reset</a>
50 <a href="#" onClick="show_display(show); show_display(hide);">all</a>
51 <a href="#" onClick="hide_display(hide); hide_display(show);">none</a>
52 <br/>
53 <a href="#" onClick="alert('show: '+show.length+', hide: '+hide.length+', changed:'+changed_display_ids.length+', positin: '+changed_display_pos);">debug</a>
54
55 <a href="#" onClick="var id=prompt('Enter ID to outline','id'); outline_display(id);">outline</a>
56 -->
57 </div>
58
59 <ul>
60 [% tree %]
61 </ul>
62 </body>
63 </html>

  ViewVC Help
Powered by ViewVC 1.1.26