ui.accordion parent div size change.

ui.accordion parent div size change.


Hello,
I am not sure whether this query is better here or in the general
jquery group - my apologies if it is misplaced.
I am using nested accordions with "fillspace;true" on the outer
accordion. This has the desired effect, everything works very well -
many thanks to the person who wrote it!
However, I am using it next to a google map (google maps api) which I
am automatically resizing every time I change the browser size. This
is changing the height of the parent div that accordion is using as a
basis for its maxHeight that is the seed for the fillspace:true
processing.
Am I right that there is no way to pass this new height to an
accordion after it has been created?
What I would really like is a $("#acc").accordion("updateheight")
method OR an option I can specify that will force it to autoupdate
when the parent div changes....
I tried hacking this in to accordion, but failed miserably.
Am I missing an option? Is this processing already there?
If not - any hints on a hack to implement it would be greatly
appreciated. if it isn't part of accordion, I think it might be a
useful addition at some point.
Best wishes
Nick May
http://diddlefinger.com