Closed Bug 274772 Opened 20 years ago Closed 20 years ago

Used to work with Netscape 7.1 does not work in Firefox

Categories

(Firefox :: General, defect)

1.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 220579

People

(Reporter: raghu_mani, Assigned: bugzilla)

References

()

Details

This page displays correctly in Netscape 7.1. It does not display with either
Mozilla 1.7 or Firefox 1.0. On the left had column there are a bunch of links
that appear in Netscape 7.1 but do not in either Firefox or Mozilla.
The menu is generated by Javascript and the problem could well relate
to this message:

Error: document.divMenu0 has no properties
Source File: http://www.mamiya.com/
Line: 235
And does it work in Netscape 7.2?
I do not know if it works in Netscape 7.2. I don't have 7.2 installed on any
computer. I have tried Netscape 7.1, Mozilla 1.7 and Firefox.
(In reply to comment #1)
> The menu is generated by Javascript and the problem could well relate
> to this message:
> 
> Error: document.divMenu0 has no properties
> Source File: http://www.mamiya.com/
> Line: 235

Looks like it crashes at the following javascript code:

function DisplayMenu(Menu) {
eval('document.divMenu'+Menu.MenuDiv+'.document.open()');
eval('document.divMenu'+Menu.MenuDiv+'.document.write(\''+DisplayPopMenu(Menu)+'\')');
eval('document.divMenu'+Menu.MenuDiv+'.document.close()');
}

According to me the DIV officially doesn't support the document attribute, and
if i remember correctly it is only accessible in older versions of Netscape and
any version of Internet Explorer. Looks like this is more or less a job for the
developer of the website mentioned above to clean up his old (even Netscape 4 is
mentioned!) javascript code than a job for someone to fix mozilla's nice
javascript engine.


*** This bug has been marked as a duplicate of 220579 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.