⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tocparas.js

📁 一个真正的CMS系统,可以完全实现建站自动化,用.NET开发.
💻 JS
字号:
/* These are the parameters to define the appearance of the ToC. */

showNumbers = false;          // display the ordering strings: yes=true | no=false
backColor = "#FFFFFF";        // background color of the ToC 
normalColor = "#003399";      // text color of the ToC headlines
lastVisitColor = "#003399";   // text color of the line last visited
currentColor = "#003399";     // text color of the actual line just clicked on
titleColor = "#003399";       // text color of the title "Table of Contents"
normalBgColor = "#FFFFFF";    // background color of the ToC headlines
lastVisitBgColor = "#FFFFFF"; // background color of the line last visited
currentBgColor = "#FFFFFF";   // background color of the actual line just clicked on
titleColor = "#003399";       // 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.7, 0.7, 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,Helvetica,Arial"; // font-family of the title "Table of Contents"
fontLines = "Verdana,Arial,sans-serif"; // font-family of the headlines
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(0,1);     // 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: 0 = No, 1 = Yes. 
    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -