preview1.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" type="text/css" href="../x_desktop/res/css/style.css" charset="UTF-8" />
  5. <link rel="stylesheet" href="../x_desktop/res/css/mBoxNotice.css" charset="UTF-8" />
  6. <link rel="stylesheet" href="../x_desktop/res/css/mBoxTooltip.css" charset="UTF-8" />
  7. <script src="../x_desktop/res/common.js"></script>
  8. <script src="../x_desktop/res/framework/mootools/mootools-1.6.0.js"></script>
  9. <!--<script src="../x_desktop/res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
  10. <title>FORM PREVIEW</title>
  11. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  12. <script>
  13. layout = window.layout || {};
  14. COMMON.DOM.addReady(function(){
  15. COMMON.AjaxModule.load("../o2_lib/mootools/plugin/mBox.Notice.js", null, false);
  16. COMMON.AjaxModule.load("../o2_lib/mootools/plugin/mBox.Tooltip.js", null, false);
  17. COMMON.setContentPath("../x_desktop");
  18. COMMON.AjaxModule.load("mwf", function(){
  19. MWF.defaultPath = "../x_desktop"+MWF.defaultPath;
  20. MWF.loadLP("zh-cn");
  21. MWF.require("MWF.xDesktop.Layout", function(){
  22. var preview = window.frameElement.retrieve("preview1");
  23. preview1.loadFormData($("layout"));
  24. });
  25. });
  26. });
  27. </script>
  28. </head>
  29. <body>
  30. <div id="layout">
  31. <div id="layout_top">
  32. </div>
  33. <div id="layout_form">
  34. </div>
  35. </div>
  36. </body>
  37. </html>