The branch, master has been updated via 1fa197752bea2661a25431c9d2d3eccaa72aedef (commit) from fd13e7ad67215df22983942163cfff80712637a0 (commit)
- Log ----------------------------------------------------------------- commit 1fa197752bea2661a25431c9d2d3eccaa72aedef Author: Michal Čihař michal@cihar.com Date: Fri Aug 19 13:35:13 2011 +0200
Fixed displaying of table menu
-----------------------------------------------------------------------
Summary of changes: js/pmd/move.js | 5 ++++- themes/pmahomme/css/theme_right.css.php | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/js/pmd/move.js b/js/pmd/move.js index e41b107..49be35c 100644 --- a/js/pmd/move.js +++ b/js/pmd/move.js @@ -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"; diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php index 0a47845..ae18677 100644 --- a/themes/pmahomme/css/theme_right.css.php +++ b/themes/pmahomme/css/theme_right.css.php @@ -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; }
hooks/post-receive