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

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

?? controls.js

?? 基于Maven的質量保證自動化環境配置和演示程序
?? 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一区二区三区免费野_久草精品视频
男女男精品视频| 国产精品国产三级国产有无不卡 | 亚洲图片欧美激情| 风间由美性色一区二区三区| 日本一区二区三区电影| 波多野结衣欧美| 一区二区三区在线免费| 欧美日韩一区二区三区四区五区| 亚洲午夜久久久久久久久久久| 欧美日韩在线免费视频| 青青草97国产精品免费观看 | 亚洲自拍与偷拍| 欧美久久久影院| 狠狠色狠狠色综合系列| 国产精品第13页| 欧美在线一区二区三区| 蜜桃精品在线观看| 国产精品素人一区二区| 欧美亚洲高清一区| 久久精品国产成人一区二区三区| 国产欧美va欧美不卡在线| 91免费精品国自产拍在线不卡| 亚洲大片精品永久免费| 久久一夜天堂av一区二区三区 | 亚洲亚洲精品在线观看| 精品国内片67194| 91丝袜国产在线播放| 日本欧美一区二区| 国产精品国产自产拍高清av王其| 欧美日韩一卡二卡三卡| 国产精选一区二区三区| 亚洲一区二区三区小说| www国产成人免费观看视频 深夜成人网| 成人久久18免费网站麻豆| 日本成人在线电影网| 国产精品嫩草影院av蜜臀| 91精品国产麻豆国产自产在线| 国产.精品.日韩.另类.中文.在线.播放| 一区二区三区美女视频| 国产女主播一区| 日韩一区二区三区在线| 亚洲综合在线五月| 欧美va日韩va| 色综合久久综合网97色综合| 久久精品国产秦先生| 亚洲影视资源网| 国产三区在线成人av| 欧美一卡2卡3卡4卡| 99国产精品国产精品毛片| 紧缚奴在线一区二区三区| 亚洲午夜免费福利视频| 亚洲天堂2014| 国产女主播视频一区二区| 欧美一区二区三区系列电影| 在线视频你懂得一区二区三区| 国产 欧美在线| 国产精品一区二区久久不卡| 奇米影视在线99精品| 婷婷成人激情在线网| 亚洲午夜在线电影| 亚洲综合男人的天堂| 国产精品久久久久影院亚瑟| 国产日韩一级二级三级| 337p日本欧洲亚洲大胆精品| 欧美一区二区免费视频| 欧美老女人第四色| 欧美调教femdomvk| 91精品1区2区| 91久久线看在观草草青青| jiyouzz国产精品久久| 成人av手机在线观看| 丰满少妇在线播放bd日韩电影| 久久精品99久久久| 精品一二三四区| 国模冰冰炮一区二区| 国产一区二区三区观看| 国产原创一区二区三区| 极品美女销魂一区二区三区免费| 久久99精品国产91久久来源| 久久精品国产秦先生| 国内成人免费视频| 国产99久久久国产精品潘金网站| 国产91综合一区在线观看| 成人丝袜高跟foot| 99精品热视频| 欧洲亚洲精品在线| 欧美高清www午色夜在线视频| 91精品欧美综合在线观看最新| 日韩欧美久久一区| 国产亚洲短视频| 亚洲欧美另类小说| 亚洲图片欧美综合| 青青草成人在线观看| 国产一区三区三区| 9l国产精品久久久久麻豆| 91久久精品一区二区三| 日韩一区二区三区三四区视频在线观看 | 亚洲狼人国产精品| 亚洲综合区在线| 裸体在线国模精品偷拍| 国产黑丝在线一区二区三区| 成人午夜视频福利| 欧美天堂亚洲电影院在线播放| 欧美一区二区精品在线| 国产欧美综合色| 香蕉影视欧美成人| 国产尤物一区二区| 色综合久久精品| 欧美xingq一区二区| 中文字幕亚洲欧美在线不卡| 亚洲丶国产丶欧美一区二区三区| 麻豆精品在线视频| www.日本不卡| 日韩欧美专区在线| 亚洲素人一区二区| 美女视频免费一区| 91丝袜国产在线播放| 欧美大片一区二区| 亚洲三级电影网站| 精品亚洲国产成人av制服丝袜| 91视频在线观看免费| 欧美大片一区二区| 亚洲一区二区黄色| 国产成人av网站| 欧美美女一区二区三区| 亚洲国产高清在线| 日本伊人午夜精品| 色综合天天综合色综合av| 精品国产网站在线观看| 一区二区久久久| 国产精品亚洲一区二区三区在线 | 国产精品免费视频网站| 日日夜夜精品视频天天综合网| 成人一区二区三区中文字幕| 日韩一区二区免费高清| 一区二区三区中文字幕精品精品| 国内精品久久久久影院薰衣草| 欧美喷水一区二区| 最新欧美精品一区二区三区| 国产伦精品一区二区三区视频青涩 | 国产精品国产三级国产普通话蜜臀 | 久久精品在这里| 日韩精品久久理论片| 一本色道a无线码一区v| 中文天堂在线一区| 欧美影院午夜播放| 欧美激情一区二区| 韩国精品一区二区| 91精品综合久久久久久| 一区二区日韩av| 99久久婷婷国产综合精品电影| 久久久不卡影院| 精品一区二区免费在线观看| 日韩欧美久久久| 日本欧美大码aⅴ在线播放| 欧美日韩专区在线| 亚洲另类中文字| 91麻豆精品秘密| ㊣最新国产の精品bt伙计久久| 丁香激情综合国产| 欧美国产精品专区| 国产成人综合亚洲网站| 久久亚洲一区二区三区明星换脸| 美女性感视频久久| 日韩欧美激情四射| 久久精品国产亚洲高清剧情介绍| 日韩一区二区三区免费看| 久久电影国产免费久久电影| 日韩一区二区精品葵司在线| 免费在线视频一区| 2014亚洲片线观看视频免费| 精品一区二区三区免费播放| 久久精品男人的天堂| 国产又黄又大久久| 国产精品人成在线观看免费| 不卡视频免费播放| 亚洲免费观看高清完整版在线观看 | 91在线观看一区二区| 亚洲欧美视频一区| 欧美日韩一区二区三区在线| 婷婷成人综合网| 欧美精品一区二区三区很污很色的| 久久精品999| 久久女同性恋中文字幕| 丰满岳乱妇一区二区三区| 亚洲日本成人在线观看| 欧美三级电影网站| 久久成人麻豆午夜电影| 日本一区二区三级电影在线观看| 99精品国产视频| 午夜久久福利影院| 久久久久久毛片| 色综合天天综合色综合av| 日韩精彩视频在线观看| 久久婷婷一区二区三区| a级高清视频欧美日韩| 亚洲超碰97人人做人人爱| 久久亚洲一区二区三区四区| 91麻豆视频网站| 麻豆专区一区二区三区四区五区|