Index: lams_tool_forum/web/jsps/authoring/basic.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/basic.jsp,v diff -u -r1.35 -r1.36 --- lams_tool_forum/web/jsps/authoring/basic.jsp 6 Oct 2010 10:16:15 -0000 1.35 +++ lams_tool_forum/web/jsps/authoring/basic.jsp 4 Jan 2012 14:02:48 -0000 1.36 @@ -11,7 +11,7 @@ function showMessage(url) { var area=document.getElementById("messageArea"); if(area != null){ - area.style.width="640px"; + area.style.width="100%"; area.style.height="100%"; area.src=url; area.style.display="block"; @@ -105,6 +105,12 @@ } ); } + + function resizeOnMessageFrameLoad(){ + var messageAreaFrame = document.getElementById("messageArea"); + messageAreaFrame.style.height=messageAreaFrame.contentWindow.document.body.scrollHeight+'px'; + } +