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 @@