?? effect.cr.js
字號:
// 圖像與特效 - 留言頁面
document.write('<style type="text/css">');
document.write('textarea { font-family: "" font-size: 12px; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}');
document.write('</style>');
// ----- //
function sub()
{
var i,t,len,n="關于《"+document.title+"》一文,我有一些看法:\n"+location.href+"\n";
var s=document.vbform.message.value;
len=s.length;
for (i=0;i<len;i++)
{
t=s.substring(i,i+1,1);
if(t==">") s=s.substring(0,i)+"<"+s.substring(i+1,len),len+=3;
if(t==">") s=s.substring(0,i)+">"+s.substring(i+1,len),len+=3;
}
if (s.substring(0,6)!=n.substring(0,6))
{
document.vbform.message.value=n+s;
}
}
function HighlightAll(theField)
{
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
therange=tempval.createTextRange()
therange.execCommand("Copy")
}
function DoTitle(addTitle)
{
var revisedTitle;
var currentTitle = document.vbform.subject.value;
revisedTitle = currentTitle+addTitle;
document.vbform.subject.value=revisedTitle;
document.vbform.subject.focus();
return;
}
document.write('<table onMouseOver=javascript:sub() cellspacing=1 cellpadding=2 border=0 align="center" bgcolor="#000000" width="100%"><tbody>');
document.write('<form target="_blank" name=vbform action=http://cgd.pages.com.cn/cvbb/newthread.php method=post encType=multipart/form-data>');
document.write('<input type=hidden value=5 name=forumid>');
document.write('<input type=hidden value=postthread name=action>');
document.write('<tr bgcolor="#CCCCCC">');
document.write('<td width="15%" align="center">');
document.write('<div align="center"><font color="#000000"><b>主 題</b></font></div>');
document.write('</td>');
document.write('<td colspan="2" width="85%">');
document.write('<input maxlength=60 size=50 name=subject>');
document.write('</td>');
document.write('</tr>');
document.write('<tr bgcolor="#CCCCCC">');
document.write('<td width="15%" align="center">');
document.write('<div align="center"><font color="#000000"><b>注 意</b></font></div>');
document.write('</td>');
document.write('<td colspan="2" width="85%">');
document.write('<select onChange=DoTitle(this.options[this.selectedIndex].value) name=font>');
document.write('<option value="" selected>選擇話題</option>');
document.write('<option value=[原創]>[原創]</option>');
document.write('<option value=[轉帖]>[轉帖]</option>');
document.write('<option value=[灌水]>[灌水]</option>');
document.write('<option value=[討論]>[討論]</option>');
document.write('<option value=[求助]>[求助]</option>');
document.write('<option value=[推薦]>[推薦]</option>');
document.write('<option value=[公告]>[公告]</option>');
document.write('<option value=[注意]>[注意]</option>');
document.write('<option value=[貼圖]>[貼圖]</option>');
document.write('<option value=[建議]>[建議]</option>');
document.write('<option value=[下載]>[下載]</option>');
document.write('<option value=[分享]>[分享]</option>');
document.write('</select>');
document.write(' <b>只有注冊用戶才能發貼留言</b>');
document.write('<font color=#333333></font></td>');
document.write('</tr>');
document.write('<tr bgcolor="#CCCCCC">');
document.write('<td valign=top width="15%" align="center">');
document.write('<div align="center"><font color="#000000"><b>內 容</b></font></div>');
document.write('</td>');
document.write('<td colspan="2" width="85%">');
document.write('<textarea name="message" cols="70" wrap="VIRTUAL" rows="6">');
document.write('</textarea>');
document.write('</td>');
document.write('</tr>');
document.write('<tr bgcolor="#990000">');
document.write('<td height="29" width="15%"><font color=#333333><b> </b></font></td>');
document.write('<td height="29" colspan="2" width="85%">');
document.write('<input type=submit value="發 表" name=Submit>');
document.write(' <input type=reset value="清 除" name=Clear>');
document.write(' <input type="button" value="查 看" onClick=window.open("http://cgd.pages.com.cn/cvbb/forumdisplay.php?forumid=5") name="View">');
document.write(' <input type="button" value="注 冊" onClick=window.open("http://cgd.pages.com.cn/cvbb/register.php") name="Reg">');
document.write('</td></tr></form></table>');
// ----- //
document.write("<br>");
document.write("<center><b><font color=#000000>"+"我們不歡迎任何不經我們授權抄襲或超鏈接我們網站內容的行為"+"</b></font></center>");
document.write("<center><b><font color=#000000>"+"如果您認為某些內容侵犯了您的權益,請給我們來信,我們確認后即刻將其刪除,并公開向您道歉"+"<b></font></center>");
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -