al.com - Navigation Menus Non-functional layers

RESOLVED FIXED

Status

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

People

(Reporter: TommyBee (No E-mail), Unassigned)

Tracking

Details

(Whiteboard: [aok], URL)

(Reporter)

Description

17 years ago
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.

Comment 1

17 years ago
Site uses unsupported document.layers and document.all, but not DOM standards
->Evangelism

Comment 2

17 years ago
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 ';
}

Updated

17 years ago
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

Comment 3

17 years ago
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

Updated

17 years ago
Summary: [LAYER]Navigation Menus Non-functional → [LAYER]al.com Navigation Menus Non-functional

Updated

17 years ago
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
(Reporter)

Comment 7

15 years ago
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
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.