Index: lams_tool_survey/web/pages/authoring/basic.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_survey/web/pages/authoring/basic.jsp,v diff -u -r1.12 -r1.13 --- lams_tool_survey/web/pages/authoring/basic.jsp 6 Oct 2010 10:15:36 -0000 1.12 +++ lams_tool_survey/web/pages/authoring/basic.jsp 4 Jan 2012 17:19:38 -0000 1.13 @@ -11,7 +11,7 @@ function showMessage(url) { var area=document.getElementById("questionInputArea"); if(area != null){ - area.style.width="640px"; + area.style.width="100%"; area.style.height="100%"; area.src=url; area.style.display="block"; @@ -110,6 +110,11 @@ } } + function resizeOnMessageFrameLoad(){ + var messageAreaFrame = document.getElementById("questionInputArea"); + messageAreaFrame.style.height=messageAreaFrame.contentWindow.document.body.scrollHeight+'px'; + } + @@ -151,7 +156,7 @@