comparison gwt-client/src/main/webapp/images/FLYS_Karte_interactive.html @ 5926:2604106173b6

HTML document and images for interactive image map.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 08 May 2013 16:31:49 +0200
parents
children f0550bac4468
comparison
equal deleted inserted replaced
5925:59f6a47822a4 5926:2604106173b6
1 <html>
2 <head>
3 <script type="text/javascript">
4 var highlighted = "";
5 function highlight(name){
6 unHighlight(highlighted);
7 var river;
8 if (availableRiver(name)) {
9 console.log('highlighting ' + name);
10 river = document.getElementById(name);
11 }
12 else {
13 console.log('not available' + name);
14 river = document.getElementById(name + "_inactive");
15 }
16 if (river) {
17 highlighted = name;
18 highlightRiver(name);
19 river.style.visibility="visible";
20 }
21 }
22 function unHighlight(name) {
23 var river;
24 if (availableRiver(name)) {
25 river = document.getElementById(name);
26 }
27 else {
28 river = document.getElementById(name + "_inactive");
29 }
30 if (river) {
31 river.style.visibility="hidden";
32 }
33 }
34 </script>
35 </head>
36 <body>
37 <!-- Create Mappings -->
38 <div id="riverContainer">
39 <img src="images/FLYS_transp.png" usemap="#river" style="position: absolute;z-index: 100;">
40 <map name="river">
41
42 <!--FLYS_Karte.map-->
43 <!-- mit daten -->
44 <area id="donau_area" shape="poly" onmouseover="highlight('Donau')" onmouseout="unHighlight('Donau')" onclick="selectRiver('Donau')" coords="226,668,276,668,277,646,385,578,433,576,431,587,458,604,429,620,396,634,363,658,305,681,230,691" />
45 <area id="donau_Ende_area" shape="poly" onmouseover="highlight('Donau')" onmouseout="unHighlight('Donau')" onclick="selectRiver('Donau')" coords="482,551,505,534,559,530,560,574,639,621,639,659,562,646,561,631,589,595,557,579,525,589,490,573" />
46 <area id="donau_nordarm_area" shape="poly" onmouseover="highlight('Donau (Regensburg Nordarm)')" onmouseout="unHighlight('Donau (Regensburg Nordarm)')" onclick="selectRiver('Donau (Regensburg Nordarm)')" coords="437,567,432,587,454,600,478,596,467,570,491,542,443,534,441,556" />
47 <area id="donau_schleusen_area" shape="poly" onmouseover="highlight('Donau (Schleusenkanäle)')" onmouseout="unHighlight('Donau (Schleusenkanäle)')" onclick="selectRiver('Donau (Schleusenkanäle)')" coords="467,569,482,552,490,573,526,589,559,579,589,596,561,631,557,614,522,618,504,600,477,594" />
48 <area id="elbe_area" shape="poly" onmouseover="highlight('Elbe')" onmouseout="unHighlight('Elbe')" onclick="selectRiver('Elbe')" coords="271,131,261,147,345,191,337,243,388,243,418,238,395,284,412,310,446,315,454,329,514,397,550,447,580,451,593,461,593,466,629,489,643,470,639,444,596,392,575,360,573,327,509,293,462,289,444,229,448,219,298,131" />
49 <area id="fulda_sommer_area" shape="poly" onmouseover="highlight('Fulda (Sommer)')" onmouseout="unHighlight('Fulda (Sommer)')" onclick="selectRiver('Fula (Sommer)')" coords="315,363,307,371,307,381,313,386,310,393,322,402,322,414,312,425,305,437,338,436,350,410,334,399,326,389" />
50 <area id="fulda_winter_area" shape="poly" onmouseover="highlight('Fulda (Winter)')" onmouseout="unHighlight('Fulda (Winter)')" onclick="selectRiver('Fulda (Winter)')" coords="315,362,307,370,307,380,313,385,310,392,315,397,322,401,322,413,313,423,305,436,279,434,262,411,260,395,275,375,299,357" />
51 <area id="havel_area" shape="poly" onmouseover="highlight('Havel')" onmouseout="unHighlight('Havel')" onclick="selectRiver('Havel')" coords="444,230,462,288,519,270,533,217,519,177,491,189,458,202" />
52 <area id="lahn_area" shape="poly" onmouseover="highlight('Lahn')" onmouseout="unHighlight('Lahn')" onclick="selectRiver('Lahn')" coords="195,464,197,450,186,413,262,411,285,442,270,459,217,472" />
53 <area id="main_area" shape="poly" onmouseover="highlight('Main')" onmouseout="unHighlight('Main')" onclick="selectRiver('Main')" coords="240,492,240,466,303,462,335,445,375,444,454,469,468,501,394,500,381,480,350,480,337,493,344,541,308,529,272,524,269,504" />
54 <area id="main_limbach_area" shape="poly" onmouseover="highlight('Main (Wehrarm Limbach)')" onmouseout="unHighlight('Main (Wehrarm Limbach)')" onclick="selectRiver('Main (Wehrarm Limbach)')" coords="360,480,381,480,393,500,383,519,368,520" />
55 <area id="main_volkach_area" shape="poly" onmouseover="highlight('Main (Wehrarm Volkach)')" onmouseout="unHighlight('Main (Wehrarm Volkach)')" onclick="selectRiver('Main (Wehrarm Volkach)')" coords="350,480,360,480,368,522,343,541,337,493" />
56 <area id="mosel_area" shape="poly" onmouseover="highlight('Mosel')" onmouseout="unHighlight('Mosel')" onclick="selectRiver('Mosel')" coords="190,467,170,461,138,453,102,466,103,494,98,537,86,600,125,604,149,583,130,543,140,518,162,515,194,511" />
57 <area id="neckar_area" shape="poly" onmouseover="highlight('Neckar')" onmouseout="unHighlight('Neckar')" onclick="selectRiver('Neckar')" coords="231,641,253,653,288,640,386,577,357,559,342,541,319,540,292,547,290,583,308,590,306,615,250,604,226,630" />
58 <area id="neckar_wehrarm_area" shape="poly" onmouseover="highlight('Neckar (über Wehrarme)')" onmouseout="unHighlight('Neckar (über Wehrarme)')" onclick="selectRiver('Neckar (über Wehrarme)')" coords="272,524,248,540,253,561,259,570,254,605,306,615,308,590,290,583,292,546,320,540,309,529" />
59 <area id="oder_area" shape="poly" onmouseover="highlight('Oder')" onmouseout="unHighlight('Oder')" onclick="selectRiver('Oder')" coords="572,143,542,155,542,178,529,203,541,238,565,252,583,273,570,307,603,327,641,320,639,286,633,275,614,269,619,246,635,236,637,195,606,160" />
60 <area id="rhein_area" shape="poly" onmouseover="highlight('Rhein')" onmouseout="unHighlight('Rhein')" onclick="selectRiver('Rhein')" coords="86,301,138,317,157,334,153,355,177,381,185,407,198,450,197,464,219,471,224,478,240,473,241,492,269,502,273,523,249,539,254,561,260,570,256,597,227,628,229,639,252,653,277,644,279,668,236,670,237,690,265,687,281,696,283,717,248,728,188,737,170,718,167,669,203,569,222,545,213,521,195,521,193,467,171,459,145,444,122,403,49,391,52,352,23,344,4,304" />
61 <area id="saale_area" shape="poly" onmouseover="highlight('Saale')" onmouseout="unHighlight('Saale')" onclick="selectRiver('Saale')" coords="445,314,414,311,366,299,366,342,395,346,404,356,424,358,477,354,463,341" />
62 <area id="saale_thüringen_area" shape="poly" onmouseover="highlight('Saale-Thüringen')" onmouseout="unHighlight('Saale-Thüringen')" onclick="selectRiver('Saale-Thüringen')" coords="424,358,476,354,490,384,430,461,375,444,387,415,402,408,420,387,435,383" />
63 <area id="saar_area" shape="poly" onmouseover="highlight('Saar')" onmouseout="unHighlight('Saar')" onclick="selectRiver('Saar')" coords="150,539,129,544,139,564,155,588,181,593,187,565,201,536,195,526,195,512,154,516" />
64 <area id="saar_wittingerbogen_area" shape="poly" onmouseover="highlight('Saar (Wittinger Bogen)')" onmouseout="unHighlight('Saar (Wittinger Bogen)')" onclick="selectRiver('Saar (Wittinger Bogen)')" coords="139,518,155,516,149,540,130,542" />
65 <area id="werra_sommer_area" shape="poly" onmouseover="highlight('Werra (Sommer)')" onmouseout="unHighlight('Werra (Sommer)')" onclick="selectRiver('Werra (Sommer)')" coords="316,361,334,351,360,342,387,345,398,354,384,372,381,389,371,400,350,390,345,382,336,378,334,372,329,368" />
66 <area id="werra_winter_area" shape="poly" onmouseover="highlight('Werra (Winter)')" onmouseout="unHighlight('Werra (Winter)')" onclick="selectRiver('Werra (Winter)')" coords="315,362,326,388,334,398,350,409,370,400,353,391,347,388,346,385,344,382,335,378,333,372,329,368" />
67 <area id="weser_area" shape="poly" onmouseover="highlight('Weser')" onmouseout="unHighlight('Weser')" onclick="selectRiver('Weser')" coords="255,166,227,172,232,227,268,237,241,279,246,298,247,313,275,313,282,330,289,353,314,363,332,351,318,328,316,308,299,280,303,255,300,217,263,203,273,176" />
68 <!-- ohne daten -->
69 <area id="donau_1_area" shape="poly" onmouseover="highlight('Donau_1')" onmouseout="unHighlight('Donau_1')" onclick="selectRiver('Donau_1')" coords="346,639,316,672,334,750,379,750,374,735,369,715,370,696,372,664,365,648" />
70 <area id="donau_2_area" shape="poly" onmouseover="highlight('Donau_2')" onmouseout="unHighlight('Donau_2')" onclick="selectRiver('Donau_2')" coords="394,615,370,655,373,670,370,721,380,749,409,741,403,706,413,682,412,644,416,623" />
71 <area id="donau_3_area" shape="poly" onmouseover="highlight('Donau_3')" onmouseout="unHighlight('Donau_3')" onclick="selectRiver('Donau_3')" coords="503,600,477,596,459,603,427,622,413,644,414,682,404,707,416,748,448,717,456,705,456,682,450,659,464,634,518,617" />
72 <area id="donau_4_area" shape="poly" onmouseover="highlight('Donau_4')" onmouseout="unHighlight('Donau_4')" onclick="selectRiver('Donau_4')" coords="556,614,507,621,466,635,451,660,456,679,457,706,434,732,419,747,482,745,510,696,506,669,562,645" />
73 <area id="Elbe_1_area" shape="poly" onmouseover="highlight('Elbe_1')" onmouseout="unHighlight('Elbe_1')" onclick="selectRiver('Elbe_1')" coords="582,452,565,449,559,517,606,527,628,489,593,466,594,462" />
74 <area id="Elbe_2_area" shape="poly" onmouseover="highlight('Elbe_2')" onmouseout="unHighlight('Elbe_2')" onclick="selectRiver('Elbe_2')" coords="387,183,394,112,430,115,450,153,520,176,457,202,449,219" />
75 <area id="Elbe_3_area" shape="poly" onmouseover="highlight('Elbe_3')" onmouseout="unHighlight('Elbe_3')" onclick="selectRiver('Elbe_3')" coords="393,111,387,183,328,150,364,109,374,99" />
76 <area id="Elbe_4_area" shape="poly" onmouseover="highlight('Elbe_4')" onmouseout="unHighlight('Elbe_4')" onclick="selectRiver('Elbe_4')" coords="331,150,373,92,367,68,341,62,308,81,310,106,276,119,276,133,300,131" />
77 <area id="Elbe_5_area" shape="poly" onmouseover="highlight('Elbe_5')" onmouseout="unHighlight('Elbe_5')" onclick="selectRiver('Elbe_5')" coords="239,90,283,74,307,81,309,104,303,109,255,124" />
78 <area id="Elbe_6_area" shape="poly" onmouseover="highlight('Elbe_6')" onmouseout="unHighlight('Elbe_6')" onclick="selectRiver('Elbe_6')" coords="263,148,271,171,276,185,315,210,341,205,335,186" />
79 <area id="Ems_area" shape="poly" onmouseover="highlight('Ems')" onmouseout="unHighlight('Ems')" onclick="selectRiver('Ems')" coords="175,170,144,199,176,306,156,337,154,357,171,374,245,349,229,309,226,262,208,227,215,169" />
80 <area id="Main_Donau_area" shape="poly" onmouseover="highlight('Main_Donau')" onmouseout="unHighlight('Main_Donau')" onclick="selectRiver('Main_Donau')" coords="384,519,371,521,343,541,355,558,396,578,433,576,442,556,426,500,392,500" />
81 <area id="Saale_1_area" shape="poly" onmouseover="highlight('Saale_1')" onmouseout="unHighlight('Saale_1')" onclick="selectRiver('Saale_1')" coords="423,358,395,356,382,375,381,390,402,407,419,387,435,383" />
82 <area id="Spree_area" shape="poly" onmouseover="highlight('Spree')" onmouseout="unHighlight('Spree')" onclick="selectRiver('Spree')" coords="530,234,550,244,563,251,582,274,573,295,516,283" />
83 <area id="Weser_1_area" shape="poly" onmouseover="highlight('Weser_1')" onmouseout="unHighlight('Weser_1')" onclick="selectRiver('Weser_1')" coords="260,202,274,183,299,201,299,217,285,216" />
84 <area id="Weser_2_area" shape="poly" onmouseover="highlight('Weser_2')" onmouseout="unHighlight('Weser_2')" onclick="selectRiver('Weser_2')" coords="300,216,333,231,352,343,329,346,318,327,317,307,300,279,304,252" />
85 </map>
86 <!-- mit Daten -->
87 <img src="images/FLYS_Karte.png" style="position: absolute; left: 8px; top: 8px; z-index: 1" >
88 <img src="images/FLYS_Donau.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Donau" >
89 <img src="images/FLYS_Donau_Nordarm.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Donau (Regensburg Nordarm)" >
90 <img src="images/FLYS_Donau_Schleusen.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Donau (Schleusenkanäle)" >
91 <img src="images/FLYS_Elbe.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Elbe" >
92 <img src="images/FLYS_Fulda_Sommer.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Fulda (Sommer)" >
93 <img src="images/FLYS_Fulda_Winter.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Fulda (Winter)" >
94 <img src="images/FLYS_Havel.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Havel" >
95 <img src="images/FLYS_Lahn.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Lahn" >
96 <img src="images/FLYS_Main.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Main" >
97 <img src="images/FLYS_Main_Limbach.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Main (Wehrarm Limbach)" >
98 <img src="images/FLYS_Main_Volkach.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Main (Wehrarm Volkach)" >
99 <img src="images/FLYS_Mosel.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Mosel" >
100 <img src="images/FLYS_Neckar.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Neckar" >
101 <img src="images/FLYS_Neckar_Wehrarm.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Neckar (über Wehrarme)" >
102 <img src="images/FLYS_Oder.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Oder" >
103 <img src="images/FLYS_Rhein.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Rhein" >
104 <img src="images/FLYS_Saale.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Saale" >
105 <img src="images/FLYS_Saar.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Saar" >
106 <img src="images/FLYS_Werra_Sommer.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Werra (Sommer)" >
107 <img src="images/FLYS_Werra_Winter.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Werra (Winter)" >
108 <img src="images/FLYS_Weser.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Weser" >
109 <!-- ohne Daten -->
110 <img src="images/FLYS_Donau_1_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Donau_1_inactive" >
111 <img src="images/FLYS_Donau_2_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Donau_2_inactive" >
112 <img src="images/FLYS_Donau_3_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Donau_3_inactive" >
113 <img src="images/FLYS_Donau_4_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Donau_4_inactive" >
114 <img src="images/FLYS_Elbe_1_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Elbe_1_inactive" >
115 <img src="images/FLYS_Elbe_2_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Elbe_2_inactive" >
116 <img src="images/FLYS_Elbe_3_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Elbe_3_inactive" >
117 <img src="images/FLYS_Elbe_4_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Elbe_4_inactive" >
118 <img src="images/FLYS_Elbe_5_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Elbe_5_inactive" >
119 <img src="images/FLYS_Elbe_6_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Elbe_6_inactive" >
120 <img src="images/FLYS_Ems_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Ems_inactive" >
121 <img src="images/FLYS_Main_Donau_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Main_Donau_inactive" >
122 <img src="images/FLYS_Saale_1_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Saale_1_inactive" >
123 <img src="images/FLYS_Spree_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Spree_inactive" >
124 <img src="images/FLYS_Weser_1_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Weser_1_inactive" >
125 <img src="images/FLYS_Weser_2_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Weser_2_inactive" >
126 <img src="images/FLYS_Donau_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Donau_inactive" >
127 <img src="images/FLYS_Donau_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Donau (Regensburg Nordarm)_inactive" >
128 <img src="images/FLYS_Donau_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Donau (Schleusenkanäle)_inactive" >
129 <img src="images/FLYS_Fulda_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Fulda (Sommer)_inactive" >
130 <img src="images/FLYS_Fulda_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Fulda (Winter)_inactive" >
131 <img src="images/FLYS_Havel_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Havel_inactive" >
132 <img src="images/FLYS_Lahn_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Lahn_inactive" >
133 <img src="images/FLYS_Main_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Main_inactive" >
134 <img src="images/FLYS_Main_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Main (Wehrarm Limbach)_inactive" >
135 <img src="images/FLYS_Main_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Main (Wehrarm Volkach)_inactive" >
136 <img src="images/FLYS_Mosel_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Mosel_inactive" >
137 <img src="images/FLYS_Neckar_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Neckar_inactive" >
138 <img src="images/FLYS_Neckar_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Neckar (über Wehrarme)_inactive" >
139 <img src="images/FLYS_Saale_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Saale_inactive" >
140 <img src="images/FLYS_Saar_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Saar_inactive" >
141 <img src="images/FLYS_Werra_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Werra (Sommer)_inactive" >
142 <img src="images/FLYS_Werra_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Werra (Winter)_inactive" >
143 <img src="images/FLYS_Weser_inactive.png" style="position: absolute; left: 8px; top: 8px; visibility: hidden; z-index: 50;" id="Weser_inactive" >
144 </div>
145 </body>
146 </html>

http://dive4elements.wald.intevation.org