Closed
Bug 174156
Opened 23 years ago
Closed 19 years ago
barnettpage.com - Buttons on web page don't work, LAYERS
Categories
(Tech Evangelism Graveyard :: English US, defect)
Tech Evangelism Graveyard
English US
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [proprietary-js])
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2b) Gecko/20021011
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2b) Gecko/20021011
On this page, is a picture of a remote control. There are some blue buttons
that, when clicked on, alter the contents of the LCD display on the top as well
as the text on the right. But this only works in Internet Explorer, not in
Mozilla. In Mozilla, clicking on the buttons does nothing.
I don't know if this is an evangelism issue or not, because this could either be
because Mozilla doesn't support some obscure HTML command, or because the web
page is providing different HTML for IE vs. Netscape, or whether it's
genererating bad HTML.
Reproducible: Always
Steps to Reproduce:
1. Visit page
2. Click on blue buttons along left and buttom of LCD display
3. There is no step 3! (Apologies to Jeff Goldblum)
Actual Results:
Nothing
Expected Results:
The contents of the LCD display and the text to the right should change.
I forgot to mention that similar problems occur on the main page,
http://www.barnettpage.com, as well as the rest of the site.
Comment 2•23 years ago
|
||
The page you are talking about contains a script, which has lines like this in it:
function CSIEStyl(s) { return document.all.tags("div")[s].style; }
function CSNSStyl(s) { return CSFindElement(s,0); }
function CSFindElement(n,ly) { if (CSBVers < 4) return document[n];
var curDoc = ly ? ly.document : document; var elem = curDoc[n];
if (!elem) { for (var i=0;i<curDoc.layers.length;i++) {
elem = CSFindElement(n,curDoc.layers[i]); if (elem) return elem; }}
return elem;
}
Other functions are similar.
So, it uses only document.all and document.layers, and not the usual
document.getElementById(). Mozilla does not have document.all (as it's MSIE
specific method) nor document.layers - it has only the document.getElementById().
So, this is not a bug in Mozilla. This is a very badly designed website.
Comment 3•23 years ago
|
||
indeed. the page assumes that if the browser isn't IE, it must be NS4
==> Evang
Assignee: asa → susiew
Status: UNCONFIRMED → NEW
Component: Browser-General → US General
Ever confirmed: true
OS: Mac System 9.x → All
Product: Browser → Tech Evangelism
QA Contact: asa → zach
Hardware: Macintosh → All
Version: other → unspecified
Updated•23 years ago
|
Summary: Buttons on web page work in IE, but not in Mozilla. → barnettpage.com - Buttons on web page work in IE, but not in Mozilla.
Error: curDoc.layers has no properties
Source File: http://www.barnettpage.com/MX-500/
Line: 74
Blocks: 118549
Summary: barnettpage.com - Buttons on web page work in IE, but not in Mozilla. → barnettpage.com - Buttons on web page don't work, LAYERS
Whiteboard: [proprietary-js]
Comment 6•22 years ago
|
||
tech evang june 2003 reorg
Assignee: susiew → english-us
QA Contact: zach → english-us
Web page no longer exists.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•