⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 add.asp

📁 qiangda de wangluo liuyanban
💻 ASP
📖 第 1 页 / 共 5 页
字号:
		txt=prompt("要插入图片的地址","http://");    
		if(txt!=null) {            
			AddTxt="[img]"+txt+"[/img]";
			AddText(AddTxt);
		}	
	}
}

function showcode() {
	if (helpstat) {
		alert("按照编号显示.\nUsefull for posting code.\n\n用法: [code]这是编号过的文字[/code]");
	} else if (basic) {
		AddTxt=" [code] [/code]";
		AddText(AddTxt);
	} else {   
		txt=prompt("加入编号","");     
		if (txt!=null) {          
			AddTxt="[code]"+txt+"[/code]";
			AddText(AddTxt);
		}	       
	}
}

function list() {
	if (helpstat) {
alert("UBB目录,是HTML里面的LI.\n\nUSE: [list] [*]项目一[/*] [*]项目二[/*] [*]项目三[/*] [/list]");
	} else if (basic) {
		AddTxt=" [list][*]  [/*][*]  [/*][*]  [/*][/list]";
		AddText(AddTxt);
	} else {  
		type=prompt("Type of list Enter \'A\' for alphabetical, \'1\' for numbered, Leave blank for bulleted.","");               
		while ((type!="") && (type!="A") && (type!="a") && (type!="1") && (type!=null)) {
			txt=prompt("错误! The only possible values for type of list are blank 'A' and '1'.","");               
		}
		if (type!=null) {
			if (type=="") {
				AddTxt="[list]";
			} else {
				AddTxt="[list="+type+"]";
			} 
			txt="1";
			while ((txt!="") && (txt!=null)) {
				txt=prompt("List item Leave blank to end list",""); 
				if (txt!="") {             
					AddTxt+="[*]"+txt+"[/*]"; 
				}                   
			} 
			if (type=="") {
				AddTxt+="[/list] ";
			} else {
				AddTxt+="[/list="+type+"]";
			} 
			AddText(AddTxt); 
		}
	}
}



function underline() {
  	if (helpstat) {
		alert("文字下划线.\n\nUSE: [u]下划线文字[/u]");
	} else if (basic) {
		AddTxt="[u][/u]";
		AddText(AddTxt);
	} else {  
		txt=prompt("文字已经下划线.","Text");     
		if (txt!=null) {           
			AddTxt="[u]"+txt+"[/u]";
			AddText(AddTxt);
		}	        
	}
}

function showfont(font) {
 	if (helpstat){
		alert("字体标记\n给文字设置字体.\n用法: [face="+font+"]改变文字字体为"+font+"[/face]");
	} else if (basic) {
		AddTxt="[face="+font+"][/face]";
		AddText(AddTxt);
	} else {                  
		txt=prompt("要设置字体的文字"+font,"文字");
		if (txt!=null) {             
			AddTxt="[face="+font+"]"+txt;
			AddText(AddTxt);
			AddTxt="[/face]";
			AddText(AddTxt);
		}        
	}  
}

function flash() {
if (helpstat) {
alert("Flash标签\n在贴子中插入flash。.\n用法: [flash size=2]http:\www.domain.com.lash.swf[/flash]");
} else if (basic) {
AddTxt="[flash size=2]http://[/flash]";
AddText(AddTxt);
} else { 
txt2=prompt("请选择flash的显示大小(只能选择1-4),1为80x60,2为160x120,3为320x140,4为500x500 .","1"); 
if (txt2!=null) {
txt=prompt("请输入flash的连接地址(.swf 结尾).","http://");
if (txt!=null) {
if (txt2=="") {
AddTxt="[flash size=2]"+txt+"[/flash]";
AddText(AddTxt);
} else {
AddTxt="[flash size="+txt2+"]"+txt+"[/flash]";
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="\r[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;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -