Overview
SHA1 Hash: | e12f2f1839a622a085b658dd08e6823d16a167e9 |
---|---|
Date: | 2007-08-27 13:21:20 |
User: | aku |
Comment: | Tweaked the highlighting |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/timeline.c from [30b6c2143f] to [a0b837b0fb].
@@ -250,15 +250,15 @@ @ } @ } @ 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) { @ setall(0); @@ -265,11 +265,11 @@ @ setone(id,1); @ 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; @ for(var x in plist){ @@ -289,15 +289,15 @@ @ } @ } @ } @ 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"> @ Start Date: