Closed Bug 147018 Opened 23 years ago Closed 21 years ago

genie.it - dhtml menus misplaced

Categories

(Tech Evangelism Graveyard :: Italian, defect)

x86
All
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mporta, Unassigned)

References

()

Details

(Whiteboard: [SYNTAX-JS][eurocontest])

load www.genie.it and look at the dhtml menu at the top of the page: they are misplaced (they don't appear under the mouse pointer). works with ie6.
Must be some bad DHTML/JS code. genie.it already has an unrelated Tech Evangelism bug report: bug 101724.
The relevant code is: In http://www.genie.it/buildMenu_alb.js : var winTop = 100; / * some stuff */ new Menu("menu0", winLeft-90, winTop, ..) Now in http://www.genie.it/ddmenu_alb.js : if (navigator.appName == "Netscape") br = "N"; else br = "IE"; function Menu(strID, intLeft, intTop, objMenuItems) { this.intTop = intTop; And further on: if (br == "IE") { /* some code*/ } else { /* set intLnkTop to the intTop of the menu object in question */ } if(br == "N" && theVersion >= 5){ objBox.style.top = intLnkTop; } In other words, in Netscape the style.top is always set to 100px. Chances are, this is only the right distance for one very particular font size, resolution, and browser width combination. To evangelism. The code is simply broken as-is.
Assignee: Matti → nitot
Status: UNCONFIRMED → NEW
Component: Browser-General → Europe: West
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: imajes-qa → brantgurganus2001
Version: other → unspecified
Severity: normal → minor
OS: Windows 2000 → All
Summary: dhtml menus misplaced → genie.it - dhtml menus misplaced
Whiteboard: [SYNTAX-JS][eurocontest]
tech evang june 2003 reorg
Assignee: nitot → italian
Component: Europe: West → Italian
QA Contact: brantgurganus2001 → italian
I tried to go to www.genie.it but I got redirected on www.infinito.it The site works very well with Firebird and I found no problem at all. If somebody could try this, I think that this bug could be closed as fixed.
(In reply to comment #4) > I tried to go to www.genie.it but I got redirected on www.infinito.it > The site works very well with Firebird and I found no problem at all. > If somebody could try this, I think that this bug could be closed as fixed. Tested in FF 9.2 (XP), js menus display fine. the www.genie.it appears to be a redirect now: http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=%22%2Bwww.genie.it%22 First entry shows genie's domain, but infinito homepage. Suggest this bug be resolved.
WFM
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.