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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? rte.js

?? 1、激活企業(yè)硬件投資
?? JS
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
// Internal (private) properties.  
// RichEditor is the global RichEditor object (function) of which there is only
// 1 instance.
RichEditor.txtView = true;         // WYSIWYG mode.  false == View Source

// initEditor(): Initialise the editor (called on window load, see below)
function initEditor()
{
	// Apply style data if supplied
	if (!public_description.styleData) {
	  public_description.put_styleData(null);
	}

	// Apply default editor options
	var strDefaults = 'dragdrop=no;source=yes';
	strDefaults += ';history=' + (document.queryCommandSupported('Undo') ? 'yes' : 'no');
	applyOptions(strDefaults);

	// Prepare the editable region
	loading.style.display = 'none';
  doc.contentEditable = "true";
  editor.style.visibility = 'visible';
  if(parent.document.all("IMG_ATTACHMENT_MODULE"))
     document.all("IMG_ATTACHMENT_MODULE").value=parent.document.all("IMG_ATTACHMENT_MODULE").value;
  if(parent.document.all("IMG_ATTACHMENT_YM"))
     document.all("IMG_ATTACHMENT_YM").value=parent.document.all("IMG_ATTACHMENT_YM").value;
  if(parent.document.all("IMG_ATTACHMENT_ID"))
     document.all("IMG_ATTACHMENT_ID").value=parent.document.all("IMG_ATTACHMENT_ID").value;
  if(parent.document.all("IMG_ATTACHMENT_NAME"))
     document.all("IMG_ATTACHMENT_NAME").value=parent.document.all("IMG_ATTACHMENT_NAME").value;
  
	// OZ - 12-06-2002
	// Put focus into the document (required when no HTML is supplied via docHtml property)
	doc.focus();
}

// checkRange(): make sure our pretend document (the content editable
// DIV with id of "doc") has focus and that a text range exists (which
// is what execCommand() operates on).
function checkRange()
{
   RichEditor.selectedImage = null;
   if (!RichEditor.txtView) return;      // Disabled in View Source mode
   doc.focus();
   if (document.selection.type == "None") {
      document.selection.createRange();
   }
var r = document.selection.createRange();
   DBG(1, 'RANGE Bounding('
            + 'top='+r.boundingHeight
            + ', left='+r.boundingHeight
            + ', width='+r.boundingWidth
            + ', height='+r.boundingHeight + ')'
         + ', Offset('
            + 'top='+r.offsetTop
            + ', left='+r.offsetLeft + ')'
         + ', Text=(' + r.text + ')'
         + ', HTML=(' + r.htmlText + ')'
      );
}

// post(): Called in response to clicking the post button in the
// toolbar. It fires an event in the container named post, passing the
// HTML of our newly edited document as the data argument.
function post()
{
   //DBG(1, 'Raise "post" event');
   //window.external.raiseEvent("post", doc.innerHTML);
   //alert(doc.innerHTML);
   return doc.innerHTML;
}

// insert(): called in response to clicking the insert table, image,
// smily icons in the toolbar.  Loads up an appropriate dialog to
// prompt for information, the dialog then returns the HTML code or
// NULL.  We paste the HTML code into the document.
function insert(what)
{
   if (!RichEditor.txtView) return;      // Disabled in View Source mode

   DBG(1, 'insert' + what + ')');

   // Chose action based on what is being inserted.
   switch(what)
   {
   case "table":
      strPage = "dlg_ins_table.html";
      strAttr = "status:no;dialogWidth:340px;dialogHeight:360px;help:no";
      break;
   case "smile":
      strPage = "dlg_ins_smile.html";
      strAttr = "status:no;dialogWidth:300px;dialogHeight:350px;help:no";
      break;
   case "char":
      strPage = "dlg_ins_char.html";
      strAttr = "status:no;dialogWidth:450px;dialogHeight:290px;help:no";
      break;
   case "image":
      strPage = "dlg_ins_image.html";
      strAttr = "status:no;dialogWidth:400px;dialogHeight:210px;help:no";' '
      break;
   case "about":
      strPage = "dlg_about.html";
      strAttr = "status:no;dialogWidth:250px;dialogHeight:130px;help:no";' '
      break;
   }

   // run the dialog that implements this type of element
   html = showModalDialog(strPage, window, strAttr);

   // and insert any result into the document.
   if (html) {
      insertHtml(html);
   }
}

// insertHtml(): Insert the supplied HTML into the current position
// within the document.
function insertHtml(html)
{
   doc.focus();
   var sel = document.selection.createRange();
   // don't try to insert HTML into a control selection (ie. image or table)
   if (document.selection.type == 'Control') {
      return;
   }
   
   sel.pasteHTML(html);
}

// doStyle(): called to handle the simple style commands such a bold,
// italic etc.  These require no special handling, just a call to
// execCommand().  We also call reset so that the toolbar represents
// the state of the current text.
//
// 2002-07-30 Updated based on patch submitted by Michael Keck (mkkeck) 
//
function doStyle(s){ 
   if(!RichEditor.txtView) return; 
   /* Disabled in View Source mode */ 
   DBG(1, 'doStyle(' + s + ')'); 
   checkRange(); 
   if(s!='InsertHorizontalRule'){ 
      /* what command string? */ 
      document.execCommand(s); 
   } else if( s=='InsertHorizontalRule') { 
      /* if s=='InsertHorizontalRule then use this command */ 
      document.execCommand(s,false, null); 

      /* Note: 
      In your source view the <HR> has an ID like this 
      <HR id=null> 
      */ 
   } 
   reset(); 
} 


// link(): called to insert a hyperlink.  It will use the selected text
// if there is some, or the URL entered if not.  If clicked when over a
// link, that link is allowed to be edited.
function link(on)
{
   if (!RichEditor.txtView) return;      // Disabled in View Source mode

   var strURL = "http://";
   var strText;

   // First, pick up the current selection.
   doc.focus();
   var r = document.selection.createRange();
   var el = r.parentElement();

   // Is this aready a link?
   if (el && el.nodeName == "A") {
      r.moveToElementText(el);
      if (!on) {      // If removing the link, then replace all with
         r.pasteHTML(el.innerHTML);
         return;
      }
      strURL = el.href;
   }

   // Get the text associated with this link
   strText = r.text;

   // Prompt for the URL
   strURL = window.prompt("輸入地址:", strURL);
   if (strURL) {
      // Default the TEXT to the url if non selected
      if (!strText || !strText.length) {
         strText = strURL;
      }

      // Replace with new URL
      r.pasteHTML('<A href=' + strURL + ' target=_new>' + strText + '</a>');
   }

   reset();
}

// sel(); similar to doStyle() but called from the dropdown list boxes
// for font and style commands.
function sel(el)
{
   if (!RichEditor.txtView) return;      // Disabled in View Source mode
   checkRange();
   switch(el.id)
   {
   case "ctlFont":
      document.execCommand('FontName', false, el[el.selectedIndex].value);
      break;
   case "ctlSize":
      document.execCommand('FontSize', false, el[el.selectedIndex].value);
      break;
   case "ctlStyle":
      document.execCommand('FormatBlock', false, el[el.selectedIndex].text);
      break;
   }
   doc.focus();
   reset();
}

// pickColor(): called when the text or fill color icons are clicked.  Displays
// the color chooser control.  The color setting is completed by the event
// handler of this control (see richedit.html)
function pickColor(fg)
{
   if (!RichEditor.txtView) return;      // Disabled in View Source mode
   checkRange();
   var el = window.event.srcElement;
   if (el && el.nodeName == "IMG") {
      setState(el, true);
   }
   color.style.top = window.event.clientY + 10;
   color.style.left = window.event.clientX - 100;
   color.style.display = 'block';
   color._fg = fg;
}

// setColor(): called from the fore/back color selection dialog event handler
// to set/reset the fore/background color.
function setColor(name, data)
{
   color.style.display = 'none';
   checkRange();
   if (!data) {
      removeFormat(document.selection.createRange(), color._fg);
   } else {
      document.execCommand(color._fg, false, data);
   }
   setState(btnText, false);
   setState(btnFill, false);
   doc.focus();
}

// removeFormat(): Called to remove specific formats from the selected text.
// The 'removeFormat' command removes all formatting.  The principle behind
// this routine is to have a list of the possible formats the selection may
// have, check the selection for the current formats, ignoreing the one we
// want to use, then remove all formatting and then re-apply all but the
// one we wanted to remove.
function removeFormat(r, name)
{
   var cmd = [ "Bold", "Italic", "Underline", "Strikethrough", "FontName", "FontSize", "ForeColor", "BackColor" ];
   var on = new Array(cmd.length);
   for (var i = 0; i < cmd.length; i++) {
      on[i] = name == cmd[i] ? null : r.queryCommandValue(cmd[i]);
   }
   r.execCommand('RemoveFormat');
   for (var i = 0; i < cmd.length; i++) {

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99麻豆久久久国产精品免费优播| 欧美日韩在线观看一区二区| 亚洲人成亚洲人成在线观看图片| 337p亚洲精品色噜噜噜| 99久久久久久| 国产在线精品不卡| 国产福利一区在线观看| 水野朝阳av一区二区三区| 欧美国产视频在线| 91精选在线观看| 色菇凉天天综合网| 国产.欧美.日韩| 久久99国产精品免费| 亚洲成av人综合在线观看| 日韩美女啊v在线免费观看| 26uuu色噜噜精品一区| 欧美日韩一区二区三区视频| 91小视频在线免费看| 国产成人啪午夜精品网站男同| 日韩高清中文字幕一区| 亚洲一级在线观看| 亚洲欧美一区二区三区孕妇| 国产欧美视频一区二区| 欧美mv日韩mv亚洲| 91精品福利在线一区二区三区 | 成人午夜私人影院| 免费在线观看一区| 日本成人在线看| 天天操天天综合网| 婷婷成人综合网| 午夜精品福利一区二区三区av| 中文字幕综合网| 一色屋精品亚洲香蕉网站| 久久久国产午夜精品| 久久亚洲捆绑美女| 久久精品一区二区三区不卡 | 欧美日韩一区二区在线观看| 91捆绑美女网站| 91影视在线播放| 99re热视频精品| 91香蕉视频黄| 一本色道综合亚洲| 色综合久久中文综合久久牛| 97久久久精品综合88久久| a级精品国产片在线观看| 97se亚洲国产综合自在线| 99re亚洲国产精品| 99久久婷婷国产精品综合| 99麻豆久久久国产精品免费优播| 91小视频免费观看| 欧美影院精品一区| 欧美高清视频在线高清观看mv色露露十八| 欧美四级电影网| 91精品国产入口| 精品久久国产97色综合| 国产亚洲欧美在线| 自拍av一区二区三区| 樱桃国产成人精品视频| 午夜精品福利在线| 麻豆久久一区二区| 国产v综合v亚洲欧| 色综合久久综合中文综合网| 欧美日韩一区精品| 欧美xxxxxxxxx| 国产精品久久久久久久第一福利| 亚洲激情网站免费观看| 亚洲一区二区三区免费视频| 色狠狠色狠狠综合| 91精品国产综合久久小美女| 久久精品人人爽人人爽| 亚洲欧美欧美一区二区三区| 日韩电影在线看| 夫妻av一区二区| 欧美怡红院视频| 久久蜜桃av一区二区天堂| 综合色中文字幕| 麻豆精品国产传媒mv男同| 丰满放荡岳乱妇91ww| 欧美午夜电影网| 久久久久久久av麻豆果冻| 亚洲欧洲日产国码二区| 日本成人在线看| 成人性生交大片免费看在线播放| 欧美日韩电影在线| 中文字幕欧美国产| 日韩精品午夜视频| 成人黄色免费短视频| 日韩一区二区三区免费看| 中文字幕一区二区三区乱码在线| 日韩电影免费在线观看网站| 国产馆精品极品| 欧美日韩国产影片| 国产精品毛片久久久久久| 蜜桃视频一区二区| 在线视频欧美精品| 国产蜜臀97一区二区三区| 日韩av成人高清| av资源网一区| 久久影院午夜片一区| 亚洲一区二区在线观看视频| 国产成人免费av在线| 欧美一级欧美三级| 亚洲黄色小说网站| 成人精品视频一区| 精品国产一区二区三区忘忧草| 亚洲国产人成综合网站| jiyouzz国产精品久久| 欧美mv日韩mv国产网站app| 亚洲成人一区二区在线观看| 成人av网站免费观看| 久久综合精品国产一区二区三区 | 99re免费视频精品全部| 国产日产精品一区| 久久精品国产99国产| 欧美性高清videossexo| 伊人婷婷欧美激情| 成人av资源站| 久久久99久久| 国内精品免费**视频| 日韩一区二区三区在线观看| 午夜精品久久久久久久99樱桃| 91久久人澡人人添人人爽欧美| 国产精品久久久久影院色老大| 国产又粗又猛又爽又黄91精品| 欧美一区二区人人喊爽| 视频一区二区欧美| 337p亚洲精品色噜噜| 婷婷一区二区三区| 欧美日韩www| 亚洲成a人v欧美综合天堂下载 | 欧美日韩aaaaaa| 夜夜精品浪潮av一区二区三区| 一本一道波多野结衣一区二区| 中文字幕亚洲不卡| 国产日韩精品视频一区| 国产成人精品午夜视频免费| 久久久久久久av麻豆果冻| 国产电影一区在线| 中文字幕在线一区免费| 在线看国产一区| 日韩欧美高清dvd碟片| 亚洲三级电影网站| 色激情天天射综合网| 中文字幕一区二区三区四区| av亚洲精华国产精华精| 亚洲日本va午夜在线影院| 91视频com| 亚洲欧美日韩一区二区三区在线观看| 成人久久久精品乱码一区二区三区| 国产清纯美女被跳蛋高潮一区二区久久w | 国产精品卡一卡二| proumb性欧美在线观看| 亚洲欧美国产三级| 欧美三级韩国三级日本三斤| 首页国产欧美日韩丝袜| 精品蜜桃在线看| 成人天堂资源www在线| 最新热久久免费视频| 在线免费观看不卡av| 青青草97国产精品免费观看无弹窗版| 日韩精品一区在线观看| bt欧美亚洲午夜电影天堂| 一区2区3区在线看| 日韩视频免费观看高清完整版| 国产乱码字幕精品高清av | 天堂午夜影视日韩欧美一区二区| 欧美人妖巨大在线| 国产精品91xxx| 亚洲另类中文字| 91精品国产品国语在线不卡| 国产成人综合自拍| 亚洲一区二区三区爽爽爽爽爽| 欧美一区二区三区在线视频| 成人中文字幕电影| 午夜精品久久久久影视| 国产日韩欧美一区二区三区乱码| 欧亚洲嫩模精品一区三区| 国内欧美视频一区二区| 亚洲乱码国产乱码精品精的特点| 91精品国产美女浴室洗澡无遮挡| 高清在线成人网| 日韩精品乱码av一区二区| 国产精品视频一区二区三区不卡| 欧美日韩不卡一区| 成人黄色一级视频| 另类综合日韩欧美亚洲| 亚洲视频狠狠干| 久久人人97超碰com| 欧美性生交片4| 成人午夜激情片| 麻豆精品国产传媒mv男同| 亚洲最大的成人av| 国产情人综合久久777777| 91精品啪在线观看国产60岁| 成人三级在线视频| 久久精品av麻豆的观看方式| 亚洲另类春色校园小说| 国产女主播视频一区二区| 日韩午夜电影在线观看| 欧美亚洲动漫精品|