1234567891011121314151617181920212223242526 |
-
- <html>
- <script src="js/suwell_ofdReader.js" charset="UTF-8" ></script>
- <script src="apiurljs.js"></script>
- <script language="JavaScript">
- console.log(apiurljs.uploadattach + decodeURI(location.search.match(new RegExp("[\?\&]file=([^\&]+)", "i"))[1]))
- var ocx;
- function initObject(){
- ocx=suwell.ofdReaderInit("OFDActiveXDIV","1200px","950px");
- if(ocx){
- ocx.openFile(apiurljs.uploadattach + decodeURI(location.search.match(new RegExp("[\?\&]file=([^\&]+)", "i"))[1]), false);
-
- ocx.setCompositeVisible(["menu","toolbar","navigator"], false);
- }
- }
- function a(){
- var diva = document.getElementById("a");
- diva.style.display="none";
- }
- </script>
- <body onload="initObject();" style="overflow-y:hidden">
- <div style="width: 100%;text-align:center">
- <div id="OFDActiveXDIV"></div>
- </div>
- </body>
- </html>
|