Closed Bug 85501 Opened 23 years ago Closed 15 years ago

al.com - Navigation Menus Non-functional layers

Categories

(Tech Evangelism Graveyard :: English US, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tommybee99, Unassigned)

References

()

Details

(Whiteboard: [aok])

Build 2001061205, Mac OS 9.1:

The navigation menus at the top of this page, which function fine under
Communicator 4.77, do not work at all under Mozilla.  I looked through their
source code and did find some indication of the use of layers, but none seemed
to be related to their navigation menus.
Site uses unsupported document.layers and document.all, but not DOM standards
->Evangelism
Aaron is correct: a lot of this is hidden in the included JavaScript 
files. For example, this one:

         http://www.al.com/dhtml/hnavbar/scripts/hGlobal.js



Here is the code from this file:


var ns;
var ie;
if (navigator.appName == 'Netscape'){
ns = true;
doc = document.layers;
style = '';
px = '';
//-------------------------------
left_start = parseInt(document.NAVSPAN.left) + 2;
top_coord = parseInt(document.NAVSPAN.top) + 2;
SG = '';
CBBeginLayer = '<LAYER';
CBTop = 'TOP=';
CBLeft = ' LEFT=';
CBEndLayer = '>';
CBCloseLayer = '</LAYER>';
CBBeginSubMenuLayer = CBBeginLayer;
CBEndSubMenuLayer = CBEndLayer;
CBBeginSubILayer = CBBeginLayer;
CBEndSubILayer = CBCloseLayer;
CBCloseTable = '';
eF = CBBeginSubILayer;
}
if (navigator.appName == 'Microsoft Internet Explorer'){
ie = true;
doc = document.all;
style = '.style';
px = 'px';
//-------------------------------
left_start = parseInt(NAVSPAN.style.left) + 2;
top_coord = parseInt(NAVSPAN.style.top) + 2;
SG = '<tr><td width=1><img src="/images/spacer.gif" height=2 width=1></td><td 
width=112><img src="/images/spacer.gif" height=2 width=112></td><td width=1><img 
src="/images/spacer.gif" height=2 width=1></td><td width=112><img 
src="/images/spacer.gif" height=2 width=112></td></tr>';
CBMouseOver = ' onmouseover="si_rovr()\;" onmouseout="si_rout()\;"';
CBBeginLayer = '<TABLE CELLSPACING=0 CELLPADDING=0';
CBTop = 'STYLE="position\: absolute\; top\: ';
CBLeft = '\; left\: ';
CBEndLayer = '\; z-index\: 2"><TR><TD>';
CBCloseLayer = '</TD></TR></TABLE>';
CBBeginSubMenuLayer = '<TABLE CELLSPACING=0 CELLPADDING=0 ';
CBEndSubMenuLayer = CBEndLayer + '<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 
STYLE="z-index\: 1">';
CBBlankRow = '<TR><TD WIDTH=226 COLSPAN=5' + CBMouseOver + '><img 
src="/images/spacer.gif" height=1 width=226></TD></TR>';
CBBeginSubILayer = CBBlankRow + '<TR><TD WIDTH=1' + CBMouseOver + '></TD><TD ';
CBEndSubILayer = '</TD>';
CBCloseTable = '</TABLE>';
eF = '<TD WIDTH=1' + CBMouseOver + '></TD><TD ';
}
Assignee: rogerl → bclary
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Evangelism
Ever confirmed: true
OS: Mac System 9.x → All
QA Contact: pschwartau → zach
Summary: Navigation Menus Non-functional → [LAYER]Navigation Menus Non-functional
Reassigning to Evangelism component -
Priority: -- → P4
Evangelism Mac bugs -> emeyer
Assignee: bclary → emeyer
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for
details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Summary: [LAYER]Navigation Menus Non-functional → [LAYER]al.com Navigation Menus Non-functional
Hardware: Macintosh → All
Whiteboard: [aok]
-> default owner
Assignee: emeyer → susiew
Summary: [LAYER]al.com Navigation Menus Non-functional → al.com - Navigation Menus Non-functional layers
Problem continues in Mozilla Firebird 0.6 and Camino build 2003052204 on Mac OS
X 10.2.6 -- and I think I've seen this same site template used on similar
news-oriented sites.

<shameless off-topic plug>
GO RUBEN!  OUR NEW AMERICAN IDOL!
</shameless off-topic plug>

(Sorry -- we in the Birmingham area are excited about that.)
tech evang june 2003 reorg
Assignee: susiew → english-us
QA Contact: zach → english-us
fixed
Status: NEW → RESOLVED
Closed: 15 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.