menu.js
来自「台湾华南银行系统框架」· JavaScript 代码 · 共 28 行
JS
28 行
// You can find instructions for this file here:
// http://www.treeview.net
// Decide if the names are links or just the icons
USETEXTLINKS = 0; //replace 0 with 1 for hyperlinks
HIGHLIGHT = 1;
HIGHLIGHT_COLOR = '#FFFFFF';
HIGHLIGHT_BG = '#CC9900';
PRESERVESTATE = 0;
WRAPTEXT=1;
USEICONS = 0
// Decide if the tree is to start all open or just showing the root folders
STARTALLOPEN = 1; //replace 0 with 1 to show the whole tree
function generateCheckBox(parentfolderObject, itemLabel, checkBoxDOMId) {
var newObj;
// For an explanation of insDoc and gLnk, read the online instructions.
// They are the basis upon which TreeView is based.
newObj = insDoc(parentfolderObject, gLnk("R", itemLabel, "javascript:parent.op()"))
// The trick to show checkboxes in a tree that was made to display links is to
// use the prependHTML. There are general instructions about this member
// in the online documentation.
newObj.prependHTML = "<td valign=middle><input type=checkbox id="+checkBoxDOMId+"></td>"
}
ICONPATH = './images/' //change if the gif's folder is a subfolder, for example: 'images/'
foldersTree = gFld("地玭蝗︽そ痲獺癠
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?