Diff
Not logged in

Differences From:

File src/timeline.c part of check-in [53416550852e] - Fix a bug in the javascript. Only versions that are independent of the mouse-over version are grayed out now. by drh on 2007-08-27 05:02:17. [view]

To:

File src/timeline.c part of check-in [e12f2f1839] - Tweaked the highlighting by aku on 2007-08-27 13:21:20. Also file src/timeline.c part of check-in [15652ff081] - Merged drh's fixes new features (xfer, timeline handling, javascript based timeline highlighting) into my branch. by aku on 2007-08-29 02:55:33. [view]

@@ -251,13 +251,13 @@
   @ }
   @ function setone(id, onoff){
   @   if( parentof[id]==null ) return 0;
   @   var w = document.getElementById(id);
-  @   var clr = onoff==1 ? "#000000" : "#a0a0a0";
-  @   if( w.style.color==clr ){
+  @   var clr = onoff==1 ? "#e0e0ff" : "#ffffff";
+  @   if( w.backgroundColor==clr ){
   @     return 0
   @   }else{
-  @     w.style.color = clr
+  @     w.style.backgroundColor = clr
   @     return 1
   @   }
   @ }
   @ function xin(id) {
@@ -266,9 +266,9 @@
   @   set_children(id);
   @   set_parents(id);
   @ }
   @ function xout(id) {
-  @   setall(1);
+  @   setall(0);
   @ }
   @ function set_parents(id){
   @   var plist = parentof[id];
   @   if( plist==null ) return;
@@ -290,13 +290,13 @@
   @   }
   @ }
   @ function hilite(id) {
   @   var x = document.getElementById(id);
-  @   x.style.backgroundColor = "#e0e0ff";
+  @   x.style.color = "#ff0000";
   @ }
   @ function unhilite(id) {
   @   var x = document.getElementById(id);
-  @   x.style.backgroundColor = "#ffffff";
+  @   x.style.color = "#000000";
   @ }
   @ </script>
   @ <hr>
   @ <form method="GET" action="%s(g.zBaseURL)/timeline">