version 1.3, 2000/11/23 20:42:02
|
version 1.4, 2000/11/27 12:11:55
|
Line 2
|
Line 2
|
<!-- |
<!-- |
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 Gerd Kortemeyer |
06/16/00,06/17,11/17,11/18,11/23,11/27 Gerd Kortemeyer |
--> |
--> |
<head> |
<head> |
<title>LON-CAPA</title> |
<title>LON-CAPA</title> |
Line 378 function assemble() {
|
Line 378 function assemble() {
|
svalue=Math.round(cdate.getTime()/1000); |
svalue=Math.round(cdate.getTime()/1000); |
} |
} |
stype=ptype+'_'+pscat; |
stype=ptype+'_'+pscat; |
alert(stype+' '+svalue); |
|
} |
} |
|
|
|
|
Line 462 function init() {
|
Line 461 function init() {
|
|
|
selwrite('<a href="javascript:parent.assemble();'); |
selwrite('<a href="javascript:parent.assemble();'); |
if (preturn!='') { |
if (preturn!='') { |
selwrite('parent.opener.'+preturn+'=parent.window.svalue;'); |
selwrite( |
selwrite('parent.opener.'+preturn+'_type=parent.window.stype;'); |
'parent.opener.document.'+preturn+'_value.value=parent.window.svalue;'); |
|
selwrite( |
|
'parent.opener.document.'+preturn+'_type.value=parent.window.stype;'); |
} |
} |
if (pmarker!='') { |
if (pmarker!='') { |
selwrite('parent.opener.'+pmarker+'=parent.window.pmarker;'); |
selwrite( |
|
'parent.opener.document.'+preturn+'_marker.value=parent.window.pmarker;'); |
} |
} |
if (pcode!='') { |
if (pcode!='') { |
selwrite('parent.opener.'+pcode+';'); |
selwrite('parent.opener.'+pcode+'();'); |
} |
} |
selwrite('">Store</a>'); |
selwrite('">Store</a> '); |
|
|
|
selwrite('<a href="javascript:'); |
|
if (preturn!='') { |
|
selwrite('parent.opener.document.'+preturn+'_value.value='+"'';"); |
|
selwrite('parent.opener.document.'+preturn+'_type.value='+"'';"); |
|
} |
|
if (pmarker!='') { |
|
selwrite('parent.opener.document.'+preturn+'_marker.value='+"'';"); |
|
} |
|
if (pcode!='') { |
|
selwrite('parent.opener.'+pcode+'();'); |
|
} |
|
selwrite('">Cancel</a>'); |
|
|
selwrite('</body></html>'); |
selwrite('</body></html>'); |
this.window.selector.document.close(); |
this.window.selector.document.close(); |