Closed Bug 220737 Opened 22 years ago Closed 22 years ago

Dynamically changing DIV STYLE is javascript has no effect.

Categories

(SeaMonkey :: General, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: qed, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 The dynamically changing the DIV STYLE via document.all["elname"].style.display = "block"/"none"; via Javascript does not change the resulting HTML. Reproducible: Always Steps to Reproduce: 1. Visit http://www.pobox.com/~qed/petrock.html 2. Try to click on "Expand all" 3. Watch nothing happen (Opera and IE both do something different.) Actual Results: Nothing. That's the point. Expected Results: A <DIV> section should have expanded to an non-block state and become visible.
document.all is IE proprietary scripting that Opera has elected to support. Mozilla does not and will not support it, since it is not the W3C standard. See http://devedge.netscape.com/viewsource/2001/updating-dhtml-web-pages/ for how to write such scripts that are standard and Mozilla-supported.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.