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

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

?? controls.js

?? 基于Maven的質(zhì)量保證自動化環(huán)境配置和演示程序
?? JS
?? 第 1 頁 / 共 3 頁
字號:
// script.aculo.us controls.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)//           (c) 2005-2007 Ivan Krstic (http://blogs.law.harvard.edu/ivan)//           (c) 2005-2007 Jon Tirsen (http://www.tirsen.com)// Contributors://  Richard Livsey//  Rahul Bhargava//  Rob Wills// // script.aculo.us is freely distributable under the terms of an MIT-style license.// For details, see the script.aculo.us web site: http://script.aculo.us/// 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.if(typeof Effect == 'undefined')  throw("controls.js requires including script.aculo.us' effects.js library");var Autocompleter = { }Autocompleter.Base = Class.create({  baseInitialize: function(element, update, options) {    element          = $(element)    this.element     = element;     this.update      = $(update);      this.hasFocus    = false;     this.changed     = false;     this.active      = false;     this.index       = 0;         this.entryCount  = 0;    this.oldElementValue = this.element.value;    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);    // Force carriage returns as token delimiters anyway    if (!this.options.tokens.include('\n'))      this.options.tokens.push('\n');    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, 'keydown', this.onKeyPress.bindAsEventListener(this));  },  show: function() {    if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update);    if(!this.iefix &&       (Prototype.Browser.IE) &&      (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, {setTop:(!this.update.style.height)});    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();         Event.stop(event);         return;       case Event.KEY_DOWN:         this.markNext();         this.render();         Event.stop(event);         return;      }     else        if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN ||          (Prototype.Browser.WebKit > 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;    this.getEntry(this.index).scrollIntoView(true);  },    markNext: function() {    if(this.index < this.entryCount-1) this.index++      else this.index = 0;    this.getEntry(this.index).scrollIntoView(false);  },    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 = $(selectedElement).select('.' + this.options.select) || [];      if(nodes.length>0) value = Element.collectTextNodes(nodes[0], this.options.select);    } else      value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal');        var bounds = this.getTokenBounds();    if (bounds[0] != -1) {      var newValue = this.element.value.substr(0, bounds[0]);      var whitespace = this.element.value.substr(bounds[0]).match(/^\s+/);      if (whitespace)        newValue += whitespace[0];      this.element.value = newValue + value + this.element.value.substr(bounds[1]);    } else {      this.element.value = value;    }    this.oldElementValue = this.element.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.down());      if(this.update.firstChild && this.update.down().childNodes) {        this.entryCount =           this.update.down().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;            if(this.entryCount==1 && this.options.autoSelect) {        this.selectEntry();        this.hide();      } else {        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;       this.tokenBounds = null;    if(this.getToken().length>=this.options.minChars) {      this.getUpdatedChoices();    } else {      this.active = false;      this.hide();    }    this.oldElementValue = this.element.value;  },  getToken: function() {    var bounds = this.getTokenBounds();    return this.element.value.substring(bounds[0], bounds[1]).strip();  },  getTokenBounds: function() {    if (null != this.tokenBounds) return this.tokenBounds;    var value = this.element.value;    if (value.strip().empty()) return [-1, 0];

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品影视在线观看| 久久九九影视网| 日韩欧美色综合网站| 国产精品热久久久久夜色精品三区| 综合色中文字幕| 久久精品国产免费看久久精品| 成人午夜av在线| 91麻豆精品国产| 亚洲综合一二区| 9l国产精品久久久久麻豆| 欧美r级电影在线观看| 一区二区激情小说| av日韩在线网站| 久久久精品影视| 视频一区免费在线观看| 91视频国产资源| 国产欧美精品一区二区三区四区| 日本va欧美va欧美va精品| 欧美在线不卡视频| 亚洲精品成人天堂一二三| 国产激情一区二区三区| 欧美一级高清片在线观看| 一区二区三区蜜桃| 色综合久久中文字幕综合网| 中文字幕免费不卡| 粉嫩蜜臀av国产精品网站| 26uuu国产电影一区二区| 日韩av一区二区三区四区| 在线观看日韩电影| 亚洲欧美偷拍三级| 不卡一卡二卡三乱码免费网站 | 国产成都精品91一区二区三| 欧美电影免费观看高清完整版在| 偷拍一区二区三区四区| 97国产精品videossex| 中文字幕在线观看不卡视频| www.日韩大片| 亚洲男人的天堂一区二区| 成人福利电影精品一区二区在线观看| 国产午夜精品一区二区三区视频| 国产一本一道久久香蕉| 欧美韩国日本不卡| 国产精品色婷婷| 国产不卡在线一区| 色狠狠桃花综合| 亚洲永久精品大片| 欧美一区二区三区爱爱| 麻豆成人91精品二区三区| 欧美成人一区二区| 国产麻豆精品95视频| 国产精品福利一区二区| 久久久久亚洲蜜桃| 国产一区二区三区四区五区入口 | av一二三不卡影片| 亚洲视频免费在线观看| 色哟哟国产精品| 视频一区二区三区中文字幕| 欧美成人vps| 国产乱码精品一区二区三| 中文字幕一区二区不卡| 91小视频在线免费看| 午夜精品福利一区二区三区av| 91精品国产91综合久久蜜臀| 国产一区二区按摩在线观看| 国产精品免费视频网站| 欧美色男人天堂| 国产精品99久久久久| 伊人一区二区三区| 欧美精品久久99| 不卡一卡二卡三乱码免费网站| 亚洲在线视频一区| 欧美tickling网站挠脚心| 91视频国产观看| 男人的j进女人的j一区| 日本一区二区三区国色天香 | 波多野结衣欧美| 亚洲国产成人精品视频| 国产三级欧美三级| 欧美一区三区二区| 99在线视频精品| 国产一区二三区好的| 亚洲一区二区三区影院| 亚洲国产经典视频| 欧美一级理论性理论a| 91小视频在线免费看| 久久99国产精品麻豆| 亚洲综合在线免费观看| 国产欧美视频一区二区| 4hu四虎永久在线影院成人| 成人avav在线| 国产一区二区在线电影| 性欧美疯狂xxxxbbbb| 国产精品久久免费看| 欧美一区二区三区免费| 91福利在线播放| 成人午夜私人影院| 极品少妇xxxx精品少妇| 午夜不卡在线视频| 亚洲一区视频在线| 亚洲色图清纯唯美| 中文字幕在线观看一区二区| 久久久久久久久久美女| 日韩精品中文字幕一区 | 91在线视频观看| 风间由美一区二区av101| 久久精品国产免费| 日本中文字幕一区| 午夜久久久久久久久| 亚洲精品一二三四区| 日韩一区在线播放| 国产精品视频免费看| 久久精品夜色噜噜亚洲a∨| 精品1区2区在线观看| 欧美一区二区三区系列电影| 欧美日韩电影一区| 欧美久久久久久蜜桃| 欧美日韩国产综合一区二区三区 | 欧美成人性战久久| 欧美成人乱码一区二区三区| 精品久久久久久久久久久久久久久久久 | 中文成人综合网| 国产精品视频观看| 中文字幕亚洲一区二区va在线| 国产精品素人一区二区| 国产精品三级av| 中文字幕中文在线不卡住| 国产精品久久久久久久第一福利| 国产精品视频第一区| 国产精品福利一区二区三区| 亚洲欧美日韩综合aⅴ视频| 亚洲人成网站在线| 亚洲影院久久精品| 亚洲成人综合视频| 免费av成人在线| 国产精品一区免费视频| aaa国产一区| 欧美乱妇20p| 日韩免费看的电影| 国产三级久久久| 亚洲国产sm捆绑调教视频 | 国产一区二区三区免费| 成人污污视频在线观看| 91浏览器打开| 欧美一区二区三区影视| 国产午夜精品一区二区三区四区| 日韩一区有码在线| 日本中文字幕一区二区视频 | 91久久一区二区| 日韩视频一区二区| 亚洲国产精品高清| 性久久久久久久久久久久 | 美日韩一级片在线观看| 成人黄色综合网站| 91精品国产一区二区人妖| 中文字幕第一页久久| 日一区二区三区| 成人av在线资源网| 日韩精品专区在线影院重磅| 日韩美女啊v在线免费观看| 婷婷六月综合亚洲| av亚洲精华国产精华精| 日韩久久精品一区| 亚洲在线成人精品| av在线免费不卡| 精品国产在天天线2019| 亚洲一区二区视频| 成人性生交大片免费看在线播放| 欧美日韩国产免费一区二区| 中日韩av电影| 激情综合色播激情啊| 欧美在线短视频| 国产精品福利电影一区二区三区四区| 人禽交欧美网站| 欧美日本在线观看| 亚洲黄一区二区三区| 成人午夜精品一区二区三区| 欧美sm美女调教| 秋霞电影网一区二区| 欧美视频一区在线观看| 国产精品久久久久久妇女6080 | 久久久精品影视| 久久国产综合精品| 欧美一区午夜视频在线观看| 亚洲国产一区二区视频| 91麻豆国产精品久久| 欧美激情一区二区在线| 国产馆精品极品| 欧美精品一区二区高清在线观看 | 欧美一区永久视频免费观看| 一区二区久久久| 91黄视频在线| 一区二区在线观看免费| 成人av免费网站| 椎名由奈av一区二区三区| 成人免费视频视频| 国产精品美女www爽爽爽| 国产美女视频一区| 久久精品一区二区三区不卡牛牛| 精品一区精品二区高清| 精品国产一区二区三区不卡 |