source: trunk/data/mapbender/http/nav/alkisnav_adr.htm @ 95

Revision 95, 5.3 KB checked in by frank.jaeger, 9 years ago (diff)
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                // &gkz=150&gemeinde=40&test=ja
14                var parms = location.search.split("&");    // 0: "?gkz=150" 1: "gemeinde=40" 2: "test=ja"
15                var arr = parms[0].split("=", 2); // 0: "?gkz"  1: "150"
16                var gkz = "000";
17                if(arr[0] == "?gkz") {gkz = arr[1];}
18                var arr = parms[1].split("=", 2)
19                var gem = "0";
20                if(arr[0] == "gemeinde") {gem = arr[1];}
21                // aktueller EPSG-Code
22                function sendGuiEpsg () {
23                        var ind = parent.parent.getMapObjIndexByName("mapframe1");
24                        var epsg = parent.parent.mb_mapObj[ind].getSRS();
25                        document.forms[0].epsg.value = epsg;
26                }
27                function validate(){
28                        sendGuiEpsg();
29                        document.forms[0].gkz.value = gkz;
30                        document.forms[0].gemeinde.value = gem;
31                }
32        </script>
33</head>
34<body onload="javascript:validate();">
35
36<div id='tabs'>
37<ul>
38        <script type="text/javascript" language="JavaScript">
39                document.writeln("<li class='aktiveTab'>Adresse</li>");
40                document.writeln("<li><a target='_self' href='alkisnav_eig.htm?gkz=" + gkz + "&amp;gemeinde=" + gem + "'>Name</a></li>");
41                document.writeln("<li><a target='_self' href='alkisnav_fls.htm?gkz=" + gkz + "&amp;gemeinde=" + gem + "'>Flurst&uuml;ck</a></li>");
42                document.writeln("<li><a target='_self' href='alkisnav_grd.htm?gkz=" + gkz + "&amp;gemeinde=" + gem + "'>Grundb.</a></li>");
43        </script>
44</ul>
45</div>
46
47<form class='nav' name='AdrGazetteerFrame' onsubmit='return validate()' target='AdrResultFrame' action='alkisnav_adr.php'>
48        <input name='gkz' type='hidden'>
49        <input name='gemeinde' type='hidden' >
50        <input name='epsg' type='hidden'>
51        <input class='textfield' name='street' type='text' size='22' title='Stra&szlig;enname (Anfang)'>
52        <input class='sbutton' type='submit' value='ok'>
53        <br>
54        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='A'; document.forms[0].submit();">A</span>
55        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='B'; document.forms[0].submit();">B</span>
56        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='C'; document.forms[0].submit();">C</span>
57        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='D'; document.forms[0].submit();">D</span>
58        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='E'; document.forms[0].submit();">E</span>
59        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='F'; document.forms[0].submit();">F</span>
60        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='G'; document.forms[0].submit();">G</span>
61        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='H'; document.forms[0].submit();">H</span>
62        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='I'; document.forms[0].submit();">I</span>
63        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='J'; document.forms[0].submit();">J</span>
64        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='K'; document.forms[0].submit();">K</span>
65        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='L'; document.forms[0].submit();">L</span>
66        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='M'; document.forms[0].submit();">M</span>
67        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='N'; document.forms[0].submit();">N</span>
68        <br>
69        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='O'; document.forms[0].submit();">O</span>
70        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='P'; document.forms[0].submit();">P</span>
71        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='Q'; document.forms[0].submit();">Q</span>
72        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='R'; document.forms[0].submit();">R</span>
73        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='S'; document.forms[0].submit();">S</span>
74        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='T'; document.forms[0].submit();">T</span>
75        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='U'; document.forms[0].submit();">U</span>
76        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='V'; document.forms[0].submit();">V</span>
77        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='W'; document.forms[0].submit();">W</span>
78        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='X'; document.forms[0].submit();">X</span>
79        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='Y'; document.forms[0].submit();">Y</span>
80        <span class="letter" onclick="sendGuiEpsg(); document.forms[0].street.value='Z'; document.forms[0].submit();">Z</span>
81</form>
82
83<iframe name="AdrResultFrame" src="blank_adr.html" class='ResultFrame'></iframe>
84
85</body>
86</html>
Note: See TracBrowser for help on using the repository browser.