accordion not working good with ajax content, since height might get wrong
I'm developing a module for Joomla 1.6.
This module is to display some records, and it has a pager... which means the user may initially see 10 records.... he can the choose to move to another page by e.g. hitting "Next". When he does that the new content, for this module only, will be fetched using AJAX... so the rest of the page remain the same.
My problem when using the accordion is that if I fetch content (a page) for the module in question which might have less records than another one.... and I click the accordion title to hide the accordion content, then click it again to open it, and then fetch another page (for the module) which has more rows... which means it need more vertical space to show all content for the module.... in this case some rows might not show, since the height of the content of the accordion do not autogrow... in this particular case.....
bahhh.... hope this was understandable
Any chance to get some ideas on how I can implement a hack so this can work properly?
Tore B. Krudtaa commented
I found anoher that experienced similar problems here:
The thing is, I do not know how to implement his fix. If someone could help me with that ... it would be great!