3.10 工程代码同步master
This commit is contained in:
14
public/ntko4Path.js
Normal file
14
public/ntko4Path.js
Normal file
@ -0,0 +1,14 @@
|
||||
var ntko;//控件对象
|
||||
|
||||
//初始化去打开文档
|
||||
function init(path) {
|
||||
ntko = document.getElementById("TANGER_OCX");
|
||||
ntko.OpenFromURL(path);
|
||||
ntko.SetReadOnly(true);//只读
|
||||
ntko.TitleBar = false;//不显示标题栏
|
||||
ntko.CustomToolBar = false;//不显示自定义工具栏
|
||||
ntko.FileSave = false;//禁用文档本身的保存功能
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user