--- loncom/html/res/adm/pages/menu.html 2002/05/25 20:41:12 1.58
+++ loncom/html/res/adm/pages/menu.html 2002/07/15 19:45:18 1.60
@@ -4,7 +4,7 @@ The LearningOnline Network with CAPA
Remote Control
//
-// $Id: menu.html,v 1.58 2002/05/25 20:41:12 www Exp $
+// $Id: menu.html,v 1.60 2002/07/15 19:45:18 www Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -66,10 +66,13 @@ var dislocked = 1;
var imgpath='/res/adm/pages/';
var currentURL='';
+var reloadURL='';
var currentStale=1;
var menucltim;
-var clock=new Date();
+var constructURL='';
+
+var clockdelta=0;
// not used (yet)
// var w_Annotator;
@@ -103,8 +106,14 @@ for (var i=1;i<=3;i++) {
var clienthost=window.location.host;
var clientwindow=opener;
+function syncclock(servertime) {
+ var clientclock=new Date;
+ clockdelta=servertime-clientclock.getTime();
+}
+
function advanceclock() {
- clock.setTime(clock.getTime()+1000);
+ var clock=new Date();
+ clock.setTime(clock.getTime()+clockdelta);
var days=""+clock.getDate();
if (days.length<2) { days="0"+days; }