OnLineDoc.html 875 B

1234567891011121314151617181920212223242526
  1. 
  2. <html>
  3. <script src="js/suwell_ofdReader.js" charset="UTF-8" ></script>
  4. <script src="apiurljs.js"></script>
  5. <script language="JavaScript">
  6. console.log(apiurljs.uploadattach + decodeURI(location.search.match(new RegExp("[\?\&]file=([^\&]+)", "i"))[1]))
  7. var ocx;
  8. function initObject(){
  9. ocx=suwell.ofdReaderInit("OFDActiveXDIV","1200px","950px");
  10. if(ocx){
  11. ocx.openFile(apiurljs.uploadattach + decodeURI(location.search.match(new RegExp("[\?\&]file=([^\&]+)", "i"))[1]), false);
  12. ocx.setCompositeVisible(["menu","toolbar","navigator"], false);
  13. }
  14. }
  15. function a(){
  16. var diva = document.getElementById("a");
  17. diva.style.display="none";
  18. }
  19. </script>
  20. <body onload="initObject();" style="overflow-y:hidden">
  21. <div style="width: 100%;text-align:center">
  22. <div id="OFDActiveXDIV"></div>
  23. </div>
  24. </body>
  25. </html>