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

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

?? controls.js

?? 頂級博客程序 wordpress 博客安裝程序代碼
?? JS
?? 第 1 頁 / 共 3 頁
字號:
    var diff = arguments.callee.getFirstDifferencePos(value, this.oldElementValue);    var offset = (diff == this.oldElementValue.length ? 1 : 0);    var prevTokenPos = -1, nextTokenPos = value.length;    var tp;    for (var index = 0, l = this.options.tokens.length; index < l; ++index) {      tp = value.lastIndexOf(this.options.tokens[index], diff + offset - 1);      if (tp > prevTokenPos) prevTokenPos = tp;      tp = value.indexOf(this.options.tokens[index], diff + offset);      if (-1 != tp && tp < nextTokenPos) nextTokenPos = tp;    }    return (this.tokenBounds = [prevTokenPos + 1, nextTokenPos]);  }});Autocompleter.Base.prototype.getTokenBounds.getFirstDifferencePos = function(newS, oldS) {  var boundary = Math.min(newS.length, oldS.length);  for (var index = 0; index < boundary; ++index)    if (newS[index] != oldS[index])      return index;  return boundary;};Ajax.Autocompleter = Class.create(Autocompleter.Base, {  initialize: function(element, update, url, options) {    this.baseInitialize(element, update, options);    this.options.asynchronous  = true;    this.options.onComplete    = this.onComplete.bind(this);    this.options.defaultParams = this.options.parameters || null;    this.url                   = url;  },  getUpdatedChoices: function() {    this.startIndicator();        var entry = encodeURIComponent(this.options.paramName) + '=' +       encodeURIComponent(this.getToken());    this.options.parameters = this.options.callback ?      this.options.callback(this.element, entry) : entry;    if(this.options.defaultParams)       this.options.parameters += '&' + this.options.defaultParams;        new Ajax.Request(this.url, this.options);  },  onComplete: function(request) {    this.updateChoices(request.responseText);  }});// The local array autocompleter. Used when you'd prefer to// inject an array of autocompletion options into the page, rather// than sending out Ajax queries, which can be quite slow sometimes.//// The constructor takes four parameters. The first two are, as usual,// the id of the monitored textbox, and id of the autocompletion menu.// The third is the array you want to autocomplete from, and the fourth// is the options block.//// Extra local autocompletion options:// - choices - How many autocompletion choices to offer//// - partialSearch - If false, the autocompleter will match entered//                    text only at the beginning of strings in the //                    autocomplete array. Defaults to true, which will//                    match text at the beginning of any *word* in the//                    strings in the autocomplete array. If you want to//                    search anywhere in the string, additionally set//                    the option fullSearch to true (default: off).//// - fullSsearch - Search anywhere in autocomplete array strings.//// - partialChars - How many characters to enter before triggering//                   a partial match (unlike minChars, which defines//                   how many characters are required to do any match//                   at all). Defaults to 2.//// - ignoreCase - Whether to ignore case when autocompleting.//                 Defaults to true.//// It's possible to pass in a custom function as the 'selector' // option, if you prefer to write your own autocompletion logic.// In that case, the other options above will not apply unless// you support them.Autocompleter.Local = Class.create(Autocompleter.Base, {  initialize: function(element, update, array, options) {    this.baseInitialize(element, update, options);    this.options.array = array;  },  getUpdatedChoices: function() {    this.updateChoices(this.options.selector(this));  },  setOptions: function(options) {    this.options = Object.extend({      choices: 10,      partialSearch: true,      partialChars: 2,      ignoreCase: true,      fullSearch: false,      selector: function(instance) {        var ret       = []; // Beginning matches        var partial   = []; // Inside matches        var entry     = instance.getToken();        var count     = 0;        for (var i = 0; i < instance.options.array.length &&            ret.length < instance.options.choices ; i++) {           var elem = instance.options.array[i];          var foundPos = instance.options.ignoreCase ?             elem.toLowerCase().indexOf(entry.toLowerCase()) :             elem.indexOf(entry);          while (foundPos != -1) {            if (foundPos == 0 && elem.length != entry.length) {               ret.push("<li><strong>" + elem.substr(0, entry.length) + "</strong>" +                 elem.substr(entry.length) + "</li>");              break;            } else if (entry.length >= instance.options.partialChars &&               instance.options.partialSearch && foundPos != -1) {              if (instance.options.fullSearch || /\s/.test(elem.substr(foundPos-1,1))) {                partial.push("<li>" + elem.substr(0, foundPos) + "<strong>" +                  elem.substr(foundPos, entry.length) + "</strong>" + elem.substr(                  foundPos + entry.length) + "</li>");                break;              }            }            foundPos = instance.options.ignoreCase ?               elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) :               elem.indexOf(entry, foundPos + 1);          }        }        if (partial.length)          ret = ret.concat(partial.slice(0, instance.options.choices - ret.length))        return "<ul>" + ret.join('') + "</ul>";      }    }, options || { });  }});// AJAX in-place editor and collection editor// Full rewrite by Christophe Porteneuve <tdd@tddsworld.com> (April 2007).// Use this if you notice weird scrolling problems on some browsers,// the DOM might be a bit confused when this gets called so do this// waits 1 ms (with setTimeout) until it does the activationField.scrollFreeActivate = function(field) {  setTimeout(function() {    Field.activate(field);  }, 1);}Ajax.InPlaceEditor = Class.create({  initialize: function(element, url, options) {    this.url = url;    this.element = element = $(element);    this.prepareOptions();    this._controls = { };    arguments.callee.dealWithDeprecatedOptions(options); // DEPRECATION LAYER!!!    Object.extend(this.options, options || { });    if (!this.options.formId && this.element.id) {      this.options.formId = this.element.id + '-inplaceeditor';      if ($(this.options.formId))        this.options.formId = '';    }    if (this.options.externalControl)      this.options.externalControl = $(this.options.externalControl);    if (!this.options.externalControl)      this.options.externalControlOnly = false;    this._originalBackground = this.element.getStyle('background-color') || 'transparent';    this.element.title = this.options.clickToEditText;    this._boundCancelHandler = this.handleFormCancellation.bind(this);    this._boundComplete = (this.options.onComplete || Prototype.emptyFunction).bind(this);    this._boundFailureHandler = this.handleAJAXFailure.bind(this);    this._boundSubmitHandler = this.handleFormSubmission.bind(this);    this._boundWrapperHandler = this.wrapUp.bind(this);    this.registerListeners();  },  checkForEscapeOrReturn: function(e) {    if (!this._editing || e.ctrlKey || e.altKey || e.shiftKey) return;    if (Event.KEY_ESC == e.keyCode)      this.handleFormCancellation(e);    else if (Event.KEY_RETURN == e.keyCode)      this.handleFormSubmission(e);  },  createControl: function(mode, handler, extraClasses) {    var control = this.options[mode + 'Control'];    var text = this.options[mode + 'Text'];    if ('button' == control) {      var btn = document.createElement('input');      btn.type = 'submit';      btn.value = text;      btn.className = 'editor_' + mode + '_button';      if ('cancel' == mode)        btn.onclick = this._boundCancelHandler;      this._form.appendChild(btn);      this._controls[mode] = btn;    } else if ('link' == control) {      var link = document.createElement('a');      link.href = '#';      link.appendChild(document.createTextNode(text));      link.onclick = 'cancel' == mode ? this._boundCancelHandler : this._boundSubmitHandler;      link.className = 'editor_' + mode + '_link';      if (extraClasses)        link.className += ' ' + extraClasses;      this._form.appendChild(link);      this._controls[mode] = link;    }  },  createEditField: function() {    var text = (this.options.loadTextURL ? this.options.loadingText : this.getText());    var fld;    if (1 >= this.options.rows && !/\r|\n/.test(this.getText())) {      fld = document.createElement('input');      fld.type = 'text';      var size = this.options.size || this.options.cols || 0;      if (0 < size) fld.size = size;    } else {      fld = document.createElement('textarea');      fld.rows = (1 >= this.options.rows ? this.options.autoRows : this.options.rows);      fld.cols = this.options.cols || 40;    }    fld.name = this.options.paramName;    fld.value = text; // No HTML breaks conversion anymore    fld.className = 'editor_field';    if (this.options.submitOnBlur)      fld.onblur = this._boundSubmitHandler;    this._controls.editor = fld;    if (this.options.loadTextURL)      this.loadExternalText();    this._form.appendChild(this._controls.editor);  },  createForm: function() {    var ipe = this;    function addText(mode, condition) {      var text = ipe.options['text' + mode + 'Controls'];      if (!text || condition === false) return;      ipe._form.appendChild(document.createTextNode(text));    };    this._form = $(document.createElement('form'));    this._form.id = this.options.formId;    this._form.addClassName(this.options.formClassName);    this._form.onsubmit = this._boundSubmitHandler;    this.createEditField();    if ('textarea' == this._controls.editor.tagName.toLowerCase())      this._form.appendChild(document.createElement('br'));    if (this.options.onFormCustomization)      this.options.onFormCustomization(this, this._form);    addText('Before', this.options.okControl || this.options.cancelControl);    this.createControl('ok', this._boundSubmitHandler);    addText('Between', this.options.okControl && this.options.cancelControl);    this.createControl('cancel', this._boundCancelHandler, 'editor_cancel');    addText('After', this.options.okControl || this.options.cancelControl);  },  destroy: function() {    if (this._oldInnerHTML)      this.element.innerHTML = this._oldInnerHTML;    this.leaveEditMode();    this.unregisterListeners();  },  enterEditMode: function(e) {    if (this._saving || this._editing) return;    this._editing = true;    this.triggerCallback('onEnterEditMode');    if (this.options.externalControl)      this.options.externalControl.hide();    this.element.hide();    this.createForm();    this.element.parentNode.insertBefore(this._form, this.element);    if (!this.options.loadTextURL)      this.postProcessEditField();    if (e) Event.stop(e);  },  enterHover: function(e) {    if (this.options.hoverClassName)      this.element.addClassName(this.options.hoverClassName);    if (this._saving) return;    this.triggerCallback('onEnterHover');  },  getText: function() {    return this.element.innerHTML;  },  handleAJAXFailure: function(transport) {    this.triggerCallback('onFailure', transport);    if (this._oldInnerHTML) {      this.element.innerHTML = this._oldInnerHTML;      this._oldInnerHTML = null;    }  },  handleFormCancellation: function(e) {    this.wrapUp();    if (e) Event.stop(e);  },  handleFormSubmission: function(e) {    var form = this._form;    var value = $F(this._controls.editor);    this.prepareSubmission();    var params = this.options.callback(form, value) || '';    if (Object.isString(params))      params = params.toQueryParams();    params.editorId = this.element.id;    if (this.options.htmlResponse) {      var options = Object.extend({ evalScripts: true }, this.options.ajaxOptions);      Object.extend(options, {        parameters: params,        onComplete: this._boundWrapperHandler,        onFailure: this._boundFailureHandler      });      new Ajax.Updater({ success: this.element }, this.url, options);    } else {      var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);      Object.extend(options, {        parameters: params,        onComplete: this._boundWrapperHandler,        onFailure: this._boundFailureHandler      });

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
青娱乐精品视频在线| 亚洲欧美日本韩国| 极品少妇xxxx精品少妇| 日韩精品一区二区三区蜜臀| 日本午夜一区二区| 久久精品视频一区二区| 成人小视频在线观看| 亚洲日穴在线视频| 欧美军同video69gay| 奇米精品一区二区三区在线观看 | 一区二区三区精品| 欧美综合色免费| 日本中文一区二区三区| 久久精品亚洲精品国产欧美kt∨| 成人h动漫精品| 亚洲一区二区三区精品在线| 欧美大尺度电影在线| 高清不卡一区二区| 午夜久久久久久久久久一区二区| 精品免费99久久| 色婷婷av一区| 国精产品一区一区三区mba视频| 亚洲国产高清aⅴ视频| 欧美性大战久久| 国产麻豆一精品一av一免费| 亚洲桃色在线一区| 日韩欧美亚洲国产另类| 99久久综合狠狠综合久久| 香蕉加勒比综合久久| 国产日产欧产精品推荐色| 在线精品视频免费观看| 久久精品国产99久久6| 亚洲欧洲综合另类在线| 精品国产乱码久久久久久蜜臀| 91小宝寻花一区二区三区| 久久爱另类一区二区小说| 一区二区三区在线免费视频| 精品日产卡一卡二卡麻豆| 色美美综合视频| 成人中文字幕电影| 青青草国产精品亚洲专区无| 一区二区在线看| 国产日韩综合av| 精品三级在线看| 777午夜精品视频在线播放| 91蜜桃免费观看视频| 国产一区二区三区免费看| 亚洲第一搞黄网站| 亚洲人成网站精品片在线观看| 久久综合狠狠综合久久激情 | 欧美日韩一区二区三区四区五区 | 亚洲猫色日本管| 久久五月婷婷丁香社区| 在线91免费看| 色婷婷狠狠综合| 不卡的电影网站| 国产一区二区三区日韩| 免费观看久久久4p| 亚洲成人黄色小说| 亚洲一级二级在线| 亚洲精品欧美激情| 亚洲欧洲韩国日本视频| 国产女人18毛片水真多成人如厕 | 亚洲国产综合色| 综合电影一区二区三区| 日本一区二区三区四区在线视频| 日韩欧美亚洲一区二区| 91麻豆精品91久久久久同性| 色偷偷久久一区二区三区| 99久久精品国产网站| 成人午夜免费电影| 成人永久看片免费视频天堂| 国产精一区二区三区| 韩国女主播一区| 国产一区二区0| 国产制服丝袜一区| 精品亚洲国内自在自线福利| 久久黄色级2电影| 蜜桃视频一区二区三区| 久久精品国产一区二区| 久久国内精品自在自线400部| 日本一道高清亚洲日美韩| 五月激情六月综合| 日本不卡视频在线观看| 韩国精品一区二区| 成人综合在线观看| 一本久道中文字幕精品亚洲嫩| 色婷婷综合久久久| 欧美日韩一区小说| 精品日韩欧美在线| 中文字幕免费观看一区| 亚洲女人的天堂| 亚洲成av人综合在线观看| 免费视频最近日韩| 国产凹凸在线观看一区二区| 91免费视频网| 欧美日韩一区二区三区高清| 911国产精品| 久久午夜国产精品| 亚洲猫色日本管| 日韩国产精品久久久| 国产精品一区二区视频| 99在线精品一区二区三区| 在线一区二区三区四区| 日韩一区和二区| 国产三级精品三级在线专区| 一个色综合网站| 韩国视频一区二区| 欧美综合在线视频| 久久蜜臀精品av| 亚洲综合在线电影| 久久aⅴ国产欧美74aaa| 成人a级免费电影| 91精品国产色综合久久ai换脸| 欧美国产精品中文字幕| 天堂久久一区二区三区| 国产精品亚洲一区二区三区妖精 | 国产精品电影一区二区| 亚洲大片在线观看| 国产精品1024| 欧美日韩免费在线视频| 久久久不卡网国产精品一区| 亚洲综合无码一区二区| 国产白丝精品91爽爽久久| 337p亚洲精品色噜噜噜| 亚洲色图在线看| 精东粉嫩av免费一区二区三区| 91久久精品一区二区三区| 久久新电视剧免费观看| 亚洲午夜久久久久中文字幕久| 国产乱码精品一区二区三| 欧美日韩成人在线| 国产精品美女视频| 精品无码三级在线观看视频| 欧美色视频一区| 亚洲同性gay激情无套| 精品亚洲成a人| 日韩一级免费一区| 亚洲国产精品一区二区www| 成人av电影免费在线播放| 26uuu国产在线精品一区二区| 亚洲国产欧美在线| av电影在线观看一区| 久久久久久久综合色一本| 日韩国产欧美三级| 欧美精选午夜久久久乱码6080| 亚洲另类一区二区| 91在线云播放| 亚洲欧洲色图综合| 成人黄色片在线观看| 久久久不卡影院| 国产成人免费9x9x人网站视频| 日韩无一区二区| 男女男精品视频网| 91精品国产色综合久久不卡电影| 亚洲1区2区3区视频| 欧美日本一区二区| 亚洲一区二区三区影院| 色狠狠色狠狠综合| 亚洲激情在线播放| 色婷婷av一区| 亚洲一区在线观看视频| 在线观看成人免费视频| 亚洲综合免费观看高清在线观看| 91久久精品国产91性色tv| 亚洲免费观看高清完整版在线观看| 成人福利视频在线看| 亚洲国产高清不卡| 日韩一区二区中文字幕| 视频一区二区国产| 91精品国产综合久久小美女| 日韩av网站在线观看| 日韩欧美一级二级| 韩国视频一区二区| 日本一区二区三级电影在线观看 | 欧美哺乳videos| 激情五月播播久久久精品| 久久精品在这里| av色综合久久天堂av综合| 亚洲精品中文字幕在线观看| 色综合天天综合网天天狠天天| 亚洲自拍欧美精品| 91精品国产色综合久久ai换脸 | 制服丝袜在线91| 国产在线精品不卡| 国产精品三级av在线播放| 91蜜桃免费观看视频| 日韩高清不卡一区二区三区| 欧美va亚洲va香蕉在线| 国产一区亚洲一区| 自拍偷自拍亚洲精品播放| 欧美日韩不卡一区二区| 国产精品一区二区在线播放 | 久久综合九色综合97婷婷女人| 国产精品18久久久| 亚洲综合在线免费观看| 日韩欧美中文字幕公布| 成人免费视频国产在线观看| 一区二区在线观看不卡| 日韩一区二区精品葵司在线|