📄 dispaly2.js
字号:
function J_Blog_Blog(){
//var J_Blog_Content;
var J_Blog_Import;
//var J_Blog_GoUrl;
var J_Blog_DO;
var J_Blog_ID;
//this.J_Blog_Content = J_Blog_Content;
this.J_Blog_Import = J_Blog_Import;
//this.J_Blog_GoUrl = J_Blog_GoUrl;
this.J_Blog_DO = J_Blog_DO;
this.J_Blog_ID = J_Blog_ID;
}
J_Blog_Blog.prototype.Show = function(){
try{
top.doSetProperty("title","日志内容管理");
top.doSetProperty("description","添加和管理日志基础内容信息。");
}catch(exception){
;
}
html = ('<form id="frmBlog2" name="frmBlog2" action="/j_blog_post.jsp?action=blog" method="post" onsubmit="return submitStatus(this);">');
html += ('<input type="hidden" name="J_Blog_DO" value="'+this.J_Blog_DO+'">');
html += ('<input type="hidden" name="J_Blog_ID" value="'+this.J_Blog_ID+'">');
html += ('<input type="hidden" name="J_Blog_Step" value="2">');
html += ('<table width="96%" border="0" cellspacing="1" cellpadding="3">');
html += ('<tr bgcolor="#F6F6F6">');
html += ('<td width="20%" bgcolor="#FFFFCC" colspan="2">内容信息</td>');
html += ('</tr>');
html += ('<tr bgcolor="#F6F6F6">');
html += ('<td width="20%" bgcolor="#FFFFCC">引用地址:</td><td><input type="text" value="'+this.J_Blog_Import+'" name="J_Blog_Import" size="50" allownull="0" /></td>');
html += ('</tr>');
this.editBar();
document.write(html);
}
J_Blog_Blog.prototype.editBar = function()
{
var editbar;
var frmInfo;
var blStatus = "";
editbar = parent.frames["frmbar"].document.all.span_editarea;
frmInfo = "parent.frames['showfrm']";
try
{
editbar.innerHTML;
}
catch (e)
{
editbar = parent.frmbar;
frmInfo = "document.frames['frminc']";
}
editbar.innerHTML = ('<input type="button" id="btnAddnew" value="新 建" onclick="'+frmInfo+'.location = \'blog/blog.jsp?action=addnew\'" disabled /> <input type="button" id="btnPrev" value="上一步" onclick="javascript:history.back(-1);" /> <input type="button" id="btnSubmit" value="下一步" onclick="'+frmInfo+'.doSubmit();" '+blStatus+' /> <input type="button" id="btnReset" value="重 写" onclick="'+frmInfo+'.frmBlog.reset();" /> ');
}
/**
* 频道保存状态
*/
function submitStatus(frm)
{
if (chkform(frm))
{
try
{
parent.btnAddnew.disabled = false;
parent.btnPrev.disabled = true;
parent.btnSubmit.disabled = true;
parent.btnReset.disabled = true;
}
catch (e){
this.disabled = true;
}
return true;
}else{
return false;
}
}
function doSubmit()
{
if (submitStatus(frmBlog2))
{
frmBlog2.submit();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -