Hi Suzanna,
I can see what's wrong but I can't see how to fix it easily.
Everytime you click one of the expansion arrows in the left-hand pane of the JQuiz, we should recalculate the height of the left-hand pane and adjust the height of the left-hand pane accordingly.
At the moment, chunks 1-7 are roughly the same height so they display OK without adjusting the height of the left-hand pane. Chunk 8 is slightly taller than the other chunks, so it requires the height of the left-hand pane to be adjusted.
You can force HotPot to adjust the left-pane height if you display Chunk 8, then click the "Show all questions" button, then click the "Show questions one by one".
One solution to this issue would be to modify the javascript that controls the expansion of chunks in the left-hand pane so that it also calls HotPot's "StretchCanvasToCoverContent()" function. Here is the javascript to do that:
- if (window.StretchCanvasToCoverContent) {
StretchCanvasToCoverContent();
}
I can't see immediately where to put that in the file you sent, but maybe the person who created the chunking code would be able to see where to put it.
There may be another solution. It would allow the left-hand pane to expand "naturally" by inserting the following HTML somewhere:
- <div style="clear:both"></div>
This may make it unnecessary to call "StretchCanvasToCoverContent()". However, I need time to ponder that.
regards
Gordon