Closed Bug 111108 Opened 23 years ago Closed 20 years ago

BP.com - dynamic menus use layers

Categories

(Tech Evangelism Graveyard :: English Other, defect, P1)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Unassigned)

References

()

Details

(Whiteboard: [proprietary-html])

URL: http://www.bp.com
'Our Company', 'Our Businesses', 'In Your Area' and 'Meeting Your Needs'
sections all are broken in build 2001-11-20-03, Windows 2000 due to:

Error: document.layers has no properties
Source File: http://www.bp.com/js/home/library.js
Line: 6

Error: document.layers has no properties
Source File: http://www.bp.com/js/home/library.js
Line: 7

Code snippet:

function
checkBrowser(){this.ver=navigator.appVersion;this.dom=document.getElementById?1:0;this.ie6=(this.ver.indexOf("MSIE
6")!=-1 && this.dom)?1:0;this.ie5=(this.ver.indexOf("MSIE 5")>-1 &&
this.dom)?1:0;this.ie4=(document.all && !this.dom)?1:0;this.ns5=(this.dom &&
parseInt(this.ver) >= 5) ?1:0;this.ns4=(document.layers &&
!this.dom)?1:0;this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 ||
this.ns5);this.ie4up=(this.ie6 || this.ie5 || this.ie4);this.ns4up=(this.ns4 ||
this.ns5);return this;};
*** Bug 128240 has been marked as a duplicate of this bug. ***
It is still broken.  I'm using 20021027.
Severity: critical → major
OS: Windows 2000 → All
Priority: -- → P1
Hardware: PC → All
Summary: [layers] BP.com uses layers in navigation → BP.com - dynamic menus use layers
Whiteboard: [proprietary-html]
Mass reassigning English-Other bugs to general default assignees.
Assignee: momoi → english-other
QA Contact: jonrubin → english-other
There are currently no dynamic menus on bp.com and the site works in Firefox 0.8
the same way as in IE 6.

Resolving as fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Verified with build 2004-05-12-08 on XP using bp.com
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.