/[webpac]/trunk2/output_template/hijerarhija.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/hijerarhija.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 17  function outline_url() { Line 17  function outline_url() {
17    
18          if (o) {          if (o) {
19                  outline_display('o'+o);                  outline_display('o'+o);
20                  if (self.location.hash) {  
21                          // following reloads page in Opera == not good                  // following reloads page in Opera == not good
22                          //self.location = "#mfn"+o                  //self.location = "#mfn"+o
23                          var e = element_id('o'+o);                  var e = element_id('o'+o);
24                    if (e) {
25                          var y = findPosY(e);                          var y = findPosY(e);
26    
27                          // position 30px above found term                          // position 30px above found term
28                          if (y > 30) y -= 30;                          if (y > 30) y -= 30;
29                          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