📄 toolbar.htm
字号:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="imagetoolbar" content="false">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<HTML>
<HEAD>
<SCRIPT LANGUAGE=JAVASCRIPT>
var t = parent.MapFrame;
document.writeln('<TITLE> ' + t.titleList[12] + '</TITLE>');
var lBreak = "<br>";
var isSecond=true;
var currModeName="zoomin";
var version = navigator.appVersion;
var browser = navigator.appName;
//alert(browser);
function revertToolPic() {
// reset tool icons to non-set mode
//alert(lastMode);
if (parent.MapFrame.useZoomIn) document.zoomin.src="images/zoomin_1.gif";
if (parent.MapFrame.useZoomOut) document.zoomout.src="images/zoomout_1.gif";
if (parent.MapFrame.useIdentify) document.identify.src="images/identify_1.gif";
if (parent.MapFrame.usePan) document.pan.src="images/pan_1.gif";
if (parent.MapFrame.useMeasure) document.measure.src="images/measure_1.gif";
if (parent.MapFrame.useSelect) {
document.rect.src="images/select_rect_1.gif";
document.line.src="images/select_1.gif";
}
if (parent.MapFrame.useBufferShape) document.buffershape.src="images/buffershape_1.gif";
if (parent.MapFrame.useHyperLink) document.hyperlink.src="images/hotlink_1.gif";
if (parent.MapFrame.useHyperLinkAny) document.hyperlink.src="images/hotlink_1.gif";
if (parent.MapFrame.useIdentifyAll) document.identifyall.src="images/identifyall_1.gif";
}
function setToolPic(functName) {
// set clicked button icon to set mode
//if (functName!=parent.MapFrame.modeName) {
revertToolPic();
parent.MapFrame.focus();
//alert(functName);
if (functName=="Zoom In") {
document.zoomin.src="images/zoomin_2.gif";
} else if (functName=="Zoom Out") {
document.zoomout.src="images/zoomout_2.gif";
} else if (functName=="Identify") {
document.identify.src="images/identify_2.gif";
} else if (functName=="Pan") {
document.pan.src="images/pan_2.gif";
} else if (functName=="Measure") {
document.measure.src="images/measure_2.gif";
} else if (functName=="Select Rectangle") {
document.rect.src="images/select_rect_2.gif";
} else if (functName=="Buffer Shape") {
document.buffershape.src="images/buffershape_2.gif";
} else if (functName=="Select Line/Polygon") {
document.line.src="images/select_2.gif";
} else if (functName=="HyperLink") {
document.hyperlink.src="images/hotlink_2.gif";
} else if (functName=="Identify All") {
document.identifyall.src="images/identifyall_2.gif";
}
//}
}
function openGeoNetwork() {
var Win1 = window.open("http://www.geographynetwork.com","","scrollbars,resizable,toolbar,width=750,height=580");
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="Silver" TEXT="Black" LINK="White" VLINK="White" LEFTMARGIN=0 TOPMARGIN=0 RIGHTMARGIN=0 ALINK="White" onload="setToolPic(parent.MapFrame.modeBlurb)">
<DIV ALIGN="center">
<TABLE BORDER="1" CELLSPACING="0" CELLPADDING="1" ALIGN="CENTER" VALIGN="MIDDLE" BGCOLOR="White" BORDERCOLOR="Gray" BORDERCOLORLIGHT="Silver" BORDERCOLORDARK="Black">
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript1.2">
/*
if (parent.MapFrame.useGeoNetwork) {
document.writeln('<tr><TD COLSPAN="2" align="center" valign="middle">');
document.writeln('<IMG SRC="images/GN_tool1.gif" WIDTH=18 HEIGHT=18 HSPACE=0 VSPACE=0 BORDER=0 ALT="Geography Network" onmousedown="openGeoNetwork()" onmouseover="window.status=\'Geography Network\'">');
document.writeln('</TD></tr>');
}
*/
document.write('<tr>');
if ((parent.MapFrame.hasTOC) && (parent.MapFrame.aimsLegendPresent)) {
// Legend toggle. . . requires aimsLegend.js
document.write('<td align="center" valign="middle">');
document.write('<img src="images/togglelegend.gif" width=16 height=16 hspace=1 vspace=0 border=0 alt=" ' + t.buttonList[14] + '" name="legend" onmousedown="parent.MapFrame.clickFunction(\'legend\');" onmouseover="window.status=\' ' + t.buttonList[14] + '\'">');
isSecond = !isSecond;
document.writeln('</td>');
}
if (parent.MapFrame.hasOVMap) {
// Overview Map toggle . . . requires overview map
document.write('<td align="center" valign="middle">');
document.write('<img src="images/overview_html.gif" width=16 height=16 hspace=1 vspace=0 border=0 alt=" ' + t.buttonList[15] + '" name="refmap" onmousedown="parent.MapFrame.toggleOVMap();" onmouseover="window.status=\' ' + t.buttonList[15] + '\'">');
isSecond = !isSecond;
document.writeln('</td>');
if (isSecond) document.write('</tr><tr>');
}
if (parent.MapFrame.useZoomIn) {
// Zoom In . . . requires aimsNavigation.js
document.write('<td align="center" valign="middle">');
document.write('<img src="images/zoomin_1.gif" width=16 height=16 hspace=1 vspace=0 border=0 alt=" ' + t.buttonList[16] + '" name="zoomin" onmousedown="parent.MapFrame.clickFunction(\'zoomin\'); setToolPic(\'Zoom In\');" onmouseover="window.status=\' ' + t.buttonList[16] + '\'">');
isSecond = !isSecond;
document.writeln('</td>');
if (isSecond) document.write('</tr><tr>');
}
if (parent.MapFrame.useZoomOut) {
// Zoom Out . . . requires aimsNavigation.js
document.write('<td align="center" valign="middle">');
document.write('<img src="images/zoomout_1.gif" width=16 height=16 hspace=1 vspace=1 border=0 alt=" ' + t.buttonList[17] + '" name="zoomout" onmousedown="parent.MapFrame.clickFunction(\'zoomout\'); setToolPic(\'Zoom Out\');" onmouseover="window.status=\' ' + t.buttonList[17] + '\'">');
isSecond = !isSecond;
document.writeln('</td>');
if (isSecond) document.write('</tr><tr>');
}
if (parent.MapFrame.useFullExtent) {
// Full Extennt . . . requires amisLayers.js
document.write('<td align="center" valign="middle">');
document.write('<img src="images/fullextent_1.gif" width=16 height=16 hspace=1 vspace=1 border=0 alt=" ' + t.buttonList[18] + '" onmousedown="parent.MapFrame.clickFunction(\'fullextent\');" onmouseover="window.status=\' ' + t.buttonList[18] + '\'">');
isSecond = !isSecond
document.writeln('</td>');
if (isSecond) document.write('</tr><tr>');
}
if (parent.MapFrame.useZoomActive) {
// Zoom to Active Layer . . . requires aimsLayers.js
document.write('<td align="center" valign="middle">');
document.write('<img src="images/zoomactive_1.gif" width=16 height=16 hspace=1 vspace=1 border=0 alt=" ' + t.buttonList[19] + '" onmousedown="parent.MapFrame.clickFunction(\'zoomactive\');" onmouseover="window.status=\' ' + t.buttonList[19] + '\'">');
isSecond = !isSecond
document.writeln('</td>');
if (isSecond) document.write('</tr><tr>');
}
if (parent.MapFrame.useZoomLast) {
// Zoom to previous extent . . . requires aimsLayers.js
document.write('<td align="center" valign="middle">');
document.write('<img src="images/zoomlast.gif" width=16 height=16 hspace=1 vspace=1 border=0 alt=" ' + t.buttonList[20] + '" onmousedown="parent.MapFrame.clickFunction(\'zoomlast\');" onmouseover="window.status=\' ' + t.buttonList[20] + '\'">');
isSecond = !isSecond
document.writeln('</td>');
if (isSecond) document.write('</tr><tr>');
}
if (parent.MapFrame.usePan) {
// Pan Button . . . requires aimsNavigation.js
document.write('<td align="center" valign="middle">');
document.write('<img src="images/pan_1.gif" width=16 height=16 hspace=1 vspace=1 border=0 alt=" ' + t.buttonList[21] + '" name="pan" onmousedown="parent.MapFrame.clickFunction(\'pan\'); setToolPic(\'Pan\');" onmouseover="window.status=\' ' + t.buttonList[21] + '\'">');
isSecond = !isSecond
document.writeln('</td>');
if (isSecond) document.write('</tr><tr>');
}
if (parent.MapFrame.usePanNorth) {
// Pan North . . . requires aimsNavigation.js
document.write('<td align="center" valign="middle">');
document.write('<img src="images/pan_north.gif" width=16 height=16 hspace=1 vspace=1 border=0 alt=" ' + t.buttonList[22] + '" onmousedown="parent.MapFrame.panButton(2);" onmouseover="window.status=\' ' + t.buttonList[22] + '\'">');
isSecond = !isSecond
document.writeln('</td>');
if (isSecond) document.write('</tr><tr>');
}
if (parent.MapFrame.usePanSouth) {
// Pan South . . . requires aimsNavigation.js
document.write('<td align="center" valign="middle">');
document.write('<img src="images/pan_south.gif" width=16 height=16 hspace=1 vspace=1 border=0 alt=" ' + t.buttonList[23] + '" onmousedown="parent.MapFrame.panButton(4);" onmouseover="window.status=\' ' + t.buttonList[23] + '\'">');
isSecond = !isSecond
document.writeln('</td>');
if (isSecond) document.write('</tr><tr>');
}
if (parent.MapFrame.usePanWest) {
// Pan West . . . requires aimsNavigation.js
document.write('<td align="center" valign="middle">');
document.write('<img src="images/pan_west.gif" width=16 height=16 hspace=1 vspace=1 border=0 alt=" ' + t.buttonList[24] + '" onmousedown="parent.MapFrame.panButton(1);" onmouseover="window.status=\' ' + t.buttonList[24] + '\'">');
isSecond = !isSecond
document.writeln('</td>');
if (isSecond) document.write('</tr><tr>');
}
if (parent.MapFrame.usePanEast) {
// Pan East . . . requires aimsNavigation.js
document.write('<td align="center" valign="middle">');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -