--- rat/client/parameter.html 2003/02/03 18:03:54 1.20 +++ rat/client/parameter.html 2003/07/10 08:34:43 1.25 @@ -3,7 +3,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.20 2003/02/03 18:03:54 harris41 Exp $ +// $Id: parameter.html,v 1.25 2003/07/10 08:34:43 www Exp $ // // Copyright Michigan State University Board of Trustees // @@ -304,6 +304,11 @@ function stringeval() { draw(); } +function radiostringeval(newval) { + svalue=newval; + draw(); +} + function intervaldis() { csecs=svalue; cdays=Math.floor(csecs/86400); @@ -315,7 +320,23 @@ function intervaldis() { choicewrite(cdays+' days '+chours+' hours ' +cmins+' mins '+csecs+' secs'); } - + +function pickcolor(picked) { + svalue=picked; + draw(); +} + +function colorfield(ir,ig,ib) { + var col=new Array; + col=["00","11","22","44","66","88","AA","CC","DD","EE","FF"]; + var color='#'+col[ir]+col[ig]+col[ib]; + var selection="X"; + if (color==svalue) { selection="X"; } + choicewrite('