fhtocparas.js
来自「美国移民局软件,请大家不要用于商业用途!站长为什么还不开通我的帐号呀」· JavaScript 代码 · 共 16 行
JS
16 行
/* These are the parameters to define the appearance of the ToC. */
var
showNumbers = false, // display the ordering strings: yes=true | no=false
backColor = "#FFFFFF", // background color of the ToC
normalColor = "#0033FF", // text color of the ToC headlines
lastVisitColor = "#663366", // text color of the line last visited
currentColor = "#0033FF", // text color of the actual line just clicked on
titleColor = "#330000", // text color of the title "Table of Contents"
mLevel = -1, // number of levels minus 1 the headlines of which are presentet with large and bold fonts
textSizes = new Array(1.0, 0.8, 0.8, 0.7, 0.6), // font-size factors for: [0] the title "Table of Contents", [1] larger and bold fonts [2] smaller fonts if MS Internet Explorer [3] larger and bold fonts [4] smaller fonts if Netscape Navigator.
fontTitle = "Verdana", // font-family of the title "Table of Contents"
fontLines = "Verdana", // font-family of the headings
tocScroll=true, // Automatic scrolling of the ToC frame (true) or not(false)
tocBehaviour = new Array(2,2), // Indicates how the ToC shall change when clicking in the heading symbol (1st arg.) resp. in the heading text (2nd arg). Arg's meaning: 0 = No change, 1 = ToC changes with automatic collapsing, 2 = ToC changes with no automatic collapsing.
tocLinks = new Array(1,0); // Indicates wether the content's location shall be changed when clicking in the heading symbol (1st arg.) resp. in the heading text (2nd arg). Arg's meaning: 1 = No, 0 = Yes.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?