Closed Bug 41446 Opened 24 years ago Closed 24 years ago

Javascript unable to change visibility in CSS

Categories

(Core :: JavaScript Engine, defect, P3)

PowerPC
Mac System 8.6
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: tarahim, Assigned: rogerl)

References

()

Details

Attachments

(1 file)

While the page works without any trouble with NS4.7(style sheet enabled) and IE4.5, the  
JavaScript engine in M16 build 2000060208 does not work with the style sheets in this 
page.
I have no clue whether the trouble is in style sheet or Javascript except it does not work 
at all.


*** This bug has been marked as a duplicate of 41317 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
No, I don't think so (if anything, it'd be a dup of 40143).  But I'm not even 
going to begin looking at this, because this entire page is based around layers 
which we no longer support anymore.  reporter: please attach a succint, clear 
testcase with no layers.  marking invalid for now.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
...inv
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → INVALID
No, the '.layers' API is not supported in mozilla -- mozilla uses the W3C DOM 
standard, in conjunction with the CSS1 standard for style information.

See:  http://www.mozilla.org/newlayout/bugathon.html#layerbugs

However, this works in W3C DOM:
  if(document.getElementById)
      document.getElementById(layName).style.visibility='visible';

instead of what worked in Nav4.x
  if(document.layers)
    document.layers[layName].visibility='show';

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: