You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

wpp.html 1.6KB

7 months ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html id="itemhtml">
  4. <head>
  5. <meta charset=utf-8" />
  6. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  7. <meta http-equiv="Pragma" content="no-cache" />
  8. <meta http-equiv="Expires" content="0" />
  9. <title>title</title>
  10. <style>
  11. button {
  12. background: #E6794A;
  13. }
  14. #demoBtn {
  15. height: 50px;
  16. }
  17. </style>
  18. <script type="text/javascript" src="./js/utils/json2.js"></script>
  19. <script type="text/javascript" src="./js/wps_sdk.js"></script>
  20. <script type="text/javascript" src="./js/wpp.js"></script>
  21. <link rel="stylesheet" href="./css/demo.css" type="text/css" />
  22. <link rel="stylesheet" href="highlight/zenburn.css">
  23. <script type="text/javascript" src="highlight/highlight.pack.js"></script>
  24. </head>
  25. <body class="demoBody">
  26. <div>
  27. <div>
  28. <div style="position:inherit" class="btnContainer">
  29. <button class="btn" id="newDoc">新建文档</button>
  30. <button class="btn" id="openDoc">打开文档</button>
  31. <button class="btn" id="onlineEditDoc">不落地打开文档(模拟保护模式打开)</button>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="divdemofunction" id="blockFunc" style="visibility: hidden;">
  36. <div class="divFunction">
  37. <div class="divDemo">
  38. <button id="demoBtn"></button>
  39. </div>
  40. <p id="codeDesTitle">功能说明</p>
  41. <pre><p id="codeDes"></p></pre>
  42. </div>
  43. <div class="divFunction">
  44. <fieldset>
  45. <legend id="codeview">功能代码</legend>
  46. <pre id="codepre"><code id="code"></code></pre>
  47. </fieldset>
  48. </div>
  49. </div>
  50. </body>
  51. </html>