📄 progressbar.js
字号:
function setPgb(pgbID, pgbValue) {
if (pgbObj = document.getElementById(pgbID))
pgbObj.width = pgbValue + '%'; // increase the progression by changing the width of the table
if (lblObj = document.getElementById(pgbID+'_label'))
lblObj.innerHTML = pgbValue + '%'; // change the label value
}
function addLog(logID, logValue) {
if (logObj = document.getElementById(logID)) {
logObj.innerHTML = logObj.innerHTML + logValue; // append the log entry
logObj.doScroll('pageDown'); // make the log scroll automatically when new entries are added
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -