If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I couldn't even figure out how to make a removeItem method without the entire accordion disappearing altogether.

I couldn't finish the wrapping div(the one that contains the subtopics) by using +(i==listitems.length-1)?'</div>':'' at the end of the createAccodion function, nor could I simply write 'document.write('</div>');' after the for loop. It's like the browser is ignoring all my efforts.