On Wed, 25 Sep 2002, Raymond Irving wrote: > With DynLayers try using mylayer.css.display='none' > inside NS4
Thanks, but it doesn't seem to do the right thing either. Not with inline layers at least (which I intend to use). I created a <div id="test" style="position:absolute">, the hide() function is called when some button is clicked. function hide() { var l = DynAPI.document.all['test']; alert(l.getX()); //displays a number, l is an existing layer alert(l.css.display); //displays undefined! in NS, '' in IE l.css.display = 'none'; } alert() displays 'undefined' for l.css.display in Netscape4 and the layer did not disappear. Of course it did if I tried this with IE. So where did I screw up? :) And of course I could get it to disappear by setting some other property, but I also need the content beneath to be reflowed so that hiding a layer would not leave the page with empty regions here and there (and ruining the menu's folding effect).. thanks, Andras ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help