From: Raymond I. <xw...@ya...> - 2002-09-25 14:09:43
|
With DynLayers try using mylayer.css.display='none' inside NS4 -- Raymond Irving --- Csaki Andras <cs...@in...> wrote: > Hi, > > I'm trying to roll my own hierarchical dhtml menu. > Like this: > o head1 > *item > *item > o head2 > *item > *item > o item > > Obviously, by closing a submenu, I need to hide the > associated area > containing the menuitems (collapse the menu). > This is a piece of cake with IE, setting a div's > display property to > 'none' does all I want. Setting a layers visibility > in > Netscape4 to 'hidden' actually hides the layer, but > does not reflow the > content below it (the menu does not fold, just > disappears). DynLayer's > setVisible does not solve my problem either. > So what should I do? Should I manage the layout > myself by arranging the > (sub)menus with explicite positioning when folding > or unfolding occures? > This would be a real pain in the ass I think. Or > there's some tool in > DynAPI I could use? > > > Andras > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com |