?? topic.js
字號:
/*
[EasyJForum] (C)2007 Hongshee Soft.
$file: topic.js $
$Date: 2008/1/31 $
*/
function replyTopic()
{
if (isClosed)
{
alert('此主題已經關閉,不能繼續回帖 ');
return;
}
$('frmpost').action = replyUrl + "&act=reply";
$('frmpost').subject.value = "";
$('frmpost').content.value = "";
$('frmpost').submit();
}
function viewPage(pageno)
{
$('frmsort').action = topicUrl.replace(/(.+?-)\d+(\.html.*)/, '$1' + pageno + '$2');
$('frmsort').submit();
}
function doReply(seqno, nickname)
{
if (isClosed)
{
alert('此主題已經關閉,不能繼續回帖 ');
return;
}
$('frmpost').action = replyUrl + "&act=reply";
$('frmpost').subject.value = "Re: 回復 " + seqno + "# " + nickname + " 的帖子";
$('frmpost').content.value = "";
$('frmpost').submit();
}
function doQuote(seqno, nickname, createtime)
{
if (isClosed)
{
alert('此主題已經關閉,不能繼續回帖 ');
return;
}
var content = $('content_' + seqno).innerHTML;
if (content.length > 5000)
content = '<I>引用文字太長,省略...</I>';
$('frmpost').action = replyUrl + "&act=reply";
$('frmpost').subject.value = "";
$('frmpost').content.value = "<BR/><div class='quote'><h5>引用:</h5><blockquote>" + content
+ "<P class='quotefooter'>--- 原帖序號: " + seqno + "#, 由 <I>" + nickname
+ "</I> 于 " + createtime + " 發表</P></blockquote></div><BR/>";
$('frmpost').submit();
}
function doReport(replyId)
{
$('frmpost').action = reportUrl + "&rid=" + replyId;
$('frmpost').subject.value = "";
$('frmpost').content.value = "";
$('frmpost').submit();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -