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

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

?? table-operations.js

?? eGroupWare is a multi-user, web-based groupware suite developed on a custom set of PHP-based APIs. C
?? JS
?? 第 1 頁 / 共 3 頁
字號:
// Table Operations Plugin for HTMLArea-3.0// Implementation by Mihai Bazon.  Sponsored by http://www.bloki.com//// htmlArea v3.0 - Copyright (c) 2002 interactivetools.com, inc.// This notice MUST stay intact for use (see license.txt).//// A free WYSIWYG editor replacement for <textarea> fields.// For full source code and docs, visit http://www.interactivetools.com///// Version 3.0 developed by Mihai Bazon for InteractiveTools.//   http://dynarch.com/mishoo//// $Id: table-operations.js,v 1.2 2004/04/20 22:17:18 mipmip Exp $// Object that will encapsulate all the table operations provided by// HTMLArea-3.0 (except "insert table" which is included in the main file)function TableOperations(editor) {	this.editor = editor;	var cfg = editor.config;	var tt = TableOperations.I18N;	var bl = TableOperations.btnList;	var self = this;	// register the toolbar buttons provided by this plugin	var toolbar = ["linebreak"];	for (var i in bl) {		var btn = bl[i];		if (!btn) {			toolbar.push("separator");		} else {			var id = "TO-" + btn[0];			cfg.registerButton(id, tt[id], editor.imgURL(btn[0] + ".gif", "TableOperations"), false,					   function(editor, id) {						   // dispatch button press event						   self.buttonPress(editor, id);					   }, btn[1]);			toolbar.push(id);		}	}	// add a new line in the toolbar	cfg.toolbar.push(toolbar);};TableOperations._pluginInfo = {	name          : "TableOperations",	version       : "1.0",	developer     : "Mihai Bazon",	developer_url : "http://dynarch.com/mishoo/",	c_owner       : "Mihai Bazon",	sponsor       : "Zapatec Inc.",	sponsor_url   : "http://www.bloki.com",	license       : "htmlArea"};/************************ * UTILITIES ************************/// retrieves the closest element having the specified tagName in the list of// ancestors of the current selection/caret.TableOperations.prototype.getClosest = function(tagName) {	var editor = this.editor;	var ancestors = editor.getAllAncestors();	var ret = null;	tagName = ("" + tagName).toLowerCase();	for (var i in ancestors) {		var el = ancestors[i];		if (el.tagName.toLowerCase() == tagName) {			ret = el;			break;		}	}	return ret;};// this function requires the file PopupDiv/PopupWin to be loaded from browserTableOperations.prototype.dialogTableProperties = function() {	var i18n = TableOperations.I18N;	// retrieve existing values	var table = this.getClosest("table");	// this.editor.selectNodeContents(table);	// this.editor.updateToolbar();	var dialog = new PopupWin(this.editor, i18n["Table Properties"], function(dialog, params) {		TableOperations.processStyle(params, table);		for (var i in params) {			var val = params[i];			switch (i) {			    case "f_caption":				if (/\S/.test(val)) {					// contains non white-space characters					var caption = table.getElementsByTagName("caption")[0];					if (!caption) {						caption = dialog.editor._doc.createElement("caption");						table.insertBefore(caption, table.firstChild);					}					caption.innerHTML = val;				} else {					// search for caption and delete it if found					var caption = table.getElementsByTagName("caption")[0];					if (caption) {						caption.parentNode.removeChild(caption);					}				}				break;			    case "f_summary":				table.summary = val;				break;			    case "f_width":				table.style.width = ("" + val) + params.f_unit;				break;			    case "f_align":				table.align = val;				break;			    case "f_spacing":				table.cellSpacing = val;				break;			    case "f_padding":				table.cellPadding = val;				break;			    case "f_borders":				table.border = val;				break;			    case "f_frames":				table.frame = val;				break;			    case "f_rules":				table.rules = val;				break;			}		}		// various workarounds to refresh the table display (Gecko,		// what's going on?! do not disappoint me!)		dialog.editor.forceRedraw();		dialog.editor.focusEditor();		dialog.editor.updateToolbar();		var save_collapse = table.style.borderCollapse;		table.style.borderCollapse = "collapse";		table.style.borderCollapse = "separate";		table.style.borderCollapse = save_collapse;	},	// this function gets called when the dialog needs to be initialized	function (dialog) {		var f_caption = "";		var capel = table.getElementsByTagName("caption")[0];		if (capel) {			f_caption = capel.innerHTML;		}		var f_summary = table.summary;		var f_width = parseInt(table.style.width);		isNaN(f_width) && (f_width = "");		var f_unit = /%/.test(table.style.width) ? 'percent' : 'pixels';		var f_align = table.align;		var f_spacing = table.cellSpacing;		var f_padding = table.cellPadding;		var f_borders = table.border;		var f_frames = table.frame;		var f_rules = table.rules;		function selected(val) {			return val ? " selected" : "";		};		// dialog contents		dialog.content.style.width = "400px";		dialog.content.innerHTML = " \<div class='title'\ style='background: url(" + dialog.baseURL + dialog.editor.imgURL("table-prop.gif", "TableOperations") + ") #fff 98% 50% no-repeat'>" + i18n["Table Properties"] + "\</div> \<table style='width:100%'> \  <tr> \    <td> \      <fieldset><legend>" + i18n["Description"] + "</legend> \       <table style='width:100%'> \        <tr> \          <td class='label'>" + i18n["Caption"] + ":</td> \          <td class='value'><input type='text' name='f_caption' value='" + f_caption + "'/></td> \        </tr><tr> \          <td class='label'>" + i18n["Summary"] + ":</td> \          <td class='value'><input type='text' name='f_summary' value='" + f_summary + "'/></td> \        </tr> \       </table> \      </fieldset> \    </td> \  </tr> \  <tr><td id='--HA-layout'></td></tr> \  <tr> \    <td> \      <fieldset><legend>" + i18n["Spacing and padding"] + "</legend> \       <table style='width:100%'> \"+//        <tr> \//           <td class='label'>" + i18n["Width"] + ":</td> \//           <td><input type='text' name='f_width' value='" + f_width + "' size='5' /> \//             <select name='f_unit'> \//               <option value='%'" + selected(f_unit == "percent") + ">" + i18n["percent"] + "</option> \//               <option value='px'" + selected(f_unit == "pixels") + ">" + i18n["pixels"] + "</option> \//             </select> &nbsp;&nbsp;" + i18n["Align"] + ": \//             <select name='f_align'> \//               <option value='left'" + selected(f_align == "left") + ">" + i18n["Left"] + "</option> \//               <option value='center'" + selected(f_align == "center") + ">" + i18n["Center"] + "</option> \//               <option value='right'" + selected(f_align == "right") + ">" + i18n["Right"] + "</option> \//             </select> \//           </td> \//         </tr> \"        <tr> \          <td class='label'>" + i18n["Spacing"] + ":</td> \          <td><input type='text' name='f_spacing' size='5' value='" + f_spacing + "' /> &nbsp;" + i18n["Padding"] + ":\            <input type='text' name='f_padding' size='5' value='" + f_padding + "' /> &nbsp;&nbsp;" + i18n["pixels"] + "\          </td> \        </tr> \       </table> \      </fieldset> \    </td> \  </tr> \  <tr> \    <td> \      <fieldset><legend>Frame and borders</legend> \        <table width='100%'> \          <tr> \            <td class='label'>" + i18n["Borders"] + ":</td> \            <td><input name='f_borders' type='text' size='5' value='" + f_borders + "' /> &nbsp;&nbsp;" + i18n["pixels"] + "</td> \          </tr> \          <tr> \            <td class='label'>" + i18n["Frames"] + ":</td> \            <td> \              <select name='f_frames'> \                <option value='void'" + selected(f_frames == "void") + ">" + i18n["No sides"] + "</option> \                <option value='above'" + selected(f_frames == "above") + ">" + i18n["The top side only"] + "</option> \                <option value='below'" + selected(f_frames == "below") + ">" + i18n["The bottom side only"] + "</option> \                <option value='hsides'" + selected(f_frames == "hsides") + ">" + i18n["The top and bottom sides only"] + "</option> \                <option value='vsides'" + selected(f_frames == "vsides") + ">" + i18n["The right and left sides only"] + "</option> \                <option value='lhs'" + selected(f_frames == "lhs") + ">" + i18n["The left-hand side only"] + "</option> \                <option value='rhs'" + selected(f_frames == "rhs") + ">" + i18n["The right-hand side only"] + "</option> \                <option value='box'" + selected(f_frames == "box") + ">" + i18n["All four sides"] + "</option> \              </select> \            </td> \          </tr> \          <tr> \            <td class='label'>" + i18n["Rules"] + ":</td> \            <td> \              <select name='f_rules'> \                <option value='none'" + selected(f_rules == "none") + ">" + i18n["No rules"] + "</option> \                <option value='rows'" + selected(f_rules == "rows") + ">" + i18n["Rules will appear between rows only"] + "</option> \                <option value='cols'" + selected(f_rules == "cols") + ">" + i18n["Rules will appear between columns only"] + "</option> \                <option value='all'" + selected(f_rules == "all") + ">" + i18n["Rules will appear between all rows and columns"] + "</option> \              </select> \            </td> \          </tr> \        </table> \      </fieldset> \    </td> \  </tr> \  <tr> \    <td id='--HA-style'></td> \  </tr> \</table> \";		var st_prop = TableOperations.createStyleFieldset(dialog.doc, dialog.editor, table);		var p = dialog.doc.getElementById("--HA-style");		p.appendChild(st_prop);		var st_layout = TableOperations.createStyleLayoutFieldset(dialog.doc, dialog.editor, table);		p = dialog.doc.getElementById("--HA-layout");		p.appendChild(st_layout);		dialog.modal = true;		dialog.addButtons("ok", "cancel");		dialog.showAtElement(dialog.editor._iframe, "c");	});};// this function requires the file PopupDiv/PopupWin to be loaded from browserTableOperations.prototype.dialogRowCellProperties = function(cell) {	var i18n = TableOperations.I18N;	// retrieve existing values	var element = this.getClosest(cell ? "td" : "tr");	var table = this.getClosest("table");	// this.editor.selectNodeContents(element);	// this.editor.updateToolbar();	var dialog = new PopupWin(this.editor, i18n[cell ? "Cell Properties" : "Row Properties"], function(dialog, params) {		TableOperations.processStyle(params, element);		for (var i in params) {			var val = params[i];			switch (i) {			    case "f_align":				element.align = val;				break;			    case "f_char":				element.ch = val;				break;			    case "f_valign":				element.vAlign = val;				break;			}		}		// various workarounds to refresh the table display (Gecko,		// what's going on?! do not disappoint me!)		dialog.editor.forceRedraw();		dialog.editor.focusEditor();		dialog.editor.updateToolbar();		var save_collapse = table.style.borderCollapse;		table.style.borderCollapse = "collapse";		table.style.borderCollapse = "separate";		table.style.borderCollapse = save_collapse;	},	// this function gets called when the dialog needs to be initialized	function (dialog) {		var f_align = element.align;		var f_valign = element.vAlign;		var f_char = element.ch;		function selected(val) {			return val ? " selected" : "";		};		// dialog contents		dialog.content.style.width = "400px";		dialog.content.innerHTML = " \<div class='title'\ style='background: url(" + dialog.baseURL + dialog.editor.imgURL(cell ? "cell-prop.gif" : "row-prop.gif", "TableOperations") + ") #fff 98% 50% no-repeat'>" + i18n[cell ? "Cell Properties" : "Row Properties"] + "</div> \<table style='width:100%'> \  <tr> \    <td id='--HA-layout'> \"+//      <fieldset><legend>" + i18n["Layout"] + "</legend> \//        <table style='width:100%'> \//         <tr> \//           <td class='label'>" + i18n["Align"] + ":</td> \//           <td> \//             <select name='f_align'> \//               <option value='left'" + selected(f_align == "left") + ">" + i18n["Left"] + "</option> \//               <option value='center'" + selected(f_align == "center") + ">" + i18n["Center"] + "</option> \//               <option value='right'" + selected(f_align == "right") + ">" + i18n["Right"] + "</option> \//               <option value='char'" + selected(f_align == "char") + ">" + i18n["Char"] + "</option> \//             </select> \//             &nbsp;&nbsp;" + i18n["Char"] + ": \//             <input type='text' style='font-family: monospace; text-align: center' name='f_char' size='1' value='" + f_char + "' /> \//           </td> \//         </tr><tr> \//           <td class='label'>" + i18n["Vertical align"] + ":</td> \//           <td> \//             <select name='f_valign'> \//               <option value='top'" + selected(f_valign == "top") + ">" + i18n["Top"] + "</option> \//               <option value='middle'" + selected(f_valign == "middle") + ">" + i18n["Middle"] + "</option> \//               <option value='bottom'" + selected(f_valign == "bottom") + ">" + i18n["Bottom"] + "</option> \//               <option value='baseline'" + selected(f_valign == "baseline") + ">" + i18n["Baseline"] + "</option> \//             </select> \//           </td> \//         </tr> \//        </table> \//       </fieldset> \"    </td> \  </tr> \  <tr> \    <td id='--HA-style'></td> \  </tr> \</table> \";		var st_prop = TableOperations.createStyleFieldset(dialog.doc, dialog.editor, element);		var p = dialog.doc.getElementById("--HA-style");		p.appendChild(st_prop);		var st_layout = TableOperations.createStyleLayoutFieldset(dialog.doc, dialog.editor, element);		p = dialog.doc.getElementById("--HA-layout");		p.appendChild(st_layout);		dialog.modal = true;		dialog.addButtons("ok", "cancel");		dialog.showAtElement(dialog.editor._iframe, "c");	});};// this function gets called when some button from the TableOperations toolbar// was pressed.TableOperations.prototype.buttonPress = function(editor, button_id) {	this.editor = editor;	var mozbr = HTMLArea.is_gecko ? "<br />" : "";	var i18n = TableOperations.I18N;	// helper function that clears the content in a table row	function clearRow(tr) {		var tds = tr.getElementsByTagName("td");		for (var i = tds.length; --i >= 0;) {			var td = tds[i];			td.rowSpan = 1;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人精品视频一区| 欧洲一区二区三区在线| 国产精品第一页第二页第三页 | 国产成人在线网站| 亚洲一区二区三区在线播放| 精品国产a毛片| 91麻豆成人久久精品二区三区| 美女网站视频久久| 亚洲美女屁股眼交| 久久婷婷色综合| 欧美人牲a欧美精品| www.激情成人| 九九久久精品视频| 首页亚洲欧美制服丝腿| 中文字幕一区二区5566日韩| 精品国产sm最大网站| 欧美精品久久久久久久多人混战 | 久久久精品天堂| 欧美视频第二页| 日韩欧美中文一区| 色哦色哦哦色天天综合| 国产高清在线精品| 另类小说视频一区二区| 亚洲mv在线观看| 一级女性全黄久久生活片免费| 中文字幕成人av| 久久无码av三级| 精品国产乱码久久久久久浪潮| 欧美狂野另类xxxxoooo| 色天天综合色天天久久| 91视频www| 91在线观看成人| 成人黄色在线看| 成人在线视频一区二区| 国产精品亚洲一区二区三区在线| 久久99久久久欧美国产| 美腿丝袜亚洲综合| 青青草97国产精品免费观看无弹窗版| 一区二区在线观看不卡| 国产精品传媒在线| 亚洲三级免费电影| 亚洲综合丁香婷婷六月香| 亚洲一区二区欧美| 五月天一区二区| 免费观看在线综合| 黄页网站大全一区二区| 国产一区二区美女诱惑| 国产成人一区二区精品非洲| 成人免费视频免费观看| 成人午夜av电影| 一本一道久久a久久精品综合蜜臀| gogo大胆日本视频一区| 99精品视频在线免费观看| 91首页免费视频| 欧美三级中文字幕| 欧美电影在哪看比较好| 精品欧美一区二区在线观看| 国产午夜精品久久久久久久| 中文子幕无线码一区tr| 久久精品国产一区二区| 国产精品资源在线| av电影一区二区| 欧美视频你懂的| 精品国产1区二区| 中文字幕中文字幕中文字幕亚洲无线| 日韩美女精品在线| 亚洲va韩国va欧美va精品| 精品综合免费视频观看| 成人禁用看黄a在线| 在线视频一区二区三| 日韩你懂的在线播放| 国产精品久久久久一区| 亚洲尤物在线视频观看| 激情小说欧美图片| 色综合久久66| 精品日韩在线观看| 亚洲欧洲另类国产综合| 午夜私人影院久久久久| 久久er精品视频| 9人人澡人人爽人人精品| 91久久精品一区二区| 精品日韩成人av| 一区二区三区在线观看动漫| 日韩精品欧美精品| 成人污污视频在线观看| 欧美在线色视频| 精品国产免费人成在线观看| 中文字幕巨乱亚洲| 国产午夜精品一区二区三区视频 | 一区二区三区视频在线观看| 亚洲国产中文字幕在线视频综合| 日韩国产欧美视频| 国产毛片精品视频| 在线亚洲免费视频| 欧美人成免费网站| 国产精品看片你懂得| 亚洲一二三四久久| 国内精品视频666| 欧美综合久久久| 久久色在线观看| 亚洲曰韩产成在线| 久久不见久久见免费视频7| 一本大道av伊人久久综合| 日韩免费电影网站| 一区二区三区中文在线| 免费久久99精品国产| 91在线精品一区二区三区| 欧美一级高清片| 国产精品久99| 在线观看日产精品| 欧美激情资源网| 视频一区中文字幕| 色综合 综合色| 日韩欧美亚洲一区二区| 亚洲国产美国国产综合一区二区| 国产成人福利片| 91精品国产综合久久精品性色| 国产精品情趣视频| 青娱乐精品在线视频| 一本大道综合伊人精品热热 | 午夜精品久久久久久久99樱桃| 99久久精品国产精品久久 | 国产亚洲综合色| 日韩电影在线一区| 在线欧美一区二区| 国产精品不卡视频| 国产在线精品一区二区不卡了| 欧美片在线播放| 亚洲一区二区三区四区在线免费观看 | 久久99国产乱子伦精品免费| 欧美在线一二三四区| 国产精品美女视频| 激情综合五月天| 88在线观看91蜜桃国自产| 亚洲欧美日韩在线不卡| 国产高清久久久久| 精品国产伦一区二区三区观看方式 | 不卡视频在线看| 久久嫩草精品久久久精品一| 亚洲图片有声小说| 欧美性淫爽ww久久久久无| 亚洲欧洲国产专区| 99热精品国产| 1000精品久久久久久久久| 成人精品gif动图一区| 一区二区中文字幕在线| 国产成a人亚洲精| 国产人伦精品一区二区| 国产成人亚洲综合a∨猫咪| 久久久久亚洲蜜桃| 国产精品一区二区在线播放 | 欧美体内she精高潮| 国产精品拍天天在线| 成人在线视频一区二区| 亚洲欧洲www| 色视频欧美一区二区三区| 亚洲另类在线一区| 91豆麻精品91久久久久久| 亚洲福利电影网| 色婷婷精品大视频在线蜜桃视频| 亚洲一区二区偷拍精品| 欧美精品日韩综合在线| 午夜激情一区二区| 3751色影院一区二区三区| 日日骚欧美日韩| 日韩视频免费观看高清完整版在线观看 | 免费人成黄页网站在线一区二区 | 91一区二区在线| 亚洲人成人一区二区在线观看| 国产成人综合视频| 亚洲国产精品精华液ab| 99免费精品在线| 亚洲风情在线资源站| 日韩欧美视频在线| 狠狠网亚洲精品| 国产精品天美传媒沈樵| 国产91精品久久久久久久网曝门| 亚洲免费毛片网站| 欧美狂野另类xxxxoooo| 国内一区二区视频| 中文字幕一区二区三区精华液| 日本久久一区二区三区| 日韩专区中文字幕一区二区| 精品区一区二区| 91在线观看美女| 美女在线一区二区| 国产精品丝袜在线| 欧美性大战久久| 国产福利一区二区三区视频在线 | 五月天精品一区二区三区| 日韩免费电影一区| 不卡的电影网站| 日韩精彩视频在线观看| 日韩精品一区二区三区视频播放| 成人精品国产一区二区4080| 亚洲观看高清完整版在线观看| 日韩精品自拍偷拍| 色素色在线综合| 国产一区三区三区| 久久久精品人体av艺术|