--- rat/client/Attic/code.html 2001/07/04 18:19:53 1.40 +++ rat/client/Attic/code.html 2001/10/16 17:00:33 1.47 @@ -3,6 +3,7 @@ @@ -120,7 +123,7 @@ function insertrow(j,ex1,ex2) { objects=objects1+':'+objects2; data1=objects.split(':'); for (kj=0;kj'); - if ((what!='') && (what!=undefined)) { - if ((obj1!='') && (obj1!=undefined)) { + if ((what!='') && (typeof(what)!="undefined")) { + if ((obj1!='') && (typeof(obj1)!="undefined")) { objref="'"+obj1+"'"; parent.mapout.document.write (''); } } else { @@ -1110,7 +1113,7 @@ if (rowtype[jid]!=0) { } parent.mapout.document.writeln(''); - if ((rowcont[jid]!='') && (rowcont[jid]!=undefined)) { + if ((rowcont[jid]!='') && (typeof(rowcont[jid])!="undefined")) { data2=rowcont[jid].split(':'); for (jk=0;jkmiddle) { for (k=middle+1;kleftin;k--) { - if ((colmap4[k]!='') && (colmap4[k]!=undefined)) { + if ((colmap4[k]!='') && (typeof(colmap4[k])!="undefined")) { colmap[k]='lrt'; } else { colmap[k]='lr'; @@ -1197,7 +1200,7 @@ if (rowtype[jid]!=0) { if (rightoutmiddle) { - if ((colmap3[middle]!='') && (colmap3[middle]!=undefined)) { + if ((colmap3[middle]!='') && (typeof(colmap3[middle])!="undefined")) { colmap2[middle]='rtdl'; } else { colmap2[middle]='rtl'; @@ -1206,7 +1209,7 @@ if (rowtype[jid]!=0) { } if (leftoutleftout;k--) { - if ((colmap3[k]!='') && (colmap3[k]!=undefined)) { + if ((colmap3[k]!='') && (typeof(colmap3[k])!="undefined")) { colmap2[k]='rld'; } else { colmap2[k]='rl'; @@ -1216,7 +1219,7 @@ if (rowtype[jid]!=0) { } if (rightout>middle) { for (k=middle+1;kInsert resource'); if ((mostrecent!=0) && (objcont[mostrecent]!='') && - (objcont[mostrecent]!=undefined)) { + (typeof(objcont[mostrecent])!="undefined")) { inf.document.writeln('
'); url=data1[1]; + ext=data1[2]; urlparts=url.split('.'); mime=urlparts[urlparts.length-1]; - if (mime==undefined) { mime=''; } - if (mime!='') { + if (typeof(mime)=="undefined") { mime=''; } + if ((mime!='') && (ext!='true')) { parent.mapout.document.write ('

'+ @@ -2253,9 +2258,13 @@ function simpletabledraw() { var nr; var ck; var cck; + var mime; + var ext; + var url; + var urlparts=new Array; var condid; var sortstr=sortobjs(); - if ((sortstr!='') && (sortstr!=undefined)) { + if ((sortstr!='') && (typeof(sortstr)!="undefined")) { objsorted=sortstr.split('&'); for (k=0;k'); url=data1[1]; + ext=data1[2]; urlparts=url.split('.'); mime=urlparts[urlparts.length-1]; - if (mime==undefined) { mime=''; } - if (mime!='') { + if (typeof(mime)=="undefined") { mime=''; } + if ((mime!='') && (ext!='true')) { parent.mapout.document.write ('

'+ @@ -2364,7 +2374,7 @@ function sortobjs() { for (k=1;k'); var k; for (k=0;k'); + data2=data1[k].split(':').join(':').split('<:>'); if (data2[0]=='graphdef') { graphdef=data2[1]; } if (data2[0]=='maxcol') { maxcol=1*data2[1]; } if (data2[0]=='maxrow') { maxrow=1*data2[1]; } @@ -2532,7 +2542,7 @@ function finishload() { if (data2[0]=='objcont') { objcont[data2[1]]=data2[2]; } if (data2[0]=='objlinks') { objlinks[data2[1]]=data2[2]; } if (data2[0]=='objparms') { - if (objparms[data2[1]]==undefined) { + if (typeof(objparms[data2[1]])=="undefined") { objparms[data2[1]]=data2[2]; } else { objparms[data2[1]]+=':'+data2[2]; @@ -2548,7 +2558,7 @@ function finishload() { } if (graphdef=='yes') { for (k=1;k<=maxrow;k++) { - if (rowcont[k]==undefined) { rowcont[k]=''; } + if (typeof(rowcont[k])=="undefined") { rowcont[k]=''; } } } } @@ -2664,7 +2674,7 @@ function schedule(action) { // ----------------------------------------------------- launch indexer browser function groupsearch() { - alert('not yet implemented'); + srchcheck('groupsearch'); } function groupimport() { @@ -2741,17 +2751,24 @@ function leave() { - -Toggle Display Mode -Zoom Out -Zoom In -Condense -Straighten -Revert -Undo -Redo -Group Search -Group Import -Save Map + +
+ + + + + + + + + + + + +
Toggle display Zoom out Zoom in Condense Straighten Revert Undo Redo Group search Group import Save map 
+
+