--- rat/client/parameter.html 2002/03/25 21:01:12 1.17
+++ rat/client/parameter.html 2006/12/06 21:09:35 1.41
@@ -3,7 +3,7 @@
The LearningOnline Network with CAPA
Parameter Input Window
//
-// $Id: parameter.html,v 1.17 2002/03/25 21:01:12 matthew Exp $
+// $Id: parameter.html,v 1.41 2006/12/06 21:09:35 www Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -27,10 +27,6 @@ Parameter Input Window
//
// http://www.lon-capa.org/
//
-06/16/00,06/17,11/17,11/18,11/23,11/27,11/28,12/15,12/16,
-03/21/01,03/24,06/26 Gerd Kortemeyer
-07/24/01 Scott Harrison
-08/08 Gerd Kortemeyer
-->
LON-CAPA
@@ -46,6 +42,10 @@ var pscat='';
var pmarker='';
var pname='';
+var defhour=0;
+var defmin=0;
+var defsec=0;
+
var svalue;
var stype;
var smarker;
@@ -174,9 +174,16 @@ function date() {
function year() {
var thisyear=cdate.getFullYear();
+ var nowdate=new Date();
+ var nowyear=nowdate.getFullYear();
+ if ( !thisyear ) { thisyear=nowyear; }
+ var loweryear=thisyear-2;
+ var upperyear=thisyear+5;
+ if (thisyear>nowyear) { loweryear=nowyear-2; }
+ if (thisyear');
- for (i=thisyear-25;i<=thisyear+50;i++) {
+ for (i=loweryear;i<=upperyear;i++) {
choicewrite('