Ich brauche Hilfe, weil ich nicht gut mit CSS bin. Ich möchte ein Floating-Fell erstellen und Panel auf Google Maps ähnlich dem hier gezeigten Beispiel anzeigen: http://jsfiddle.net/rionmonster/J8U25/Wie erstellt man das Verstecken- und Zeigen-Panel über Google Maps?
Aber ich versage immer noch. hier ist der Screenshot: wenn versteckt:
, wenn ich auf den roten Knopf Fenster anzuzeigen klicken:
hier ist mein CSS:
#map-canvas {
margin:0;
float: right;
width: 70%;
position: absolute;
padding: 0;
height: 650px;
z-index:1;
max-width: none;
}
#click {
margin:0;
height: 50px;
width: 25px;
position: absolute;
background: red;
float: right;
margin-top: 200px;
z-index: 2;
}
#floating-panel {
float:right;
width: 17%;
position: absolute;
top: 90px;
left: 5%;
z-index: 5;
background-color: #fff;
padding: 0px;
display: none;
border: 1px solid #999;
text-align: left;
font-family: 'Roboto', 'sans-serif';
line-height: 30px;
margin-top: 90px;
}
und hier ist mein HTML-Tag:
<div class="container-fluid">
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-8">
<div id="floating-panel">
<b>Start: </b>
<select id="start">
<option value="Stasiun Pondok Cina">Pondok Cina</option>
</select>
<br> <b>End: </b>
<select id="end">
<option size="25" value="Margonda Residence">Margonda Residence</option>
</select>
</div>
<div id='click'></div>
<div id="map-canvas" ></div>
</div>
</div>
</div>
danke für deine hilfe :)
Es scheint, dass Sie das 'select' Element, um Stil benötigen. –