|

楼主 |
发表于 2015-11-12 15:39:36
|
显示全部楼层
$OV(...).HttpInit is not a function 这是个什么问题 现在准备用这段 if (!justep.Browser.isInApp && '.doc.docx.xls.xlsx.ppt.mpp.vsd.'.indexOf(String(/\.[^\.]+$/.exec(docName)) + '.') >= 0) {
$OV('docIframe').CreateOfficeViewer('100%', '100%');
$OV("docIframe").HttpInit();
$OV("docIframe").HttpAddpostString("FileID", fileID);
$OV("docIframe").HttpAddpostString("FileExt", String(/\.[^\.]+$/.exec(docName)));
$OV("docIframe").HttpAddpostString("VersionID", "last");
$OV("docIframe").HttpAddpostString("PartType", "content");
// alert(justep.Doc.getHost(docpath, fileID));
$OV("docIframe").HttpOpenFileFromStream(getHost(docPath, fileID));
$OV("docIframe").Toolbars = false;
} 能行不 |
|