Closed Bug 270198 Opened 20 years ago Closed 20 years ago

Switching display style of stacked DIVs on and off does not work.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: heller, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0

Content on this page is to by exposed and hidden via stacked DIV elements the
display style property of which is switched on and off by means of JavaScript
code to mimic navigation experience.

Reproducible: Always
Steps to Reproduce:
1. Just open the URL.
Actual Results:  
The area covered by the contents of the DIV elements under consideration remains
empty.

Expected Results:  
Expose the contents of the DIV element.

With IE 6, the page's behaviour is as desired.
ok, the problem was on my side - the divs under consideration had only their 
id attribute set, not the name. JavaScript's getElementById() appears to use 
the name attribute, while IE's all array works with the id attribute. I forgot 
to take this in ato account.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.