📄 addmatch.htm
字号:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<HTML>
<HEAD>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
var t_geo;
if (opener) {
if (opener.name=="MapFrame") {
t_geo = opener.parent.MapFrame;
} else {
t_geo = opener;
}
} else {
if (parent.MapFrame) {
t_geo = parent.MapFrame;
} else {
t_geo=document;
}
}
document.writeln('<TITLE>' + t_geo.titleList[11] + '</TITLE>');
function setGCActiveLayer() {
var theForm = document.forms[0];
var theIndex = theForm.theLayer.selectedIndex;
t_geo.GCActiveLayer = theIndex;
//t_geo.GCActiveLayer = theForm.theLayer.options[theIndex].value;
//alert(theIndex);
t_geo.setupGeocode();
//document.location = "addmatch.htm";
}
function sendQuery() {
var theForm = document.forms[0];
if (t_geo.GCidCount>1) {
for (var i=0;i<theForm.idField.length;i++) {
t_geo.GCvalue[i] = theForm.idField[i].value;
}
} else {
t_geo.GCvalue[0] = theForm.idField.value;
}
var theText = t_geo.writeGeocodeXML();
t_geo.sendToServer(t_geo.imsGeocodeURL,theText,27);
//if (opener) {
// window.close();
//} else {
// document.location = "text.htm";
//}
//t=null;
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="Black" TEXT="White" LEFTMARGIN=0 TOPMARGIN=0 RIGHTMARGIN=0 onload="window.focus()">
<FORM onsubmit="sendQuery(); return false;">
<TABLE WIDTH="100%" CELLSPACING="2">
<TR>
<TD BGCOLOR="Silver">
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
var t_geo;
if (opener) {
if (opener.name=="MapFrame") {
t_geo = opener.parent.MapFrame;
} else {
t_geo = opener;
}
} else {
if (parent.MapFrame) {
t_geo = parent.MapFrame;
} else {
t_geo = document;
}
}
document.writeln('<FONT FACE="Arial" SIZE="-1" COLOR="Black">' + t_geo.msgList[88] + '</FONT>');
document.writeln('<SELECT NAME="theLayer">');
for (var i=0;i<t_geo.GCLayerCount;i++) {
document.write('<option value="' + t_geo.GCLayers[i] + '"');
//if (t.GCLayers[i]==t.GCActiveLayer) document.write(' selected');
if (i==t_geo.GCActiveLayer) document.write(' selected');
document.writeln('>' + t_geo.GCLayers[i]);
}
document.writeln('</select>');
if (t_geo.GCLayerCount>1) document.writeln(' <input type="button" onclick="setGCActiveLayer()" value="' + t_geo.buttonList[12] + '">');
document.writeln('</TD>');
document.writeln('<TD BGCOLOR="Silver" ALIGN="CENTER"><INPUT TYPE="Button" NAME="theButton" VALUE="' + t_geo.buttonList[13] + '" onclick="sendQuery()"></TD>');
document.writeln('</TR>');
for (var i=0;i<t_geo.GCidCount;i++) {
if ((t_geo.GClabel[i]=="x") || (t_geo.GClabel[i]=="y") || (t_geo.GClabel[i]=="style")) {
document.writeln('<input type="hidden" name="idField" value="">');
} else {
document.writeln('<tr>');
document.writeln(' <td bgcolor="Silver">');
document.writeln(' <font face="Arial" size="-1" color="Black">' + t_geo.GClabel[i] + ':</font><br>');
document.writeln(' <font face="Arial" size="-2" color="Black">' + t_geo.GCdesc[i] + '</font>');
document.writeln(' </td>');
document.writeln(' <td bgcolor="Silver"><input type="Text" name="idField">');
document.writeln(' </td>');
document.writeln('</tr>');
}
}
</SCRIPT>
</TABLE>
</FORM>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -