📄 edit.js
字号:
var xmlHttp = window.XMLHttpRequest?(new XMLHttpRequest()):(new ActiveXObject("Microsoft.XMLHTTP"));
function chaptercontent(path,chaptername,chapterid)
{
document.getElementById("Text_ChapterName").value =chaptername;
document.getElementById("Hidden_Chapterid").value =chapterid;
document.getElementById("Hidden_Path").value =path;
var url = "ajaxcontent.aspx?path="+path;
xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = result;
xmlHttp.send(null);
return false;
}
function result()
{
if (xmlHttp.readyState == 4 && xmlHttp.status==200)
document.getElementById("Text_Content").value = xmlHttp.responseText;
}
function imageshow()
{
if(document.getElementById("File_Pic").value!='')
document.getElementById("cover").src=document.getElementById("File_Pic").value;
}
function delcontent(topicid,chapterid,path)
{
manage_edit.delchapter(topicid,chapterid,path);
document.getElementById(chapterid).innerHTML="";
return false;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -