Index: lams_tool_mindmap/web/pages/learning/mindmap.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_mindmap/web/pages/learning/mindmap.jsp,v diff -u -r1.3 -r1.4 --- lams_tool_mindmap/web/pages/learning/mindmap.jsp 14 Apr 2009 00:57:53 -0000 1.3 +++ lams_tool_mindmap/web/pages/learning/mindmap.jsp 16 Apr 2009 03:09:08 -0000 1.4 @@ -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