Fixed displaying of table menu

This commit is contained in:
Michal Čihař 2011-08-19 13:35:13 +02:00
parent fd13e7ad67
commit 1fa197752b
2 changed files with 6 additions and 3 deletions

View File

@ -915,7 +915,10 @@ function General_scroll_end()
function Show_left_menu(id_this) // max/min all tables
{
if (id_this.alt == "v") {
document.getElementById("layer_menu").style.top = document.getElementById('top_menu').offsetHeight + 'px';
var pos = $("#top_menu").offset();
var height = $("#top_menu").height();
document.getElementById("layer_menu").style.top = (pos.top + height) + 'px';
document.getElementById("layer_menu").style.left = pos.left + 'px';
document.getElementById("layer_menu").style.display = 'block';
id_this.alt = ">";
id_this.src = "pmd/images/uparrow2_m.png";

View File

@ -3325,9 +3325,9 @@ a.M_butt:hover {
}
#layer_menu {
clear: both;
float: left;
z-index: 1000;
position: absolute;
left: 0;
background-color: #EAEEF0;
border: #999999 solid 1px;
}