Fixed a bug which caused the overview bands to get out of sync. Added a target=_blank on the links to make the info bubble links open in a new window/tab default tip
authorJosh Reed <jareed@andrill.org>
Thu Mar 27 14:24:37 2008 -0400 (23 months ago)
changeset 4cf629466140c
parent 3 3acd8e81f111
Fixed a bug which caused the overview bands to get out of sync. Added a target=_blank on the links to make the info bubble links open in a new window/tab
scripts/depth.js
scripts/event-painter.js
     1.1 --- a/scripts/depth.js	Sat Mar 15 15:13:10 2008 -0500
     1.2 +++ b/scripts/depth.js	Thu Mar 27 14:24:37 2008 -0400
     1.3 @@ -11,7 +11,7 @@
     1.4      
     1.5      var ether = new Timeline.LinearEther({ 
     1.6          centersOn:          ("date" in params) ? params.date : Timeline.DepthUnit.makeDefaultValue(),
     1.7 -        interval:           1,
     1.8 +        interval:           Math.pow(10, params.intervalUnit),
     1.9          pixelsPerInterval:  params.intervalPixels
    1.10      });
    1.11      
     2.1 --- a/scripts/event-painter.js	Sat Mar 15 15:13:10 2008 -0500
     2.2 +++ b/scripts/event-painter.js	Thu Mar 27 14:24:37 2008 -0400
     2.3 @@ -22,6 +22,7 @@
     2.4          if (link != null) {
     2.5              var a = doc.createElement("a");
     2.6              a.href = link;
     2.7 +            a.target = "_blank"
     2.8              a.appendChild(img);
     2.9              elmt.appendChild(a);
    2.10          } else {
    2.11 @@ -34,6 +35,7 @@
    2.12      if (link != null) {
    2.13          var a = doc.createElement("a");
    2.14          a.href = link;
    2.15 +        a.target = "_blank"
    2.16          a.appendChild(textTitle);
    2.17          divTitle.appendChild(a);
    2.18      } else {