version 1.7, 2001/03/21 15:42:15
|
version 1.9, 2001/07/25 03:10:15
|
Line 3
|
Line 3
|
The LearningOnline Network with CAPA |
The LearningOnline Network with CAPA |
Parameter Input Window |
Parameter Input Window |
06/16/00,06/17,11/17,11/18,11/23,11/27,11/28,12/15,12/16, |
06/16/00,06/17,11/17,11/18,11/23,11/27,11/28,12/15,12/16, |
03/21/01 Gerd Kortemeyer |
03/21/01,03/24 Gerd Kortemeyer |
|
07/24/01 Scott Harrison |
--> |
--> |
<head> |
<head> |
<title>LON-CAPA</title> |
<title>LON-CAPA</title> |
Line 477 function init() {
|
Line 478 function init() {
|
if (pair[0]=='type') { subs=pair[1].split('_'); |
if (pair[0]=='type') { subs=pair[1].split('_'); |
ptype=subs[0]; |
ptype=subs[0]; |
pscat=subs[1]; |
pscat=subs[1]; |
if (subs[2]!=undefined) { pscat+='_'+subs[2]; } |
if (typeof(subs[2])!="undefined") { pscat+='_'+subs[2]; } |
if ((pscat=='') || (pscat==undefined)) { |
if ((pscat=='') || (typeof(pscat)=="undefined")) { |
pscat='default'; |
pscat='default'; |
} |
} |
} |
} |
Line 491 function init() {
|
Line 492 function init() {
|
svalue=pvalue; |
svalue=pvalue; |
if (((ptype=='float') || (ptype=='string') || (ptype=='int')) && |
if (((ptype=='float') || (ptype=='string') || (ptype=='int')) && |
(pscat=='default') && |
(pscat=='default') && |
(svalue!=undefined) && (svalue!=0) && (svalue!='')) { pscat='any'; } |
(typeof(svalue)!="undefined") && (svalue!=0) && (svalue!='')) { pscat='any'; } |
|
|
this.window.selector.document.clear(); |
this.window.selector.document.clear(); |
selwrite('<html><body bgcolor="#FFFFFF">'); |
selwrite('<html><body bgcolor="#FFFFFF">'); |
|
|
selwrite('<form name="fsel"><h3>'+pname+'</h3>'); |
selwrite('<form name="fsel"><b>'+pname+'</b><br>'); |
selwrite('<select name="fcat" onChange="parent.catchange();">'); |
selwrite('<select name="fcat" onChange="parent.catchange();">'); |
if (ptype=='tolerance') { |
if (ptype=='tolerance') { |
sopt('default','Default'); |
sopt('default','Default'); |
Line 514 function init() {
|
Line 515 function init() {
|
sopt('end','Ending Date'); |
sopt('end','Ending Date'); |
sopt('interval','Time Interval'); |
sopt('interval','Time Interval'); |
|
|
if ((pvalue!='') && (pvalue!=undefined)) { |
if ((pvalue!='') && (typeof(pvalue)!="undefined")) { |
cdate.setTime(pvalue*1000); |
cdate.setTime(pvalue*1000); |
} |
} |
|
|