<img id="nominatim-throbber" src="icons/throbber.gif">
</div>
- <div id="nominatim-suggestions">
- <div id="nominatim-suggestions-title"><?php echo $this->translate('more results')?></div>
- <ul id="nominatim-suggestions-list"></ul>
- </div>
-
</form>
<input id="create-btn" name="create-btn" type="button" value="<?php echo $this->translate('start a route');?>">
<?php
print $this->geomform;
?>
+
</div>
+<?php if (!isset($this->path)) {?>
+ <div id="nominatim-suggestions">
+ <div id="nominatim-suggestions-title"><?php echo $this->translate('more results')?></div>
+ <ul id="nominatim-suggestions-list"></ul>
+ </div>
+<?php }?>
+
+
</div>
<div id="newpwd_area" class="modal">
}
.menu-group {
+ z-index: 10; /* to be over nominatim-suggestions */
position: relative; /* otherwise, under #map in ie */
float: right;
clear: right;
border: 1px solid black;
padding: 0;
}
+
+#geomform {
+ padding: 25px 45px 20px 45px;
+ *width: 40%; /* otherwise takes all screen width in ie<7 */
+}
+#edit-btn {
+ margin-top: 1em;
+}
+#geom_title {
+ margin-top: 0.7em;
+}
+#geom_submit {
+ margin-top: 0.7em;
+}
+
+#other-language {
+ opacity: 0.85;
+ filter:alpha(opacity=85);
+ background-color: white;
+ padding: 5px 1px 5px 1px;
+ position: relative; /* otherwise, under #map in ie */
+}
+
+/* nominatim-suggestions */
#nominatim-suggestions {
+ text-align: left;
border: 2px solid blue;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
- margin-top: 8px;
-<<<<<<< HEAD
max-width: 360px;
width: 360px\9; /* ie only */
-=======
- max-width: 320px;
- width: 320px\9; /* ie only */
->>>>>>> cf7da47... display route length
- position: absolute;
background-color: white;
-}
-#nominatim-suggestions-title {
- text-align: center;
- font-weight: bold;
+ position: absolute;
+ right: 8px;
}
#nominatim-suggestions-list {
+ margin-left: 0;
+ position: relative;
list-style: none;
padding: 0 16px 0 12px;
}
+#nominatim-suggestions-title {
+ text-align: center;
+ font-weight: bold;
+}
#nominatim-suggestions-list li.current {
background-color: #D3D3D3;
}
text-decoration: none;
}
-#geomform {
- padding: 25px 45px 20px 45px;
- *width: 40%; /* otherwise takes all screen width in ie<7 */
-}
-#edit-btn {
- margin-top: 1em;
-}
-#geom_title {
- margin-top: 0.7em;
-}
-#geom_submit {
- margin-top: 0.7em;
-}
-
-#other-language {
- opacity: 0.85;
- filter:alpha(opacity=85);
- background-color: white;
- padding: 5px 1px 5px 1px;
- position: relative; /* otherwise, under #map in ie */
-}
-
/* * login rules
*/
.modal {
if ($("nominatim-suggestions-list").childNodes.length > 1) {
var bottomOffset = $('data_controls').measure('height') + 3;
$("nominatim-suggestions").setStyle({
- bottom: bottomOffset.toString() + 'px'
+ bottom: (document.viewport.getHeight() - $('data_controls').cumulativeOffset().top + 3).toString() + 'px'
}).show();
$("nominatim-suggestions-list").select("li:first-child")[0].addClassName('current');
} else {