Ppt.js 743 B

123456789101112
  1. Namespace.register("U.MD.O.P");
  2. U.MD.O.P.Initialization = function () {
  3. var Proportion = screen.width / screen.height;
  4. var BodyW = document.body.clientWidth;
  5. var BodyH = document.body.clientHeight;
  6. var dd = document.getElementById("U_E_MenuBar").offsetHeight + document.getElementById("U_MD_O_E_T_oolBar").offsetHeight;
  7. document.getElementById("U_PPT_Total").style.height = BodyH - dd - 2 + "px";
  8. var RightFrame = document.getElementById("U_PPT_Right");
  9. RightFrame.style.width = BodyW - 140 - 2 - 2 + "px";
  10. document.getElementById("U_PPT_EditFrame").style.height = 600 / Proportion + "px";
  11. document.getElementById("U_PPT_Left").style.height = RightFrame.style.height = BodyH - dd-1 + "px";
  12. }