Thanks All,

What I did eventually is to use the onComplete event of the inner
accordion to resize the outer accordion.
I use the getHeight() of the parent of the toggler to calculate new
heights.
It works very good.
The only problem (which I currently solve with a flag) is that the
oncomplete is also fired on the initialization of the structure (the
first time).

onComplete: function(toggler){
                                                        
if(!ReportsNS.menueInitilized){  //the flag I talked about
                                                                return;
                                                        }
                                                        var 
LI=toggler.getParent('li');
                                                        var 
height=toggler.getParent().getHeight();
                                                        
LI.setStyle('height',height);//Here you can do which ever
effect you want,
                                                }


On Jun 8, 1:53 pm, אריה גלזר <[email protected]> wrote:
> 2010/6/8 Steve Onnis <[email protected]>
>
> > doesnt work in IE
>
> fixed i think (forgot to wrap document.body with $())
>
> --
> Arieh Glazer
> אריה גלזר
> 052-5348-561
> 5561

Reply via email to