?? functions.js
字號:
var clear_cache_timeout_id;
function clearCache(e)
{
window.clearTimeout(clear_cache_timeout_id);
$(e).text("Clearing...");
var url = _ADMIN_DIR + "tools/clearcache";
var par = { _rn: Math.random() };
$.post(url, par, function(clear_count) {
var clear_count = parseInt(clear_count);
if(clear_count > 0)
{
$(e).text(clear_count + " file(s) has been deleted").css({color: 'green'});
}
else
{
$(e).text("Has been deleted before").css({color: 'orange'});
}
clear_cache_timeout_id = window.setTimeout(function() {
$(e).text("Clear Cache").css({color: 'gray'});
}, 2000);
});
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -