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

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

?? controls.js

?? 在線裁切圖片
?? JS
?? 第 1 頁 / 共 2 頁
字號:
// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)//           (c) 2005 Ivan Krstic (http://blogs.law.harvard.edu/ivan)//           (c) 2005 Jon Tirsen (http://www.tirsen.com)// Contributors://  Richard Livsey//  Rahul Bhargava//  Rob Wills// // See scriptaculous.js for full license.// Autocompleter.Base handles all the autocompletion functionality // that's independent of the data source for autocompletion. This// includes drawing the autocompletion menu, observing keyboard// and mouse events, and similar.//// Specific autocompleters need to provide, at the very least, // a getUpdatedChoices function that will be invoked every time// the text inside the monitored textbox changes. This method // should get the text for which to provide autocompletion by// invoking this.getToken(), NOT by directly accessing// this.element.value. This is to allow incremental tokenized// autocompletion. Specific auto-completion logic (AJAX, etc)// belongs in getUpdatedChoices.//// Tokenized incremental autocompletion is enabled automatically// when an autocompleter is instantiated with the 'tokens' option// in the options parameter, e.g.:// new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' });// will incrementally autocomplete with a comma as the token.// Additionally, ',' in the above example can be replaced with// a token array, e.g. { tokens: [',', '\n'] } which// enables autocompletion on multiple tokens. This is most // useful when one of the tokens is \n (a newline), as it // allows smart autocompletion after linebreaks.var Autocompleter = {}Autocompleter.Base = function() {};Autocompleter.Base.prototype = {  baseInitialize: function(element, update, options) {    this.element     = $(element);     this.update      = $(update);      this.hasFocus    = false;     this.changed     = false;     this.active      = false;     this.index       = 0;         this.entryCount  = 0;    if (this.setOptions)      this.setOptions(options);    else      this.options = options || {};    this.options.paramName    = this.options.paramName || this.element.name;    this.options.tokens       = this.options.tokens || [];    this.options.frequency    = this.options.frequency || 0.4;    this.options.minChars     = this.options.minChars || 1;    this.options.onShow       = this.options.onShow ||     function(element, update){       if(!update.style.position || update.style.position=='absolute') {        update.style.position = 'absolute';        Position.clone(element, update, {setHeight: false, offsetTop: element.offsetHeight});      }      Effect.Appear(update,{duration:0.15});    };    this.options.onHide = this.options.onHide ||     function(element, update){ new Effect.Fade(update,{duration:0.15}) };    if (typeof(this.options.tokens) == 'string')       this.options.tokens = new Array(this.options.tokens);    this.observer = null;        this.element.setAttribute('autocomplete','off');    Element.hide(this.update);    Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));    Event.observe(this.element, "keypress", this.onKeyPress.bindAsEventListener(this));  },  show: function() {    if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update);    if(!this.iefix &&       (navigator.appVersion.indexOf('MSIE')>0) &&      (navigator.userAgent.indexOf('Opera')<0) &&      (Element.getStyle(this.update, 'position')=='absolute')) {      new Insertion.After(this.update,        '<iframe id="' + this.update.id + '_iefix" '+       'style="display:none;position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" ' +       'src="javascript:false;" frameborder="0" scrolling="no"></iframe>');      this.iefix = $(this.update.id+'_iefix');    }    if(this.iefix) setTimeout(this.fixIEOverlapping.bind(this), 50);  },    fixIEOverlapping: function() {    Position.clone(this.update, this.iefix);    this.iefix.style.zIndex = 1;    this.update.style.zIndex = 2;    Element.show(this.iefix);  },  hide: function() {    this.stopIndicator();    if(Element.getStyle(this.update, 'display')!='none') this.options.onHide(this.element, this.update);    if(this.iefix) Element.hide(this.iefix);  },  startIndicator: function() {    if(this.options.indicator) Element.show(this.options.indicator);  },  stopIndicator: function() {    if(this.options.indicator) Element.hide(this.options.indicator);  },  onKeyPress: function(event) {    if(this.active)      switch(event.keyCode) {       case Event.KEY_TAB:       case Event.KEY_RETURN:         this.selectEntry();         Event.stop(event);       case Event.KEY_ESC:         this.hide();         this.active = false;         Event.stop(event);         return;       case Event.KEY_LEFT:       case Event.KEY_RIGHT:         return;       case Event.KEY_UP:         this.markPrevious();         this.render();         if(navigator.appVersion.indexOf('AppleWebKit')>0) Event.stop(event);         return;       case Event.KEY_DOWN:         this.markNext();         this.render();         if(navigator.appVersion.indexOf('AppleWebKit')>0) Event.stop(event);         return;      }     else        if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN ||          (navigator.appVersion.indexOf('AppleWebKit') > 0 && event.keyCode == 0)) return;    this.changed = true;    this.hasFocus = true;    if(this.observer) clearTimeout(this.observer);      this.observer =         setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000);  },  activate: function() {    this.changed = false;    this.hasFocus = true;    this.getUpdatedChoices();  },  onHover: function(event) {    var element = Event.findElement(event, 'LI');    if(this.index != element.autocompleteIndex)     {        this.index = element.autocompleteIndex;        this.render();    }    Event.stop(event);  },    onClick: function(event) {    var element = Event.findElement(event, 'LI');    this.index = element.autocompleteIndex;    this.selectEntry();    this.hide();  },    onBlur: function(event) {    // needed to make click events working    setTimeout(this.hide.bind(this), 250);    this.hasFocus = false;    this.active = false;       },     render: function() {    if(this.entryCount > 0) {      for (var i = 0; i < this.entryCount; i++)        this.index==i ?           Element.addClassName(this.getEntry(i),"selected") :           Element.removeClassName(this.getEntry(i),"selected");              if(this.hasFocus) {         this.show();        this.active = true;      }    } else {      this.active = false;      this.hide();    }  },    markPrevious: function() {    if(this.index > 0) this.index--      else this.index = this.entryCount-1;  },    markNext: function() {    if(this.index < this.entryCount-1) this.index++      else this.index = 0;  },    getEntry: function(index) {    return this.update.firstChild.childNodes[index];  },    getCurrentEntry: function() {    return this.getEntry(this.index);  },    selectEntry: function() {    this.active = false;    this.updateElement(this.getCurrentEntry());  },  updateElement: function(selectedElement) {    if (this.options.updateElement) {      this.options.updateElement(selectedElement);      return;    }    var value = '';    if (this.options.select) {      var nodes = document.getElementsByClassName(this.options.select, selectedElement) || [];      if(nodes.length>0) value = Element.collectTextNodes(nodes[0], this.options.select);    } else      value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal');        var lastTokenPos = this.findLastToken();    if (lastTokenPos != -1) {      var newValue = this.element.value.substr(0, lastTokenPos + 1);      var whitespace = this.element.value.substr(lastTokenPos + 1).match(/^\s+/);      if (whitespace)        newValue += whitespace[0];      this.element.value = newValue + value;    } else {      this.element.value = value;    }    this.element.focus();        if (this.options.afterUpdateElement)      this.options.afterUpdateElement(this.element, selectedElement);  },  updateChoices: function(choices) {    if(!this.changed && this.hasFocus) {      this.update.innerHTML = choices;      Element.cleanWhitespace(this.update);      Element.cleanWhitespace(this.update.firstChild);      if(this.update.firstChild && this.update.firstChild.childNodes) {        this.entryCount =           this.update.firstChild.childNodes.length;        for (var i = 0; i < this.entryCount; i++) {          var entry = this.getEntry(i);          entry.autocompleteIndex = i;          this.addObservers(entry);        }      } else {         this.entryCount = 0;      }      this.stopIndicator();      this.index = 0;      this.render();    }  },  addObservers: function(element) {    Event.observe(element, "mouseover", this.onHover.bindAsEventListener(this));    Event.observe(element, "click", this.onClick.bindAsEventListener(this));  },  onObserverEvent: function() {    this.changed = false;       if(this.getToken().length>=this.options.minChars) {      this.startIndicator();      this.getUpdatedChoices();    } else {      this.active = false;      this.hide();    }  },  getToken: function() {    var tokenPos = this.findLastToken();    if (tokenPos != -1)      var ret = this.element.value.substr(tokenPos + 1).replace(/^\s+/,'').replace(/\s+$/,'');    else      var ret = this.element.value;    return /\n/.test(ret) ? '' : ret;  },  findLastToken: function() {    var lastTokenPos = -1;    for (var i=0; i<this.options.tokens.length; i++) {      var thisTokenPos = this.element.value.lastIndexOf(this.options.tokens[i]);      if (thisTokenPos > lastTokenPos)        lastTokenPos = thisTokenPos;    }    return lastTokenPos;  }}Ajax.Autocompleter = Class.create();Object.extend(Object.extend(Ajax.Autocompleter.prototype, Autocompleter.Base.prototype), {  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() {    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.Local.prototype = Object.extend(new 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 ? 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
性感美女极品91精品| 国产精品久久福利| 2021国产精品久久精品| 婷婷夜色潮精品综合在线| 91官网在线观看| 亚洲精品日韩专区silk| 在线精品亚洲一区二区不卡| 一区二区三区日韩欧美精品| 色噜噜偷拍精品综合在线| 亚洲已满18点击进入久久| 欧美天堂一区二区三区| 亚洲18影院在线观看| 这里只有精品视频在线观看| 麻豆视频观看网址久久| 亚洲四区在线观看| 99视频精品免费视频| 亚洲另类春色国产| 欧美日韩一区二区三区不卡| 日韩激情一二三区| 欧美精品一区视频| 成人激情小说网站| 亚洲成av人片在线| 日韩无一区二区| 成人性生交大片免费| 亚洲一二三四在线| 精品国精品国产| 国产·精品毛片| 亚洲福利视频导航| 亚洲精品一区二区三区99| 91免费精品国自产拍在线不卡| 亚洲图片欧美综合| 欧美电影免费观看高清完整版在线| 国产成人av在线影院| 亚洲一区二区视频在线观看| 欧美成人精品高清在线播放| 99在线精品一区二区三区| 日本在线不卡视频| 国产精品久久久久久户外露出 | 国产欧美综合在线| 在线免费一区三区| 国产麻豆午夜三级精品| 一个色在线综合| 国产三级一区二区三区| 欧美日本国产视频| 不卡一区二区三区四区| 久久国产福利国产秒拍| 亚洲精品成人悠悠色影视| 欧美精品一区二区三区一线天视频 | 亚洲国产日韩综合久久精品| 久久一区二区三区四区| 在线观看日韩毛片| 成人一级片网址| 美女脱光内衣内裤视频久久影院| 国产精品久久久久久久岛一牛影视 | 欧美aaaaaa午夜精品| 亚洲日本va午夜在线影院| 精品成a人在线观看| 欧美网站大全在线观看| 成人高清视频免费观看| 精品一区二区三区在线观看国产| 亚洲综合一区二区精品导航| 国产精品国产精品国产专区不蜜| 日韩欧美自拍偷拍| 欧美久久久久久久久久| 色婷婷综合激情| 成人av片在线观看| 国产99久久久精品| 精品一区二区三区日韩| 日韩精彩视频在线观看| 亚洲 欧美综合在线网络| 一区二区三区欧美久久| 亚洲精品欧美激情| 日韩伦理免费电影| 国产精品嫩草影院com| 26uuu精品一区二区三区四区在线| 欧美一区二区日韩一区二区| 欧美日韩大陆一区二区| 欧美日韩另类国产亚洲欧美一级| 色婷婷精品久久二区二区蜜臀av | 亚洲欧美另类综合偷拍| 国产精品成人免费在线| 欧美国产日韩在线观看| 中文字幕欧美国产| 久久久高清一区二区三区| 久久综合一区二区| 国产色爱av资源综合区| 中文字幕av一区二区三区高| 中文乱码免费一区二区| 亚洲欧洲av一区二区三区久久| 国产精品久久久久久久久久免费看 | 欧美色欧美亚洲另类二区| 欧美亚洲综合一区| 欧美日韩国产精品成人| 欧美一区二区视频在线观看2022| 91精品国产欧美日韩| 日韩一二在线观看| 2021久久国产精品不只是精品| 久久久久综合网| 国产精品高潮呻吟| 一区二区欧美国产| 婷婷综合在线观看| 极品少妇xxxx精品少妇| 国产精品一区2区| 99精品视频在线播放观看| 在线观看av一区| 欧美一二三区精品| 国产亚洲成aⅴ人片在线观看| 国产精品久久久久久久久久免费看 | 91碰在线视频| 欧美日韩一区 二区 三区 久久精品| 欧美日韩高清不卡| 久久综合九色综合97婷婷| 国产精品久久久久久久岛一牛影视 | 一区二区免费看| 理论片日本一区| 成人激情黄色小说| 欧美日韩国产色站一区二区三区| 精品国产免费人成电影在线观看四季| 久久精品人人做人人综合 | 亚洲国产cao| 久久激情五月激情| 91色在线porny| 日韩免费性生活视频播放| 亚洲少妇屁股交4| 免费观看一级特黄欧美大片| 不卡欧美aaaaa| 欧美一区二区精品在线| 国产精品麻豆网站| 日本成人超碰在线观看| 97久久久精品综合88久久| 欧美一级黄色录像| 亚洲精品亚洲人成人网| 黑人精品欧美一区二区蜜桃 | 欧洲精品中文字幕| 国产女人aaa级久久久级| 日韩电影在线免费| 风间由美一区二区av101| 欧美电影一区二区三区| 亚洲欧洲日韩av| 久久99精品久久久久久| 在线观看一区二区视频| 国产精品久久久久久一区二区三区| 日本人妖一区二区| 欧美色图天堂网| ㊣最新国产の精品bt伙计久久| 六月丁香婷婷久久| 欧美日韩免费一区二区三区 | 一区二区三区日韩在线观看| 国产成人在线免费观看| 日韩欧美高清在线| 亚洲成人精品在线观看| 91蜜桃婷婷狠狠久久综合9色| 久久九九久久九九| 日本怡春院一区二区| 91极品美女在线| 中文字幕一区日韩精品欧美| 国产一区二区精品久久91| 欧美一区二区三区视频在线 | 制服丝袜亚洲精品中文字幕| 一区二区三区精品在线观看| 丁香天五香天堂综合| 精品黑人一区二区三区久久 | 欧美变态tickling挠脚心| 亚洲成a人在线观看| 在线观看亚洲专区| 一区二区三区中文字幕| 99久久免费精品| 亚洲欧洲日韩一区二区三区| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 亚洲日本在线视频观看| 波多野结衣精品在线| 欧美国产日韩精品免费观看| 国产成人免费视频网站| 久久久99免费| 欧美日韩国产一级片| 亚洲美女屁股眼交| 91黄色免费看| 亚洲精品v日韩精品| 91蜜桃免费观看视频| 亚洲欧美色综合| 欧美亚洲国产一区二区三区| 夜夜精品浪潮av一区二区三区| 色婷婷亚洲婷婷| 亚洲va国产天堂va久久en| 欧美三级资源在线| 日韩av一区二区三区四区| 日韩女优制服丝袜电影| 精品一区二区三区免费观看| 久久综合久久综合久久综合| 国产精品18久久久久久vr| 国产日韩欧美a| 99re视频精品| 五月综合激情网| 精品日韩欧美在线| 成人精品免费视频| 亚洲图片一区二区| 精品成人a区在线观看| 成人免费视频caoporn| 亚洲影院免费观看| 欧美大度的电影原声|