Closed Bug 186297 Opened 23 years ago Closed 17 years ago

bpiexpressonline.com - The pop-up menus on the page don't pop up.

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: csj, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux) Build Identifier: The pop-up menus on the page at http://www.bpiexpressonline.com/ don't appear when I point at the graphic hot zone that is supposed to trigger a particular pop-up menu (such as "Application Center" and "Products and Services". Strangely, the menus do appear when I use Konqueror! I don't have any Windows computer to test how the menus behave in Explorer, so please check. Reproducible: Always Steps to Reproduce: 1. Go over to the page 2. Hover the mouse over the blue curve graphic on which is printed headings like "Application Center", "Products and Services" or "Corporate Information" Actual Results: No pop-up menus appear. All I get is a message at the browser status bar about "javascript:void(")" Expected Results: The pop-up menus should appear. The pop-up menus appear in Konqueror. But even with this browser the pop-up menus appear a bit brain-damaged. I need to fiddle with the "view" magnification to get the pop-up menus to unroll fully on the screen.
BTW I tried Netscape 7.0 and it appears to have the same problem with the site. I tried changing the User-Agent string but it still doesn't help.
-> TE old and broken hiermenu
Assignee: rogerl → susiew
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → US General
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: pschwartau → zach
Version: Trunk → unspecified
Thank you for such a well-written bug report! The problem is due to coding errors at the site. Here is their browser-sniffing: <script LANGUAGE="JavaScript1.2" TYPE="text/javascript"> NS4 = (document.layers); IE4 = (document.all); ver4 = (NS4 || IE4); IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1); isMac = (navigator.appVersion.indexOf("Mac") != -1); isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac)); if (!ver4) event=null; if (isMenu) { menuVersion = 3; etc. isFrames = false; etc. etc. } Notice that the variable |isFrames| is conditionally defined. In Mozilla, the condition |isMenu| evaluates to |false|, hence the variable |isFrames| never gets defined!!! That leads to errors when this external JS file is loaded: http://www.bpiexpressonline.com/hierMenus.js, which begins: loader = (isFrames) ? (NS4) ? parent : parent.document.body : window; That causes execution to stop at this line, leading to further errors. For example, variables declared after this line never get defined, such as: isLoaded = false; That leads to the following error when we mouseover the blue curve at the site (Tools > Web Development > JavaScript Console): Error: isLoaded is not defined Source File: http://www.bpiexpressonline.com/hierMenus.js Line: 753
Blocks: 85104
Summary: The pop-up menus on the page don't pop up. → bpiexpressonline.com - The pop-up menus on the page don't pop up.
tech evang june 2003 reorg
Assignee: susiew → english-us
QA Contact: zach → english-us
This website now uses a different script that works.
Status: NEW → RESOLVED
Closed: 17 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.