source: trunk/mapbender/http/nav/alkisnav_adr.htm @ 356

Revision 356, 5.6 KB checked in by frank.jaeger, 4 years ago (diff)

ALKIS-Mapbender-Navigation umgestellt von .ico- auf .png-Grafiken.
Weitere kleine Korrekturen an ALKIS-Mapbender-Navigation.

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4        <meta http-equiv="cache-control" content="no-cache">
5        <meta http-equiv="pragma" content="no-cache">
6        <meta http-equiv="expires" content="0">
7        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8        <base target="_self">
9        <title>ALKIS-Suche Adressen</title>
10        <link rel="stylesheet" type="text/css" href="alkisnav.css">
11        <script type="text/javascript" language="JavaScript">
12                // Parameter fuer Mandant aus url lesen
13                var parms = location.search.split("&");
14                var arr = parms[0].split("=", 2); // 0: "?gkz"  1: "150"
15                var gkz = "000";
16                if(arr[0] == "?gkz") {gkz = arr[1];}
17                var arr = parms[1].split("=", 2)
18                var gem = "0";
19                if(arr[0] == "gemeinde") {gem = arr[1];}
20
21                // aktuellen EPSG-Code der Mapbender-GUI auslesen
22                function sendGuiEpsg () {
23                        var MapObj = parent.parent.getMapObjIndexByName;
24                        if (typeof MapObj == "function" ) { // beim Laden der GUI noch "undefined"
25                                var ind = parent.parent.getMapObjIndexByName("mapframe1");
26                                var epsg = parent.parent.mb_mapObj[ind].getSRS();
27                                document.forms[0].epsg.value = epsg;
28                        }
29                } // AnfÀnglich wird der EPSG aus der .conf verwendet.
30                // Hin- und Herschalten zwischen den Such-Typen ADR/EIG/FS/GB aktualisiert den EPSG
31
32                // Bei Absenden des Formulars:
33                function validate() {
34                        document.forms[0].gkz.value = gkz;
35                        document.forms[0].gemeinde.value = gem;
36                        sendGuiEpsg();
37                }
38        </script>
39</head>
40<body>
41<!-- <body onload="javascript:validate();"> -->
42
43<div id='tabs'>
44<ul>
45        <script type="text/javascript" language="JavaScript">
46                document.writeln("<li class='aktiveTab'>Adresse</li>");
47                document.writeln("<li><a target='_self' href='alkisnav_eig.htm?gkz=" + gkz + "&amp;gemeinde=" + gem + "'>Name</a></li>");
48                document.writeln("<li><a target='_self' href='alkisnav_fls.htm?gkz=" + gkz + "&amp;gemeinde=" + gem + "'>Flurst&uuml;ck</a></li>");
49                document.writeln("<li><a target='_self' href='alkisnav_grd.htm?gkz=" + gkz + "&amp;gemeinde=" + gem + "'>Grundb.</a></li>");
50        </script>
51</ul>
52</div>
53
54<form class='nav' name='AdrGazetteerFrame' onsubmit='return validate()' target='AdrResultFrame' action='alkisnav_adr.php'>
55        <input name='gkz' type='hidden'>
56        <input name='gemeinde' type='hidden' >
57        <input name='epsg' type='hidden'>
58        <input class='textfield' name='street' type='text' size='22' title='Stra&szlig;enname (Anfang)'>
59        <input class='sbutton' type='submit' value='ok'>
60        <br>
61        <span class="letter" onclick="validate(); document.forms[0].street.value='A'; document.forms[0].submit();">A</span>
62        <span class="letter" onclick="validate(); document.forms[0].street.value='B'; document.forms[0].submit();">B</span>
63        <span class="letter" onclick="validate(); document.forms[0].street.value='C'; document.forms[0].submit();">C</span>
64        <span class="letter" onclick="validate(); document.forms[0].street.value='D'; document.forms[0].submit();">D</span>
65        <span class="letter" onclick="validate(); document.forms[0].street.value='E'; document.forms[0].submit();">E</span>
66        <span class="letter" onclick="validate(); document.forms[0].street.value='F'; document.forms[0].submit();">F</span>
67        <span class="letter" onclick="validate(); document.forms[0].street.value='G'; document.forms[0].submit();">G</span>
68        <span class="letter" onclick="validate(); document.forms[0].street.value='H'; document.forms[0].submit();">H</span>
69        <span class="letter" onclick="validate(); document.forms[0].street.value='I'; document.forms[0].submit();">I</span>
70        <span class="letter" onclick="validate(); document.forms[0].street.value='J'; document.forms[0].submit();">J</span>
71        <span class="letter" onclick="validate(); document.forms[0].street.value='K'; document.forms[0].submit();">K</span>
72        <span class="letter" onclick="validate(); document.forms[0].street.value='L'; document.forms[0].submit();">L</span>
73        <span class="letter" onclick="validate(); document.forms[0].street.value='M'; document.forms[0].submit();">M</span>
74        <span class="letter" onclick="validate(); document.forms[0].street.value='N'; document.forms[0].submit();">N</span>
75        <br>
76        <span class="letter" onclick="validate(); document.forms[0].street.value='O'; document.forms[0].submit();">O</span>
77        <span class="letter" onclick="validate(); document.forms[0].street.value='P'; document.forms[0].submit();">P</span>
78        <span class="letter" onclick="validate(); document.forms[0].street.value='Q'; document.forms[0].submit();">Q</span>
79        <span class="letter" onclick="validate(); document.forms[0].street.value='R'; document.forms[0].submit();">R</span>
80        <span class="letter" onclick="validate(); document.forms[0].street.value='S'; document.forms[0].submit();">S</span>
81        <span class="letter" onclick="validate(); document.forms[0].street.value='T'; document.forms[0].submit();">T</span>
82        <span class="letter" onclick="validate(); document.forms[0].street.value='U'; document.forms[0].submit();">U</span>
83        <span class="letter" onclick="validate(); document.forms[0].street.value='V'; document.forms[0].submit();">V</span>
84        <span class="letter" onclick="validate(); document.forms[0].street.value='W'; document.forms[0].submit();">W</span>
85        <span class="letter" onclick="validate(); document.forms[0].street.value='X'; document.forms[0].submit();">X</span>
86        <span class="letter" onclick="validate(); document.forms[0].street.value='Y'; document.forms[0].submit();">Y</span>
87        <span class="letter" onclick="validate(); document.forms[0].street.value='Z'; document.forms[0].submit();">Z</span>
88</form>
89
90<iframe name="AdrResultFrame" src="blank_adr.html" class='ResultFrame'></iframe>
91
92</body>
93</html>
Note: See TracBrowser for help on using the repository browser.