Closed
Bug 284817
Opened 20 years ago
Closed 20 years ago
link does not appear to show when in firefox when site is based on javascript
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: XTra_KrazzY, Assigned: bugs)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 JS Console: "Warning: Non-standard document.all property was used. Use W3C standard document.getElementById() instead." "Warning: Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead. Source File: http://*********.com/ Line: 165" Reproducible: Always Steps to Reproduce: 1.open the site 2. 3. Actual Results: No link appeared, while in IE it did Expected Results: IE makes the link work. Line from the site's JS file: for(nBody = 0; nBody < document.all.length; nBody++) { if(document.all[nBody].tagName == 'BODY') { nFlashWidth = Math.floor(Math.min(document.all[nBody].clientWidth, document.all[nBody].clientHeight * 4 / 3)); nFlashHeight = Math.floor(Math.min(document.all[nBody].clientWidth * 3 / 4, document.all[nBody].clientHeight)); oBody = document.all[nBody]; break; } }
Comment 1•20 years ago
|
||
yoiureported this bug for the javascript Console but the error messages are correct and I can't see that the Javascript console shows something wrong. BTW: Document.all is no standard DOM, please use document.getElementById
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 2•20 years ago
|
||
Links are not working, they seem to be clickable, but they don't acctually work, all i could use was the ieview extension. I hope this bug will be fixed
Status: RESOLVED → UNCONFIRMED
Component: JavaScript Console → General
QA Contact: js-console → general
Resolution: INVALID → ---
Summary: link does not appear to show when in firefox, and JS Console says that document.all is not standard → link does not appear to show when in firefox when site is based on javascript
Version: unspecified → 1.0 Branch
Comment 3•20 years ago
|
||
-> invalid The Errors in teh JS Console shows the exact reason why it doesn't work. (Document.all)
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•