version 1.56, 2002/05/24 16:39:23
|
version 1.57, 2002/05/24 18:08:39
|
Line 1636 function idxopen(mode) {
|
Line 1636 function idxopen(mode) {
|
idx=open("/res/?launch=1&mode=rat&catalogmode="+mode,"idxout",options); |
idx=open("/res/?launch=1&mode=rat&catalogmode="+mode,"idxout",options); |
idx.focus(); |
idx.focus(); |
} |
} |
|
// ------------------------------------------------- Open browser to select map |
|
var editbrowser; |
|
function openbrowser(formname,elementname,only,omit) { |
|
var url = '/res/?'; |
|
if (editbrowser == null) { |
|
url += 'launch=1&'; |
|
} |
|
url += 'catalogmode=interactive&'; |
|
url += 'mode=edit&'; |
|
url += 'form=' + formname + '&'; |
|
if (only != null) { |
|
url += 'only=' + only + '&'; |
|
} |
|
if (omit != null) { |
|
url += 'omit=' + omit + '&'; |
|
} |
|
url += 'element=' + elementname + ''; |
|
var title = 'Browser'; |
|
var options = 'scrollbars=1,resizable=1,menubar=0'; |
|
options += ',width=700,height=600'; |
|
editbrowser = copydx.open(url,title,options,'1'); |
|
editbrowser.focus(); |
|
} |
// ----------------------------------------------------------- Open copy window |
// ----------------------------------------------------------- Open copy window |
function copydxopen(mode) { |
function copydxopen(mode) { |
var options="scrollbars=1,resizable=1,menubar=0"; |
var options="scrollbars=1,resizable=1,menubar=0"; |
Line 1645 function copydxopen(mode) {
|
Line 1667 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>Group Copy from Map</h1>'+ |
|
'<form name="mapload"><input type=text size=40 name=importmap>'+ |
|
'<input type=button onClick="javascript:opener.openbrowser'+ |
|
"('mapload','importmap','sequence,page','')"+ |
|
'" value="Browse"><input type=button value="Load Map" '+ |
|
'onClick="window.location=document.mapload.importmap.value+'+ |
|
"'?launch=1&forceselect=1'"+'"></form>'); |
|
|
copydx.document.writeln('</body></html>'); |
copydx.document.writeln('</body></html>'); |
copydx.focus(); |
copydx.focus(); |
} |
} |