Edit/editor.htm
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>快捷文章发表框</title>
<link rel="StyleSheet" href="editor/base.css">
<script type="text/javascript" src="editor/editor.js"></script>
<script type="text/javascript">
var guid = "1324481743" ;
var sState = "iframe";
var checkEdit;
function save_article(){
et.save();
if(exist('editor_body_textarea')){
setCopy($('editor_body_textarea').value);
}else if(exist('editor_body_area')){
setCopy($('editor_body_area').value);
}
}
function article_preview(){
if (check_editor()){
var editor_win = window.open('', "_blank", '');
editor_win.document.open('text/html', 'replace');
editor_win.opener = null
editor_win.document.writeln($('editor_body_textarea').value);
editor_win.document.close();
}
}
function LoadContent(){
if (typeof(EDiaryEditor.iframe)=="object"){
EDiaryEditor.iframe.contentWindow.document.body.innerHTML=window.parent.document.getElementById(Request('id')).value;;
}else{
setTimeout("LoadContent()",200);
}
}
function AttachSubmit(){
if(editor_body_textarea.style.display=="none"){
$('editor_body_textarea').value=EDiaryEditor.iframe.contentWindow.document.body.innerHTML;
}else{
EDiaryEditor.iframe.contentWindow.document.body.innerHTML=$('editor_body_textarea').value;
}
window.parent.document.getElementById(Request('id')).value=EDiaryEditor.iframe.contentWindow.document.body.innerHTML;
et.delEditorRsave();
}
function AttachReset(){
if(editor_body_textarea.style.display=="none"){
EDiaryEditor.iframe.contentWindow.document.body.innerHTML=window.parent.document.getElementById(Request('id')).value;
$('editor_body_textarea').value=EDiaryEditor.iframe.contentWindow.document.body.innerHTML;
}else{
$('editor_body_textarea').value=window.parent.document.getElementById(Request('id')).value;
EDiaryEditor.iframe.contentWindow.document.body.innerHTML=$('editor_body_textarea').value;
}
}
//附件提交和重置信息
oForm=window.parent.document.getElementById(Request("id")).form;
后面还有 93 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
