/[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 499 - (show annotations)
Sun Oct 10 09:33:57 2004 UTC (14 years, 11 months ago) by dpavlin
File size: 1953 byte(s)
removed anchors, now outline will do everything

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

  ViewVC Help
Powered by ViewVC 1.1.26