<script>
function AddText(NewCode) {
document.form1.content.value+=NewCode
}
function up()
{
if(event.keyCode==13 && event.ctrlKey && !document.form1.Submit.disabled)
{
form1.submit();
document.form1.Submit.disabled=true;
}
}
</script>
<SCRIPT LANGUAGE="JavaScript">
helpstat = false;
stprompt = true;
basic = false;
function thelp(swtch){
if (swtch == 1){
basic = false;
stprompt = false;
helpstat = true;
} else if (swtch == 0) {
helpstat = false;
stprompt = false;
basic = true;
} else if (swtch == 2) {
helpstat = false;
basic = false;
stprompt = true;
}
}
function flash() {
if (helpstat){
alert("Flash 动画\n插入 Flash 动画.\n用法: [flash]Flash 文件的地址[/flash]");
} else if (basic) {
AddTxt="[flash][/flash]";
AddText(AddTxt);
} else {
txt=prompt("Flash 文件的地址","http://");
if (txt!=null) {
AddTxt="[flash]"+txt;
AddText(AddTxt);
AddTxt="[/flash]";
AddText(AddTxt);
}
}
}
function bold() {
if (helpstat) {
alert("加粗标记\n使文本加粗.\n用法: [b]这是加粗的文字[/b]");
} else if (basic) {
AddTxt="[b][/b]";
AddText(AddTxt);
} else {
txt=prompt("文字将被变粗.","文字");
if (txt!=null) {
AddTxt="[b]"+txt;
AddText(AddTxt);
AddTxt="[/b]";
AddText(AddTxt);
}
}
}
function italicize() {
if (helpstat) {
alert("斜体标记\n使文本字体变为斜体.\n用法: [i]这是斜体字[/i]");
} else if (basic) {
AddTxt="[i][/i]";
AddText(AddTxt);
} else {
txt=prompt("文字将变斜体","文字");
if (txt!=null) {
AddTxt="[i]"+txt;
AddText(AddTxt);
AddTxt="[/i]";
AddText(AddTxt);
}
}
}
function center() {
if (helpstat) {
alert("对齐标记\n使用这个标记, 可以使文本左对齐、居中、右对齐.\n用法: [align=center|left|right]要对齐的文本[/align]");
} else if (basic) {
AddTxt="[align=center|left|right][/align]";
AddText(AddTxt);
} else {
txt2=prompt("对齐样式\n输入 'center' 表示居中, 'left' 表示左对齐, 'right' 表示右对齐.","center");
while ((txt2!="center") && (txt2!="left") && (txt2!="right")) {
txt2=prompt("错误!\n类型只能输入 'center' 、 'left' 或者 'right'.","center");
}
txt=prompt("要对齐的文本","文本");
if (txt!=null) {
AddTxt="\r[align="+txt2+"]"+txt;
AddText(AddTxt);
AddTxt="[/align]";
AddText(AddTxt);
}
}
}
function hyperlink() {
if (helpstat) {
alert("超级链接标记\n插入一个超级链接标记\n使用方法: [url]http://qiongji.126.com[/url]\nUSE: [url=http://qiongji.126.com]链接文字[/url]");
} else if (basic) {
AddTxt="[url][/url]";
AddText(AddTxt);
} else {
txt2=prompt("链接文本显示.\n如果不想使用, 可以为空, 将只显示超级链接地址. ","");
if (txt2!=null) {
txt=prompt("超级链接.","http://");
if (txt!=null) {
if (txt2=="") {
AddTxt="[url]"+txt;
AddText(AddTxt);
AddTxt="[/url]";
AddText(AddTxt);
} else {
AddTxt="[url="+txt+"]"+txt2;
AddText(AddTxt);
AddTxt="[/url]";
AddText(AddTxt);
}
}
}
}
}
function image() {
if (helpstat){
alert("图片标记\n插入图片\n用法: [img]http://qiongji.8u8.com/qg/logo.gif[/img]");
} else if (basic) {
AddTxt="[img][/img]";
AddText(AddTxt);
} else {
txt=prompt("图片的 URL","http://");
if(txt!=null) {
AddTxt="\r[img]"+txt;
AddText(AddTxt);
AddTxt="[/img]";
AddText(AddTxt);
}
}
}
function list() {
if (helpstat) {
alert("列表标记\n建造一个文字或则数字列表.\n\nUSE: [list] [*]项目一[/*] [*]项目二[/*] [*]项目三[/*] [/list]");
} else if (basic) {
AddTxt=" [list][*] [/*][*] [/*][*] [/*][/list]";
AddText(AddTxt);
} else {
txt=prompt("列表类型\n输入 'A' 表示字母列表, '1' 表示数字列表, 留空表示圆点列表.","");
while ((txt!="") && (txt!="A") && (txt!="a") && (txt!="1") && (txt!=null)) {
txt=prompt("错误!\n类型只能输入 'A' 、 '1' 或者留空.","");
}
if (txt!=null) {
if (txt=="") {
AddTxt="[list]";
} else {
AddTxt="[list="+txt+"]";
}
txt="1";
while ((txt!="") && (txt!=null)) {
txt=prompt("列表项\n空白表示结束列表","");
if (txt!="") {
AddTxt+="[*]"+txt+"[/*]";
}
}
AddTxt+="[/list] ";
AddText(AddTxt);
}
}
}
function underline() {
if (helpstat) {
alert("下划线标记\n给文字加下划线.\n用法: [u]要加下划线的文字[/u]");
} else if (basic) {
AddTxt="[u][/u]";
AddText(AddTxt);
} else {
txt=prompt("下划线文字.","文字");
if (txt!=null) {
AddTxt="[u]"+txt;
AddText(AddTxt);
AddTxt="[/u]";
AddText(AddTxt);
}
}
}
function setfly() {
if (helpstat){
alert("飞翔标记\n使文字飞行.\n用法: [fly]文字为这样文字[/fly]");
} else if (basic) {
AddTxt="[fly][/fly]";
AddText(AddTxt);
} else {
txt=prompt("飞翔文字","文字");
if (txt!=null) {
AddTxt="[fly]"+txt;
AddText(AddTxt);
AddTxt="[/fly]";
AddText(AddTxt);
}
}
}
function move() {
if (helpstat) {
alert("移动标记\n使文字产生移动效果.\n用法: [move]要产生移动效果的文字[/move]");
} else if (basic) {
AddTxt="[move][/move]";
AddText(AddTxt);
} else {
txt=prompt("要产生移动效果的文字","文字");
if (txt!=null) {
AddTxt="[move]"+txt;
AddText(AddTxt);
AddTxt="[/move]";
AddText(AddTxt);
}
}
}
function shadow() {
if (helpstat) {
alert("阴影标记\n使文字产生阴影效果.\n用法: [SHADOW=宽度, 颜色, 边界]要产生阴影效果的文字[/SHADOW]");
} else if (basic) {
AddTxt="[SHADOW=255,blue,1][/SHADOW]";
AddText(AddTxt);
} else {
txt2=prompt("文字的长度、颜色和边界大小","255,blue,1");
if (txt2!=null) {
txt=prompt("要产生阴影效果的文字","文字");
if (txt!=null) {
if (txt2=="") {
AddTxt="[SHADOW=255, blue, 1]"+txt;
AddText(AddTxt);
AddTxt="[/SHADOW]";
AddText(AddTxt);
} else {
AddTxt="[SHADOW="+txt2+"]"+txt;
AddText(AddTxt);
AddTxt="[/SHADOW]";
AddText(AddTxt);
}
}
}
}
}
function glow() {
if (helpstat) {
alert("光晕标记\n使文字产生光晕效果.\n用法: [GLOW=宽度, 颜色, 边界]要产生光晕效果的文字[/GLOW]");
} else if (basic) {
AddTxt="[glow=255,red,2][/glow]";
AddText(AddTxt);
} else {
txt2=prompt("文字的长度、颜色和边界大小","255,red,2");
if (txt2!=null) {
txt=prompt("要产生光晕效果的文字.","文字");
if (txt!=null) {
if (txt2=="") {
AddTxt="[glow=255,red,2]"+txt;
AddText(AddTxt);
AddTxt="[/glow]";
AddText(AddTxt);
} else {
AddTxt="[glow="+txt2+"]"+txt;
AddText(AddTxt);
AddTxt="[/glow]";
AddText(AddTxt);
}
}
}
}
}
function email1() {
if (helpstat) {
alert("Email 标记\n插入 Email 超级链接\n用法1: [email]feiyueziwo@sohu.com[/email]\n用法2: [email=feiyueziwo@sohu.com]飞越[/email]");
} else if (basic) {
AddTxt="[email][/email]";
AddText(AddTxt);
} else {
txt2=prompt("链接显示的文字.\n如果为空,那么将只显示你的 Email 地址","");
if (txt2!=null) {
txt=prompt("Email 地址.","name@domain.com");
if (txt!=null) {
if (txt2=="") {
AddTxt="[email]"+txt+"[/email]";
} else {
AddTxt="[email="+txt+"]"+txt2;
AddText(AddTxt);
AddTxt="[/email]";
}
AddText(AddTxt);
}
}
}
}
function download() {
if (helpstat){
alert("下载标记\n插入下载地址\n用法: [download]http://8u8.qiongji.com[/download]");
} else if (basic) {
AddTxt="[download][/download]";
AddText(AddTxt);
} else {
txt=prompt("下载地址的 URL","http://");
if(txt!=null) {
AddTxt="\r[download]"
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
樵夫.zip (94个子文件)
樵夫
bottom.asp 204B
write1.asp 5KB
images
qiaofu2.gif 63KB
13.gif 5KB
b2.gif 271B
oicq.gif 162B
5.gif 4KB
ip.gif 422B
2.gif 4KB
20.gif 3KB
1.gif 5KB
8.gif 3KB
GOTOP.GIF 152B
3.gif 5KB
12.gif 4KB
6.gif 4KB
b4.gif 151B
11.gif 4KB
17.gif 3KB
qiaofu.gif 49KB
18.gif 4KB
b1.gif 271B
download.gif 91B
9.gif 5KB
7.gif 4KB
pm.gif 458B
14.gif 5KB
4.gif 4KB
announce.gif 637B
url.gif 991B
b3.gif 151B
homepage.gif 441B
re.gif 134B
Thumbs.db 114KB
16.gif 5KB
15.gif 5KB
del.gif 79B
email.gif 452B
dw.gif 3KB
10.gif 4KB
19.gif 4KB
announce.asp 1006B
bbs.css 669B
write.asp 7KB
conn.asp 772B
reply.asp 3KB
oklogin.asp 519B
save.asp 613B
guestbook.mdb 336KB
announce1.asp 2KB
login.asp 1KB
delete.asp 432B
loginout.asp 100B
ubb.js 8KB
headface.asp 652B
icon
13.gif 309B
5.gif 313B
2.gif 203B
1.gif 322B
8.gif 314B
3.gif 192B
12.gif 317B
6.gif 315B
11.gif 319B
9.gif 309B
7.gif 317B
14.gif 314B
4.gif 200B
Thumbs.db 10KB
10.gif 318B
addubb.asp 1KB
ubb
url1.gif 982B
center.gif 906B
glow.gif 296B
shadow.gif 318B
download.gif 963B
list.gif 915B
code.gif 927B
image.gif 963B
italicize.gif 910B
fly.gif 382B
bold.gif 923B
Thumbs.db 11KB
move.gif 320B
swf.gif 468B
email1.gif 990B
underline.gif 923B
top.asp 1KB
shui.asp 3KB
ubb.asp 8KB
admininfo.asp 2KB
index.asp 7KB
edit.asp 4KB
editannounce.asp 2KB
共 94 条
- 1
资源评论
engsawn
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功