亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? htmledit.js

?? jsp+sql論壇系統(tǒng) jsp+sql論壇系統(tǒng) jsp+sql論壇系統(tǒng)
?? JS
字號:
document.writeln("<table width=100% height=100% cellpadding=2 cellspacing=0><tr><td height=26 align=left><select style=\"width:66px\" onChange=\"FormatText('FormatBlock',this[this.selectedIndex].value);\"><option selected>段落</option><option value=\"&lt;P&gt;\">正文</option><option value=\"&lt;H1&gt;\">標題一</option><option value=\"&lt;H2&gt;\">標題二</option><option value=\"&lt;H3&gt;\">標題三</option><option value=\"&lt;H4&gt;\">標題四</option><option value=\"&lt;H5&gt;\">標題五</option><option value=\"&lt;H6&gt;\">標題六</option><option value=\"&lt;PRE&gt;\">預設格式</option></select> <select style=\"width:120px\" name=\"selectFont\" onChange=\"FormatText('fontname', selectFont.options[selectFont.selectedIndex].value);\"><option selected>字體<option value=\"removeFormat\">默認字體<option value=\"宋體\">宋體<option value=\"黑體\">黑體<option value=\"隸書\">隸書<option value=\"幼圓\">幼圓<option value=\"楷體_GB2312\">楷體<option value=\"仿宋_GB2312\">仿宋<option value=\"新宋體\">新宋體<option value=\"華文彩云\">華文彩云<option value=\"華文仿宋\">華文仿宋<option value=\"華文新魏\">華文新魏<option value=\"Arial\">Arial<option value=\"Arial Black\">Arial Black<option value=\"Arial Narrow\">Arial Narrow<option value=\"Century\">Century<option value=\"Courier New\">Courier New<option value=\"Georgia\">Georgia<option value=\"Impact\">Impact<option value=\"Lucida Console\">Lucida Console<option value=\"MS Sans Serif\">MS Sans Serif<option value=\"System\">System<option value=\"Symbol\">Symbol<option value=\"Tahoma\">Tahoma<option value=\"Times New Roman\">Times New Roman&nbsp; &nbsp;<option value=\"Verdana\">Verdana<option value=\"Webdings\">Webdings<option value=\"Wingdings\">Wingdings</option></select> <select onChange=\"FormatText('fontsize',this[this.selectedIndex].value);\" name=\"D2\"><option class=\"heading\" selected>字體大小<option value=1>一號<option value=2>二號<option value=3>三號<option value=4>四號<option value=5>五號<option value=6>六號<option value=7>七號</option></select>");
document.writeln("<img src=../htmledit/wbTextBox/images/fbcolor.gif alt=\"突出顏色\" align=absmiddle style=cursor:hand onClick=BackColor()>");
document.writeln("<img src=../htmledit/wbTextBox/images/fgcolor.gif alt=\"字體顏色\" align=absmiddle style=cursor:hand onClick=foreColor()>");
document.writeln("<img src=../htmledit/wbTextBox/images/replace.gif alt=\"替換\" align=absmiddle style=cursor:hand onClick=replace()>");
document.writeln("<img src=../htmledit/wbTextBox/images/img.gif alt=\"插入圖片\" align=absmiddle style=cursor:hand onClick=img()>");
document.writeln("<img alt=\"插入FLASH文件\" src=../htmledit/wbTextBox/images/swf.gif align=absmiddle style=cursor:hand onclick=flash()>");
document.writeln("<img alt=\"插入Media Player文件\" src=../htmledit/wbTextBox/images/wmv.gif align=absmiddle style=cursor:hand onclick=MediaPlayer()>");
document.writeln("<img alt=\"插入RealPlayer文件\" src=../htmledit/wbTextBox/images/rm.gif align=absmiddle style=cursor:hand onclick=RealPlay()>");
document.writeln("<img alt=\"插入表格\" src=../htmledit/wbTextBox/images/table.gif align=absmiddle style=cursor:hand onclick=WBTB_fortable()>");
//document.writeln("<img alt=\"插入表情\" src=../htmledit/wbTextBox/images/em.gif align=absmiddle style=cursor:hand onclick=em()>");
document.writeln("<img alt=\"HTML編輯\" src=../htmledit/wbTextBox/images/html.gif align=absmiddle style=cursor:hand onclick=html()><br>");
document.writeln("</td></tr>");
document.writeln("<tr><td height=26>");
var FormatTextlist="插入超鏈接 createLink|去掉超鏈接 unlink|粗體 bold|傾斜 italic|下劃線 underline|上標 superscript|下標 subscript|刪除線 strikethrough|刪除文字格式 RemoveFormat|左對齊 Justifyleft|居中 JustifyCenter|右對齊 JustifyRight|兩端對齊 justifyfull|編號 insertorderedlist|項目符號 InsertUnorderedList|減少縮進量 Outdent|增加縮進量 indent|普通水平線 InsertHorizontalRule|復制 copy|粘貼 paste|撤消 undo|恢復 redo|全選 selectAll"//|取消選擇 unselect|刪除當前選中區(qū) Delete"
var list= FormatTextlist.split ('|'); 
for(i=0;i<list.length;i++) {
if (list[i]=="br>"){document.write("<br>");
}else{
var TextName= list[i].split (' '); 
document.write(" <img align=absmiddle src=../htmledit/wbTextBox/images/"+TextName[1]+".gif alt="+TextName[0]+" style=cursor:hand onClick=FormatText('"+TextName[1]+"')> ");
}
}
//document.writeln("<img alt=\"清理代碼\" src=../htmledit/wbTextBox/images/CleanCode.gif align=absmiddle style=cursor:hand onclick=CleanCode()>");
document.writeln("</td></tr><tr><td height=100%><iframe ID=HtmlEditor MARGINHEIGHT=5 MARGINWIDTH=5 width=100% height=100%></iframe></td></tr><tr></tr></table>");

if (document.all){var IframeID=frames["HtmlEditor"];}else{var IframeID=document.getElementById("HtmlEditor").contentWindow;}
if (navigator.appVersion.indexOf("MSIE 6.0",0)==-1){IframeID.document.designMode="On"}
IframeID.document.open();
IframeID.document.write ('<script>i=0;function ctlent(eventobject){if(event.ctrlKey && window.event.keyCode==13 && i==0){i=1;parent.document.myform.menu.value=document.body.innerHTML;parent.document.myform.submit();parent.document.myform.submit1.disabled=true;}}<\/script><body onkeydown=ctlent()>');
IframeID.document.close();
IframeID.document.body.contentEditable = "True";
IframeID.document.body.innerHTML=document.getElementById("menu").value;
IframeID.document.body.style.fontSize="10pt";


function em(){
var arr = showModalDialog("../htmledit/inc/Emotion.htm", "", "dialogWidth:18em; dialogHeight:7em; status:0;help:0");
if (arr != null){
IframeID.focus()
sel=IframeID.document.selection.createRange();
sel.pasteHTML(arr);
}
}

function CleanCode(){
var body = IframeID.document.body;
var html = IframeID.document.body.innerHTML;
html = html.replace(/\<p>/gi,"[$p]");
html = html.replace(/\<\/p>/gi,"[$\/p]");
html = html.replace(/\<br>/gi,"[$br]");
html = html.replace(/\<[^>]*>/g,"");
html = html.replace(/\[\$p\]/gi,"<p>");
html = html.replace(/\[\$\/p\]/gi,"<\/p>");
html = html.replace(/\[\$br\]/gi,"<br>");
IframeID.document.body.innerHTML = html;
}


function FormatText(command,option){IframeID.focus();IframeID.document.execCommand(command,true,option);}

function CheckLength(){alert("最大字符為 "+5000000+ " 字節(jié)\n您的內(nèi)容已有 "+IframeID.document.body.innerHTML.length+" 字節(jié)");}

function emoticon(theSmilie){
IframeID.focus();
sel=IframeID.document.selection.createRange();
sel.pasteHTML("<img src=images/Emotions/"+theSmilie+".gif>");
}

//function DoTitle(addTitle) {
//var revisedTitle;var currentTitle = document.myform.topic.value;revisedTitle = addTitle+currentTitle;document.myform.topic.value=revisedTitle;document.myform.topic.focus();
//}
 
function CheckForm(form){
form.menu.value=IframeID.document.body.innerHTML; 
MessageLength=IframeID.document.body.innerHTML.length;
if(MessageLength<2){alert("文章內(nèi)容不能小于2個字符!");return false;}
if(MessageLength>5000000){alert("文章內(nèi)容不能超過5000000個字符!");return false;}
document.myform.submit1.disabled = true;
}

function Gopreview()
{
document.preview.remenu.value=IframeID.document.body.innerHTML; 
window.open('', 'preview_page', 'resizable,scrollbars,width=550,height=450');
document.preview.submit()
}

function WBTB_fortable()
{
	//if (!WBTB_validateMode())	return;
	var arr = showModalDialog("../htmledit/wbTextBox/table.html", "", "dialogWidth:14.5em; dialogHeight:16.5em; status:0; help:0");
	
	if (arr != null)
	{
		var ss;
		ss=arr.split("*")
		row=ss[0];
		if (row=="") row=1;
		col=ss[1];
		if (col=="") col=1;
		tbwidth=ss[2];
		if (tbwidth=="") tbwidth=500;
		tbborder=ss[3];
		if (tbborder=="") tbborder=1;
		celpadding=ss[4];
		if (celpadding=="") celpadding=2;
		bdcolor=ss[5];
		if (bdcolor=="") bdcolor="#CCCCCC";
		bgcolor=ss[6];
		if (bgcolor=="") bgcolor="#FFFFFF";
		tbalign=ss[7];
		if (tbalign=="") tbalign="center";
		var string;
		string="<table border="+ tbborder +" cellspacing=0 width="+tbwidth+" cellpadding="+ celpadding +" align="+tbalign+" bgcolor='"+ bgcolor +"' bordercolor="+ bdcolor +" style='border-collapse:collapse'>";
		for(i=1;i<=row;i++){
			string=string+"<tr>";
			for(j=1;j<=col;j++){
				string=string+"<td>&nbsp;</td>";
			}
			string=string+"</tr>";
		}
		string=string+"</table>";
		content=IframeID.document.body.innerHTML;
		content=content+string;
		IframeID.document.body.innerHTML=content;
		IframeID.focus();
	}
	else
		IframeID.focus();
}

function BackColor()
{
  var arr = showModalDialog("../htmledit/inc/selcolor.htm", "", "dialogWidth:18em; dialogHeight:17.5em; status:0;help:0");
  if (arr != null) FormatText('BackColor', arr);
  else IframeID.focus();
}

function foreColor()
{
  var arr = showModalDialog("../htmledit/inc/selcolor.htm", "", "dialogWidth:18em; dialogHeight:17.5em; status:0;help:0");
  if (arr != null) FormatText('forecolor', arr);
  else IframeID.focus();
}

//////替換內(nèi)容
function replace()
{
  var arr = showModalDialog("../htmledit/inc/replace.html", "", "dialogWidth:22em;dialogHeight:10em;status:0;help:0");
	if (arr != null){
		var ss;
		ss = arr.split("*")
		a = ss[0];
		b = ss[1];
		i = ss[2];
		con = IframeID.document.body.innerHTML;
		if (i == 1)
		{
			con = bbsxp_rCode(con,a,b,true);
		}else{
			con = bbsxp_rCode(con,a,b);
		}
		IframeID.document.body.innerHTML = con;
	}
	else IframeID.focus();
}
function bbsxp_rCode(s,a,b,i){
	a = a.replace("?","\\?");
	if (i==null)
	{
		var r = new RegExp(a,"gi");
	}else if (i) {
		var r = new RegExp(a,"g");
	}
	else{
		var r = new RegExp(a,"gi");
	}
	return s.replace(r,b); 
}
//////替換內(nèi)容結束

function img(){
url=prompt("請輸入圖片文件URL地址:","http://");
if(!url || url=="http://") return;
IframeID.focus();
sel=IframeID.document.selection.createRange();
sel.pasteHTML("<img src="+url+">");
}

function RealPlay(){
var arr = showModalDialog("../htmledit/inc/RealPlay.htm", "", "dialogWidth:22em; dialogHeight:9em; status:0;help:0");
if (arr != null){
IframeID.focus()
sel=IframeID.document.selection.createRange();
sel.pasteHTML(arr);
}
}

function MediaPlayer(){
var arr = showModalDialog("../htmledit/inc/MediaPlayer.htm", "", "dialogWidth:22em; dialogHeight:9em; status:0;help:0");
if (arr != null){
IframeID.focus()
sel=IframeID.document.selection.createRange();
sel.pasteHTML(arr);
}
}

function html(){
var arr = showModalDialog("../htmledit/inc/htmledit.htm", "", "dialogWidth:30em; dialogHeight:24em; status:0;help:0");
if (arr != null){
IframeID.focus()
sel=IframeID.document.selection.createRange();
sel.pasteHTML(arr);
}
}

function flash(){
var arr = showModalDialog("../htmledit/inc/flash.htm", "", "dialogWidth:22em; dialogHeight:9em; status:0;help:0");
if (arr != null){
IframeID.focus()
sel=IframeID.document.selection.createRange();
sel.pasteHTML(arr);
}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久www成人免费无遮挡大片| 中文字幕在线一区| 91在线一区二区三区| 久久99热99| 亚洲一区二区欧美激情| 精品日韩99亚洲| 日韩亚洲欧美在线观看| 欧美性高清videossexo| a级高清视频欧美日韩| 国产一区二区不卡| 蜜臂av日日欢夜夜爽一区| 一区二区在线观看不卡| 国产精品大尺度| 国产丝袜美腿一区二区三区| 欧美一区二区视频在线观看 | 一区在线播放视频| 51久久夜色精品国产麻豆| av中文字幕一区| 成人午夜精品在线| 国产激情视频一区二区三区欧美| 美女脱光内衣内裤视频久久影院| 香港成人在线视频| 亚洲不卡av一区二区三区| 亚洲精品大片www| 国产精品色噜噜| 国产精品无码永久免费888| 国产亚洲人成网站| 久久精品亚洲一区二区三区浴池| 26uuu国产电影一区二区| 精品久久久久久最新网址| 欧美一级国产精品| 精品国一区二区三区| 久久这里只有精品6| 日韩一区二区免费视频| 日韩亚洲欧美在线| 久久久久久久久蜜桃| 国产女人18毛片水真多成人如厕| 中文字幕国产一区二区| 国产精品久久久久久久浪潮网站| 国产精品国产三级国产有无不卡| 亚洲视频一区二区在线观看| 中文字幕制服丝袜成人av| 亚洲男同1069视频| 亚洲第一福利视频在线| 蜜桃久久久久久| 国产剧情在线观看一区二区| 国产精品一区二区三区乱码| 99久久精品国产一区| 99久久伊人精品| 在线观看日韩国产| 欧美一级一区二区| 久久久久久夜精品精品免费| 国产精品水嫩水嫩| 亚洲码国产岛国毛片在线| 亚洲一区中文日韩| 日韩高清在线一区| 国产伦精品一区二区三区免费迷 | 久久久国产精华| 国产精品无人区| 亚洲综合免费观看高清在线观看| 亚洲精品中文在线影院| 首页综合国产亚洲丝袜| 九九**精品视频免费播放| 国产精品18久久久久久久久 | 91久久香蕉国产日韩欧美9色| 欧美日韩久久久| 久久色在线视频| 国产精品久久久久天堂| 樱花草国产18久久久久| 蜜臀99久久精品久久久久久软件| 成人av电影在线网| 欧美巨大另类极品videosbest | 中文字幕精品一区| 亚洲成人tv网| 国产aⅴ综合色| 欧美天天综合网| 久久蜜桃av一区二区天堂| 亚洲免费毛片网站| 丝袜美腿一区二区三区| 床上的激情91.| 9191久久久久久久久久久| 日本一区二区电影| 奇米色一区二区三区四区| 激情综合网天天干| 欧美性色欧美a在线播放| 久久久久久久久岛国免费| 一区二区三区在线看| 国产一区二区0| 欧美精品粉嫩高潮一区二区| 久久综合丝袜日本网| 婷婷国产在线综合| 成人av网址在线| 精品999久久久| 午夜精品影院在线观看| 国产精品一区二区男女羞羞无遮挡 | 正在播放一区二区| 亚洲激情在线播放| 国产成人精品免费看| 欧美性大战久久久| 国产午夜精品一区二区| 免费高清在线视频一区·| 日本高清无吗v一区| 欧美成人a在线| 午夜精品久久久久久久久久| 91亚洲国产成人精品一区二区三| 久久午夜电影网| 美女mm1313爽爽久久久蜜臀| 欧美性一级生活| 一区二区三区精品久久久| 午夜精品一区二区三区三上悠亚| 色呦呦国产精品| 成人免费小视频| 久久99久久久久| 欧美日韩高清一区二区| 亚洲欧美日韩国产成人精品影院| 成人av高清在线| 国产精品欧美极品| 成人av在线资源网| 中文字幕欧美日本乱码一线二线| 久久精品国产免费看久久精品| 欧美三级视频在线| 亚洲一卡二卡三卡四卡五卡| 91视频国产观看| 亚洲欧美另类综合偷拍| 99国产欧美另类久久久精品| 精品国产伦一区二区三区观看方式 | 欧美三级电影在线看| 午夜a成v人精品| 精品国产在天天线2019| 国产经典欧美精品| 亚洲免费观看高清完整版在线观看熊 | 久久超碰97中文字幕| xnxx国产精品| 91视频观看视频| 午夜电影一区二区| 久久久久国产精品人| 91丨porny丨户外露出| 午夜欧美电影在线观看| 久久综合久久综合九色| 成人a免费在线看| 亚洲大型综合色站| 26uuu久久天堂性欧美| 99精品久久免费看蜜臀剧情介绍| 亚洲国产日韩一级| 26uuu色噜噜精品一区| 色猫猫国产区一区二在线视频| 美女高潮久久久| ...中文天堂在线一区| 欧美精品久久99| 不卡av在线网| 偷拍自拍另类欧美| 国产亚洲一区二区三区四区 | 欧美成人猛片aaaaaaa| 粉嫩高潮美女一区二区三区 | www.成人在线| 青青青伊人色综合久久| 中文字幕中文字幕一区| 欧美一二三区精品| 99精品视频免费在线观看| 老司机精品视频导航| 亚洲另类中文字| 久久久综合激的五月天| 在线看国产一区二区| 国产麻豆精品在线观看| 午夜电影网亚洲视频| 中文字幕一区二区三区在线播放| 日韩一级黄色大片| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 一区二区三区欧美久久| 久久毛片高清国产| 91精品国产综合久久精品图片 | av成人老司机| 国产美女主播视频一区| 图片区小说区国产精品视频 | av不卡在线播放| 国产综合久久久久久鬼色| 亚洲高清三级视频| 亚洲男帅同性gay1069| 国产人妖乱国产精品人妖| 欧美裸体一区二区三区| 91麻豆免费在线观看| 国产成人三级在线观看| 久久精品国产成人一区二区三区| 亚洲图片欧美色图| 亚洲欧洲韩国日本视频| 国产午夜精品一区二区 | 青青草视频一区| 亚洲国产色一区| 亚洲蜜臀av乱码久久精品| 国产亚洲精品aa| 久久青草国产手机看片福利盒子| 日韩一级视频免费观看在线| 欧美日韩视频一区二区| 色天使色偷偷av一区二区| av一区二区不卡| 99精品国产99久久久久久白柏| 国产69精品久久久久毛片| 国产激情一区二区三区| 国产一区欧美一区| 国模一区二区三区白浆|