Entry
Can I change the display style attribute of a page element in NN4?
Why is my IE4/5 collapsible list code not working with NN4?
Feb 17th, 2000 17:19
Martin Honnen,
IE4/5 and NN6 allow elegant programming of collapsible lists and other
dhtml application where you set
elementReference.style.display = 'none'
to hide an element and have the other content reflowed. With NN4 that
is not supported, you can only statically with css set the display
property but not change it dynamically with javascript.
If you want to have collapsible lists or similar application you have
to write your own code positioning elements, hiding them and reposition
elements around.
developer.netscape.com in the javascript view source section has a
cross browser collapsible list which applies this technique.