nuvisions.net - Incorrect location of drop-down sub-menus

RESOLVED FIXED

Status

Tech Evangelism Graveyard
English US
P4
normal
RESOLVED FIXED
15 years ago
3 years ago

People

(Reporter: iggster, Unassigned)

Tracking

Details

(Whiteboard: [hiermenu], URL)

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 (and 1.3.1a)

1. open http://www.nuvisions.net/, move cursor over "Support" menu item
(drop-down menu appears)
2. Move cursor down to any of the expandable menu items to open a sub-menu for
"Dialup" or "Cable"
3. sub-menu appears out of place detached from the menu list, way to the left of
where its supposed to be

Reproducible: Always

Steps to Reproduce:
1. open http://www.nuvisions.net/, move cursor over "Support" menu item
(drop-down menu appears)
2. Move cursor down to any of the expandable menu items to open a sub-menu for
"Dialup" or "Cable"
3. sub-menu appears out of place detached from the menu list, way to the left of
where its supposed to be

Actual Results:  
sub-menu appears out of place detached from the menu list, way to the left of
where its supposed to be

Expected Results:  
IE 5/6 does it correctly with submenus displayed adjacent to drop-down menus
This is using heavily browser-sniffed JS.  ->Positioning, but doron or someone
else from evang. might know something about the HierMenus script.
Assignee: float → position
Component: Layout: Floats → Layout: R & A Pos

Comment 2

15 years ago
I found it. It is bug in scripts. In file
http://www.nuvisions.net/include/HM_ScriptDOM.js (this one loaded trough many
steps) 

In function HM_f_ItemOver() we read:

				this.oL = (HM_IE) ? parseInt(this.menu.style.left) : -HM_BorderWidth;
				this.oL += this.offsetLeft;
				this.oT = (HM_IE) ? parseInt(this.menu.style.top) : -HM_BorderWidth;
				this.oT += this.offsetTop;

Ha! It's a little incorrect, second values should be
parseInt(this.menu.style.left)-HM_BorderWidth;

(this is source of incorrect positioning -- author move 2nd window to 80px left
but this code)

So I think Tech Evangelism?
->evang
Assignee: position → susiew
Component: Layout: R & A Pos → US General
Product: Browser → Tech Evangelism
QA Contact: ian → zach
Version: Trunk → unspecified

Updated

15 years ago
Blocks: 85104
Severity: major → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Priority: -- → P4
Hardware: PC → All
Summary: Incorrect location of drop-down sub-menus → nuvisions.net - Incorrect location of drop-down sub-menus
Whiteboard: [hiermenu]

Comment 4

15 years ago
tech evang june 2003 reorg
Assignee: susiew → english-us
QA Contact: zach → english-us
fixed
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.