Module: nagvis Branch: master Commit: 3548045aeef8b9481670cc0ed23f28b5bab7a2ed URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=3548045aeef8b9481670cc0ed23f28b5bab7a2ed
Author: Lars Michelsen <[email protected]> Date: Fri Dec 3 12:11:56 2010 +0100 Fixed header submenu top offset --- share/userfiles/templates/default.header.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/share/userfiles/templates/default.header.js b/share/userfiles/templates/default.header.js index 095e25d..ac3befa 100644 --- a/share/userfiles/templates/default.header.js +++ b/share/userfiles/templates/default.header.js @@ -58,7 +58,7 @@ function ddMenu(id, d, reposition){ // Reposition by trigger object when some given (used on submenus) if(typeof reposition !== 'undefined' && d == 1) { c.style.left = (h.offsetWidth-1)+"px"; - c.style.top = (h.offsetTop)+"px"; + c.style.top = (h.parentNode.offsetTop)+"px"; } clearInterval(c.timer); ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
