📄 commentdisplay.htm
字号:
<!--
function isDel()
{
var x = window.confirm('是否删除?');
if (x)
{
return true;
}
else
{
return false;
}
}
function doReference(commentID)
{
document.postComment.CommentIDTxt.value = commentID;
commenttag.innerHTML = '【引用';
commenttag.innerHTML += '评论】<span onclick=cancelquote(); style="cursor:hand; color:ff0000;">【取消引用】</span>';
}
function doRejectAnonymousComment(blogname, commentid)
{
RejectAnonymousComment(blogname, commentid);
}
function cancelquote()
{
document.postComment.CommentIDTxt.value=0;
commenttag.innerHTML = '';
}
function fastReply(quoteID,replyWords)
{
document.postComment.CommentIDTxt.value = quoteID;
document.postComment.ReplyType.value = "1";
document.postComment.NoHtmlCommentContent.value = replyWords;
document.postComment.submit();
document.postComment.NoHtmlCommentContent.value = "";
document.postComment.CommentIDTxt.value = "0";
}
function showArticleComments() {
var str1="";
str1+="<div class='Reply'>";
str1+=" <table border='0' cellpadding='0' cellspacing='0' class='ReplyTable' >";
str1+="<tr valign='top'>";
str1+=" <td class='ReplyTable_A'>";
str1+="<a name='#comment_16395664'></a> ";
str1+="<div>";
str1+="</div>";
str1+="<div class='ReplyTable_A_1'> 匿名者(未注册)</div>";
str1+="";
str1+="</td>";
str1+=" <td class='ReplyTable_B'>";
str1+=" <div class='ReplyTable_B_1'>";
str1+=" <div class='ReplyTable_B_1_1'>Re: 企业信息管理系统(一) [2008-4-15 10:20:49]</div></div>";
str1+="<div id='ReplyTableAll'>没得下载。。<img src=\"http://comment.blog.hexun.com/img/emotions/36.gif\" border=\"0\" alt=\"\" /></div>";
str1+=" <div class='ReplyTable_B_4'><a href='#comment' onclick='doReference(16395664);'>[引用]</a> <a href='#' onclick='fastReply(16395664,"支持!");'>[支持]</a> <a href='#' onclick='fastReply(16395664,"反对!");'>[反对]</a> <a href='http://comment.blog.hexun.com/xianren2008/deletecomment.aspx?articleid=17853919&commentid=16395664&page=1&pagesize=10' title='删除本评论...' onclick='return isDel();'>[删除]</a> <a href='javascript:doRejectAnonymousComment("xianren2008",16395664);' id='CheckAnonymousComment_16395664'>[不允许匿名评论]</a> </div>";
str1+=" </td>";
str1+=" </tr>";
str1+="<tr valign='top'>";
str1+=" <td class='ReplyTable_A'>";
str1+="<a name='#comment_16342200'></a> ";
str1+="<div>";
str1+="</div>";
str1+="<div class='ReplyTable_A_1'> 匿名者(未注册)</div>";
str1+="";
str1+="</td>";
str1+=" <td class='ReplyTable_B'>";
str1+=" <div class='ReplyTable_B_1'>";
str1+=" <div class='ReplyTable_B_1_1'>Re: 企业信息管理系统(一) [2008-4-13 9:26:13]</div></div>";
str1+="<div id='ReplyTableAll'><img src=\"http://comment.blog.hexun.com/img/emotions/24.gif\" border=\"0\" alt=\"\" /></div>";
str1+=" <div class='ReplyTable_B_4'><a href='#comment' onclick='doReference(16342200);'>[引用]</a> <a href='#' onclick='fastReply(16342200,"支持!");'>[支持]</a> <a href='#' onclick='fastReply(16342200,"反对!");'>[反对]</a> <a href='http://comment.blog.hexun.com/xianren2008/deletecomment.aspx?articleid=17853919&commentid=16342200&page=1&pagesize=10' title='删除本评论...' onclick='return isDel();'>[删除]</a> <a href='javascript:doRejectAnonymousComment("xianren2008",16342200);' id='CheckAnonymousComment_16342200'>[不允许匿名评论]</a> </div>";
str1+=" </td>";
str1+=" </tr>";
str1+="</table></div>";
str1+=" <div class='PageSkip_1'></div> ";
str1+=" <div class='PageSkip_2'></div></div>";
document.getElementById("articleCommentDisplay").innerHTML=str1;
}
showArticleComments();
// -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -