Closed
Bug 113431
Opened 24 years ago
Closed 21 years ago
hotelplease.com - Javascript problem
Categories
(Tech Evangelism Graveyard :: English Other, defect, P4)
Tech Evangelism Graveyard
English Other
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jquereda, Unassigned)
References
()
Details
There's a problem browsing this URL:
http://www.hotelplease.com
I think there's a problem running javascript.
Comment 1•24 years ago
|
||
Must be a layer issue by seeing the included JavaScript files and 95% sure it
should be moved to Tech Evangelism.
Comment 2•24 years ago
|
||
Right, it's an Evangelism issue. In the JavaScript Console, we see:
Error: document.all has no properties
Source File: http://www.hotelplease.com/include_js/standard.js
Line: 51
This occurs as follows. From http://www.hotelplease.com/main.html,
here is the browser detection for Netscape:
<script language="Javascript">
var n = document.layers ? 1:0;
Then, in http://www.hotelplease.com/include_js/standard.js, we have
many functions like this:
function VOLCAR(div,text)
{
if (n)
{
var lyr = document.layers[div].document
lyr.open()
lyr.write(text)
lyr.close()
}
else document.all[div].innerHTML = text <<<<<<<<<<<<<<<<<<<<<< Line 51
}
Since |n| evaluates to false in Mozilla, (layers are no longer supported),
we fall into the IE codepath, which errors since document.all is IE-only.
Reassigning to Tech Evangelism -
Assignee: rogerl → nitot
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Europe: West
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: pschwartau → caillon
Version: other → unspecified
Reporter | ||
Comment 4•23 years ago
|
||
This website has been redesigned, and with its actual design it works properly
with Mozilla 0.9.7
Setting Resolution to WONTFIX.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Comment 5•23 years ago
|
||
Should be marked fixed for tracking purposes.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 6•23 years ago
|
||
Fixed
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 8•22 years ago
|
||
New Component. Page only displays blue background, reopening.
Status: VERIFIED → REOPENED
Component: Europe: West → English Other
Resolution: FIXED → ---
Comment 9•22 years ago
|
||
en other default owner
Assignee: nitot → english-other
Status: REOPENED → NEW
QA Contact: z-caillon-obsolete2 → english-other
Comment 10•21 years ago
|
||
This seems to have been fixed again / the site has changed its code making the
bug invalid. Marking WFM : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8a) Gecko/20040416 Firefox/0.8.0+
Status: NEW → RESOLVED
Closed: 23 years ago → 21 years ago
Resolution: --- → WORKSFORME
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
•