/[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

Diff of /trunk2/output_template/tree.tt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 498 by dpavlin, Sun Oct 10 08:24:40 2004 UTC revision 499 by dpavlin, Sun Oct 10 09:33:57 2004 UTC
# Line 15  function outline_url() { Line 15  function outline_url() {
15    
16          if (o) {          if (o) {
17                  outline_display('o'+o);                  outline_display('o'+o);
18                  if (self.location.hash) {  
19                          // following reloads page in Opera == not good                  // following reloads page in Opera == not good
20                          //self.location = "#mfn"+o                  //self.location = "#mfn"+o
21                          var e = element_id('o'+o);                  var e = element_id('o'+o);
22                    if (e) {
23                          var y = findPosY(e);                          var y = findPosY(e);
24    
25                          // position 30px above found term                          // position 30px above found term
26                          if (y > 30) y -= 30;                          if (y > 30) y -= 30;
27                          if (e) window.scrollTo(findPosX(e),y);                          if (e) window.scrollTo(findPosX(e),y);

Legend:
Removed from v.498  
changed lines
  Added in v.499

  ViewVC Help
Powered by ViewVC 1.1.26