Author: Lars Michelsen <[email protected]>
Date: Wed Nov 28 17:47:25 2012 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Wed Nov 28 17:47:25 2012 +0100
Bugfix: Fixed flickering hover menu on overview page when sidebar opened
---
share/frontend/nagvis-js/js/frontendHover.js | 4 ++--
share/userfiles/templates/default.css | 7 +++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/share/frontend/nagvis-js/js/frontendHover.js
b/share/frontend/nagvis-js/js/frontendHover.js
index 4f8ace0..f0adcbd 100644
--- a/share/frontend/nagvis-js/js/frontendHover.js
+++ b/share/frontend/nagvis-js/js/frontendHover.js
@@ -98,8 +98,8 @@ function hoverShow(x, y, id) {
// hide the menu first to avoid an "up-then-over" visual effect
hoverMenu.style.display = 'none';
- hoverMenu.style.left = (x + scrollLeft + hoverSpacer) + 'px';
- hoverMenu.style.top = (y + scrollTop + hoverSpacer) + 'px';
+ hoverMenu.style.left = (x + scrollLeft + hoverSpacer - getSidebarWidth())
+ 'px';
+ hoverMenu.style.top = (y + scrollTop + hoverSpacer - getHeaderHeight()) +
'px';
if(isIE) {
hoverMenu.style.width = '0px';
} else {
diff --git a/share/userfiles/templates/default.css
b/share/userfiles/templates/default.css
index 5ba0087..a4a7a04 100644
--- a/share/userfiles/templates/default.css
+++ b/share/userfiles/templates/default.css
@@ -45,7 +45,7 @@ img {border:0}
.main {margin:0;padding:0;background-color:white;color:black}
.header {position:fixed;top:0;left:0;padding:0;z-index:100;min-width:1000px;}
.headerspacer {width:100%}
-.map {position:relative;top:0;left:0;z-index:98}
+.map, #overview {position:relative;top:0;left:0;z-index:98}
/* Welcome page */
div.welcome {padding:20px;width:600px}
@@ -158,10 +158,13 @@ div.control.togglemid {
background-image: url('../images/templates/default.control_togglemid.gif');
}
+div.infopage {
+ padding-top: 25px;
+}
+
/* Style on info pages (index.php?info, index.php) */
div.infopage > table {
margin: auto;
- margin-top: 25px;
margin-bottom: 25px;
width: 800px;
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins