You can have any arbitrary HTML you like in the panel - images, text, overlapping divs, whatever.
Set "clearframe" to false in the game object so the frame won't be cleared on each turn. Then it's as simple as:
JS.setPanelHeight(100)
JS.setPanelContents (someHTMLstring)