version 1.57, 2002/05/24 18:08:39
|
version 1.62, 2003/01/23 20:23:07
|
Line 974 function drawcell (rtype,ctype,what,cm,o
|
Line 974 function drawcell (rtype,ctype,what,cm,o
|
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (typeof(mime)=="undefined") { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
|
mime=mime.toLowerCase(); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
+' src="'+raticons+'resource.gif">'); |
+' src="'+raticons+'resource.gif">'); |
|
if (zscale==3) { |
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
Line 991 function drawcell (rtype,ctype,what,cm,o
|
Line 993 function drawcell (rtype,ctype,what,cm,o
|
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
|
} else { |
|
parent.mapout.document.write |
|
('<br><img border=0 width='+cw[ctype]+' height='+rh[1] |
|
+' src="'+raticons+'bottom.gif">'); |
|
} |
} else { |
} else { |
if (what=='c:') { |
if (what=='c:') { |
parent.mapout.document.write |
parent.mapout.document.write |
Line 1007 function drawcell (rtype,ctype,what,cm,o
|
Line 1014 function drawcell (rtype,ctype,what,cm,o
|
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (typeof(mime)=="undefined") { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
|
mime=mime.toLowerCase(); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
+' src="'+raticons+'start.gif">'); |
+' src="'+raticons+'start.gif">'); |
|
if (zscale==3) { |
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
Line 1024 function drawcell (rtype,ctype,what,cm,o
|
Line 1033 function drawcell (rtype,ctype,what,cm,o
|
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
|
} else { |
|
parent.mapout.document.write |
|
('<br><img border=0 width='+cw[ctype]+' height='+rh[1] |
|
+' src="'+raticons+'bottom.gif">'); |
|
} |
|
|
} else { |
} else { |
if (what=='rf:') { |
if (what=='rf:') { |
Line 1036 function drawcell (rtype,ctype,what,cm,o
|
Line 1050 function drawcell (rtype,ctype,what,cm,o
|
urlparts=url.split('.'); |
urlparts=url.split('.'); |
mime=urlparts[urlparts.length-1]; |
mime=urlparts[urlparts.length-1]; |
if (typeof(mime)=="undefined") { mime=''; } |
if (typeof(mime)=="undefined") { mime=''; } |
|
mime=mime.toLowerCase(); |
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
('<img border=0 width='+cw[ctype]+' height='+rh[1] |
+' src="'+raticons+'finish.gif">'); |
+' src="'+raticons+'finish.gif">'); |
|
if (zscale==3) { |
if ((mime!='') && (ext!='true')) { |
if ((mime!='') && (ext!='true')) { |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
('<br><img border=0 src="'+raticons+'left.gif"></a><a target="preview" href="'+ |
Line 1053 function drawcell (rtype,ctype,what,cm,o
|
Line 1069 function drawcell (rtype,ctype,what,cm,o
|
} |
} |
parent.mapout.document.write |
parent.mapout.document.write |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
('<br><img border=0 src="'+raticons+'bottom.gif">'); |
|
} else { |
|
parent.mapout.document.write |
|
('<br><img border=0 width='+cw[ctype]+' height='+rh[1] |
|
+' src="'+raticons+'bottom.gif">'); |
|
} |
|
|
} else { |
} else { |
parent.mapout.document.write |
parent.mapout.document.write |
('<img border=0 width='+cw[ctype]+' height='+rh[rtype] |
('<img border=0 width='+cw[ctype]+' height='+rh[rtype] |
Line 1667 function copydxopen(mode) {
|
Line 1689 function copydxopen(mode) {
|
copydx=open("",'copydxout',options); |
copydx=open("",'copydxout',options); |
copydx.document.clear(''); |
copydx.document.clear(''); |
copydx.document.writeln( |
copydx.document.writeln( |
'<html><body bgcolor="#FFFFFF"><h1>Group Copy from Map</h1>'+ |
'<html><body bgcolor="#FFFFFF"><h1>Copy from Map</h1>'+ |
'<form name="mapload"><input type=text size=40 name=importmap>'+ |
'<form name="mapload"><input type=text size=40 name=importmap>'+ |
'<input type=button onClick="javascript:opener.openbrowser'+ |
'<input type=button onClick="javascript:opener.openbrowser'+ |
"('mapload','importmap','sequence,page','')"+ |
"('mapload','importmap','sequence,page','')"+ |
Line 1803 function handler(infostr) {
|
Line 1825 function handler(infostr) {
|
inf.document.write( |
inf.document.write( |
'<form name=resinfo><table><tr><td>Title:</td><td colspan=2>' |
'<form name=resinfo><table><tr><td>Title:</td><td colspan=2>' |
+'<input type=text name=t size=30 value="' |
+'<input type=text name=t size=30 value="' |
+data2[0]+'"><input type=hidden name=h value='+data2[3]+'></td></tr>'); |
+escape(data2[0])+'"><input type=hidden name=h value='+data2[3]+'></td></tr>'); |
inf.document.write('<tr><td>URL:</td><td colspan=2>' |
inf.document.write('<tr><td>URL:</td><td colspan=2>' |
+'<input type=text name=u size=30 value="'+data2[1]+'"></td></tr>' |
+'<input type=text name=u size=30 value="'+data2[1]+'"></td></tr>' |
+'<tr><td>External:</td><td><input type=checkbox name=e'); |
+'<tr><td>External:</td><td><input type=checkbox name=e'); |
Line 2035 function graphreset() {
|
Line 2057 function graphreset() {
|
|
|
objcont[0]=''; |
objcont[0]=''; |
objlinks[0]=''; |
objlinks[0]=''; |
if (((typeof(objcont[1])=="undefined")&&(typeof(objcont[2])=="undefined")) || |
|
((objcont[1]=='')&&(objcont[2]==''))) { |
|
objcont[1]='Start::false:start:res' |
|
objcont[2]='Finish::false:finish:res'; |
|
} |
|
graphdef='no'; |
graphdef='no'; |
|
|
} |
} |
Line 2587 function finishload() {
|
Line 2605 function finishload() {
|
for (k=1;k<=maxrow;k++) { |
for (k=1;k<=maxrow;k++) { |
if (typeof(rowcont[k])=="undefined") { rowcont[k]=''; } |
if (typeof(rowcont[k])=="undefined") { rowcont[k]=''; } |
} |
} |
|
} else { |
|
var hasstart=0; |
|
var hasfinish=0; |
|
for (k=0;k<objcont.length;k++) { |
|
if (typeof(objcont[k])!="undefined") { |
|
var objfunctype=(objcont[k].split(':'))[3]; |
|
if (objfunctype=='start') { hasstart=1; } |
|
if (objfunctype=='finish') { hasfinish=1; } |
|
} |
|
} |
|
if (!hasstart) { |
|
if ((typeof(objcont[1])=="undefined") || (objcont[1]=='')) { |
|
objcont[1]='Start::false:start:res'; |
|
} |
|
} |
|
if (!hasfinish) { |
|
if ((typeof(objcont[2])=="undefined") || (objcont[2]=='')) { |
|
objcont[2]='Finish::false:finish:res'; |
|
} |
|
} |
} |
} |
} |
} |
|
|
Line 2772 function leave() {
|
Line 2810 function leave() {
|
<body bgcolor="#FFFFFF" onUnload="leave();"> |
<body bgcolor="#FFFFFF" onUnload="leave();"> |
<table border=0><tr><td bgcolor="#aaaaaa"> |
<table border=0><tr><td bgcolor="#aaaaaa"> |
<table border=0><tr> |
<table border=0><tr> |
<td bgcolor="#ffffcc"><a href="javascript:togglemode();"><b>T</b>oggle display</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:togglemode();"><font size="-2">Toggle display</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:if (zscale>1) { zscale--; draw();}"><b>Z</b>oom out</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:if (zscale>1) { zscale--; draw();}"><font size="-2">Zoom out</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:if (zscale<3) { zscale++; draw();}"><b>Z</b>oom in</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:if (zscale<3) { zscale++; draw();}"><font size="-2">Zoom in</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:condense();draw();"><b>C</b>ondense</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:condense();draw();"><font size="-2">Condense</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:graphopt();draw();"><b>S</b>traighten</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:graphopt();draw();"><font size="-2">Straighten</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:revert();"><b>R</b>evert</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:revert();"><font size="-2">Revert</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:undo();"><b>U</b>ndo</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:undo();"><font size="-2">Undo</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:redo();"><b>R</b>edo</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:redo();"><font size="-2">Redo</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:groupsearch();"><b>G</b>roup search</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupsearch();"><font size="-2">Search</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:groupimport();"><b>G</b>roup import</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupimport();"><font size="-2">Import</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:groupcopy();"><b>G</b>roup copy</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupcopy();"><font size="-2">Copy</font></a></td> |
<td bgcolor="#ffffcc"><a href="javascript:graphdef='no';save();storechange();"><b>S</b>ave map</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:graphdef='no';save();storechange();"><font size="-2">Save map</font></a></td> |
<td bgcolor="#ccffcc"><a href="javascript:storechange();"><b>S</b>ave map and layout</a> </td> |
<td bgcolor="#ccffcc"><a href="javascript:storechange();"><font size="-2">Save map and layout</font></a></td> |
</tr></table> |
</tr></table> |
</td></tr></table> |
</td></tr></table> |
<script> |
<script> |