Index: lams_tool_lamc/web/authoring/BasicContent.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_lamc/web/authoring/BasicContent.jsp,v
diff -u -r1.43 -r1.44
--- lams_tool_lamc/web/authoring/BasicContent.jsp 6 Oct 2010 10:16:06 -0000 1.43
+++ lams_tool_lamc/web/authoring/BasicContent.jsp 4 Jan 2012 14:12:17 -0000 1.44
@@ -28,7 +28,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";
@@ -65,6 +65,11 @@
submitMonitoringMethod('removeQuestion');
}
+ function resizeOnMessageFrameLoad(){
+ var messageAreaFrame = document.getElementById("messageArea");
+ messageAreaFrame.style.height=messageAreaFrame.contentWindow.document.body.scrollHeight+'px';
+ }
+