Index: lams_tool_mindmap/web/pages/authoring/authoring.jsp =================================================================== diff -u -r42d5fe8f0e027f1dc279d2583dade23c7898ef0f -r33fcdb5fc06bd1bc67ac67ab607757765fb89e68 --- lams_tool_mindmap/web/pages/authoring/authoring.jsp (.../authoring.jsp) (revision 42d5fe8f0e027f1dc279d2583dade23c7898ef0f) +++ lams_tool_mindmap/web/pages/authoring/authoring.jsp (.../authoring.jsp) (revision 33fcdb5fc06bd1bc67ac67ab607757765fb89e68) @@ -15,11 +15,9 @@ return (isIE) ? window[movieName] : document[movieName]; } - $(window).resize(function() { - embedFlashObject(getWindowSize("width")-100, (getWindowSize("width")-100)*0.75); - }); + $(window).resize(makeNice); - embedFlashObject(getWindowSize("width")-100, (getWindowSize("width")-100)*0.75); + embedFlashObject(700, 525); function setMindmapContent() { @@ -41,6 +39,13 @@ { swfobject.embedSWF("${mindmapType}", "flashContent", x, y, "9.0.0", false, flashvars); } + + function makeNice(){ + flash = document.getElementById('flashContent'); + container = document.getElementById('container'); + flash.style.width = container.clientWidth+"px"; + flash.style.height = (container.clientWidth*0.75)+"px"; + } //]]> Index: lams_tool_mindmap/web/pages/authoring/basic.jsp =================================================================== diff -u -r26ce6de9fba8494203a85a4ce076b6ffea4238ed -r33fcdb5fc06bd1bc67ac67ab607757765fb89e68 --- lams_tool_mindmap/web/pages/authoring/basic.jsp (.../basic.jsp) (revision 26ce6de9fba8494203a85a4ce076b6ffea4238ed) +++ lams_tool_mindmap/web/pages/authoring/basic.jsp (.../basic.jsp) (revision 33fcdb5fc06bd1bc67ac67ab607757765fb89e68) @@ -24,11 +24,10 @@ contentFolderID="${sessionMap.contentFolderID}"> - - -
- message.enableJavaScript -
- - + +
+
+ message.enableJavaScript +
+
Index: lams_tool_mindmap/web/pages/learning/mindmap.jsp =================================================================== diff -u -r4a00757adb1ac46dc20b280a32faaff4268733bb -r33fcdb5fc06bd1bc67ac67ab607757765fb89e68 --- lams_tool_mindmap/web/pages/learning/mindmap.jsp (.../mindmap.jsp) (revision 4a00757adb1ac46dc20b280a32faaff4268733bb) +++ lams_tool_mindmap/web/pages/learning/mindmap.jsp (.../mindmap.jsp) (revision 33fcdb5fc06bd1bc67ac67ab607757765fb89e68) @@ -50,11 +50,16 @@ return (isIE) ? window[movieName] : document[movieName]; } - $(window).resize(function() { - embedFlashObject(getWindowSize("width")-100, (getWindowSize("width")-100)*0.75); - }); + $(window).resize(makeNice); + + function makeNice(){ + flash = document.getElementById('flashContent'); + container = document.getElementById('container'); + flash.style.width = container.clientWidth+"px"; + flash.style.height = (container.clientWidth*0.75)+"px"; + } - embedFlashObject(getWindowSize("width")-100, (getWindowSize("width")-100)*0.75); + embedFlashObject(540, 405); --> @@ -99,7 +104,7 @@ -
+
message.enableJavaScript
Index: lams_tool_mindmap/web/pages/monitoring/mindmapDisplay.jsp =================================================================== diff -u -r42d5fe8f0e027f1dc279d2583dade23c7898ef0f -r33fcdb5fc06bd1bc67ac67ab607757765fb89e68 --- lams_tool_mindmap/web/pages/monitoring/mindmapDisplay.jsp (.../mindmapDisplay.jsp) (revision 42d5fe8f0e027f1dc279d2583dade23c7898ef0f) +++ lams_tool_mindmap/web/pages/monitoring/mindmapDisplay.jsp (.../mindmapDisplay.jsp) (revision 33fcdb5fc06bd1bc67ac67ab607757765fb89e68) @@ -8,17 +8,14 @@ // @@ -72,14 +76,15 @@ - -
- message.enableJavaScript -
- +
+
+ message.enableJavaScript +
+
+
button.back