--- rat/client/Attic/code.html 2002/05/14 21:09:14 1.53
+++ rat/client/Attic/code.html 2003/01/23 20:23:07 1.62
@@ -4,7 +4,7 @@
The LearningOnline Network
Resource Assembly Tool
//
-// $Id: code.html,v 1.53 2002/05/14 21:09:14 www Exp $
+// $Id: code.html,v 1.62 2003/01/23 20:23:07 www Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -118,6 +118,12 @@ var idxflag=-1; // 1 means currently ope
// -1 means never yet opened/defined
var idxmode='';
+var copydx;
+var copydxflag=-1; // 1 means currently open
+ // 0 means closed (but has been open)
+ // -1 means never yet opened/defined
+var copydxmode='';
+
var parm;
var parmflag=-1; // 1 means currently open
// 0 means closed (but has been open)
@@ -968,10 +974,12 @@ function drawcell (rtype,ctype,what,cm,o
urlparts=url.split('.');
mime=urlparts[urlparts.length-1];
if (typeof(mime)=="undefined") { mime=''; }
+ mime=mime.toLowerCase();
}
parent.mapout.document.write
('');
+ if (zscale==3) {
if ((mime!='') && (ext!='true')) {
parent.mapout.document.write
('
');
+ } else {
+ parent.mapout.document.write
+ ('
');
+ }
} else {
if (what=='c:') {
parent.mapout.document.write
@@ -1001,10 +1014,12 @@ function drawcell (rtype,ctype,what,cm,o
urlparts=url.split('.');
mime=urlparts[urlparts.length-1];
if (typeof(mime)=="undefined") { mime=''; }
+ mime=mime.toLowerCase();
}
parent.mapout.document.write
('');
+ if (zscale==3) {
if ((mime!='') && (ext!='true')) {
parent.mapout.document.write
('
');
+ } else {
+ parent.mapout.document.write
+ ('
');
+ }
} else {
if (what=='rf:') {
@@ -1030,10 +1050,12 @@ function drawcell (rtype,ctype,what,cm,o
urlparts=url.split('.');
mime=urlparts[urlparts.length-1];
if (typeof(mime)=="undefined") { mime=''; }
+ mime=mime.toLowerCase();
}
parent.mapout.document.write
('');
+ if (zscale==3) {
if ((mime!='') && (ext!='true')) {
parent.mapout.document.write
('
');
+ } else {
+ parent.mapout.document.write
+ ('
');
+ }
+
} else {
parent.mapout.document.write
('Copy from Map
'+
+ '');
+
+ copydx.document.writeln('