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

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

?? controls.js

?? 一套用于生成各種圖形驗證碼的庫(Java)
?? JS
?? 第 1 頁 / 共 3 頁
字號:
// script.aculo.us controls.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007// 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, 'keypress', 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();         if(Prototype.Browser.WebKit) Event.stop(event);         return;       case Event.KEY_DOWN:         this.markNext();         this.render();         if(Prototype.Browser.WebKit) 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一区二区三区免费野_久草精品视频
日韩精品一区二区三区老鸭窝| 亚洲黄色录像片| 亚洲色图另类专区| 激情国产一区二区| 欧美色精品在线视频| 中文字幕一区日韩精品欧美| 麻豆91精品91久久久的内涵| 欧美性生交片4| 国产精品白丝在线| 粉嫩av一区二区三区| 欧美成人a视频| 视频一区在线播放| 在线一区二区三区四区五区| 国产欧美精品国产国产专区| 久久99深爱久久99精品| 欧美日本精品一区二区三区| 一区二区三区产品免费精品久久75| 黄色资源网久久资源365| 91精品国产综合久久精品图片 | 国产亚洲短视频| 日韩精品一卡二卡三卡四卡无卡| 日本韩国精品在线| **欧美大码日韩| 91亚洲精品久久久蜜桃网站| 欧美国产日韩在线观看| 精品在线你懂的| 欧美本精品男人aⅴ天堂| 婷婷国产在线综合| 欧美群妇大交群中文字幕| 亚洲黄色免费电影| 在线观看免费一区| 亚洲一本大道在线| 欧美综合视频在线观看| 亚洲一区二区免费视频| 欧美久久一二区| 日产精品久久久久久久性色| 日韩一区二区三| 久久精品噜噜噜成人av农村| 欧美精品一区二区三区四区| 韩国女主播一区| 欧美激情一二三区| 色94色欧美sute亚洲线路一久| 伊人婷婷欧美激情| 欧美日韩国产小视频在线观看| 五月婷婷久久综合| 精品久久久三级丝袜| 国产成a人无v码亚洲福利| 中文字幕在线免费不卡| 欧美性受xxxx黑人xyx性爽| 婷婷综合在线观看| 精品伦理精品一区| 成人av午夜电影| 一卡二卡三卡日韩欧美| 欧美一级欧美三级在线观看| 精品一区二区三区不卡| 国产午夜精品在线观看| 色综合久久天天| 日产欧产美韩系列久久99| 久久久欧美精品sm网站| 色综合天天综合色综合av| 亚洲成人av电影在线| 26uuu欧美日本| 一本一道久久a久久精品 | 一区二区三区精品久久久| 欧美卡1卡2卡| 粉嫩高潮美女一区二区三区| 亚洲妇熟xx妇色黄| 国产视频一区不卡| 欧美精品一二三| 成人手机电影网| 三级欧美在线一区| 国产精品成人在线观看 | 欧美无砖砖区免费| 韩国女主播成人在线| 亚洲精品国产精品乱码不99| 欧美大片免费久久精品三p| 一本色道久久综合亚洲91| 久久99热这里只有精品| 亚洲综合一二三区| 国产精品天美传媒| 91精品国产综合久久精品性色| 成人精品一区二区三区中文字幕| 天天亚洲美女在线视频| 亚洲欧洲三级电影| 久久欧美中文字幕| 69p69国产精品| 在线观看一区不卡| www.久久久久久久久| 久久精品国产免费| 午夜欧美视频在线观看| 亚洲欧美日韩国产手机在线| 精品国偷自产国产一区| 欧美裸体一区二区三区| 在线观看网站黄不卡| 成人黄色av电影| 国产精品资源在线| 精品中文字幕一区二区| 日日欢夜夜爽一区| 午夜欧美在线一二页| 亚洲国产精品人人做人人爽| 中文字幕一区日韩精品欧美| 国产欧美日韩亚州综合| 久久久久久一级片| 久久影院电视剧免费观看| 日韩精品一区二区三区视频在线观看 | 国产剧情在线观看一区二区| 日一区二区三区| 亚洲香蕉伊在人在线观| 洋洋av久久久久久久一区| 中文字幕一区二区三区四区| 国产精品毛片久久久久久| 国产丝袜美腿一区二区三区| 国产日韩三级在线| 中文字幕制服丝袜成人av| 亚洲国产精品成人久久综合一区| 久久久久久久精| 国产亚洲福利社区一区| 国产人伦精品一区二区| 国产精品久久久久久妇女6080| 国产精品久久久久久久久久久免费看| 久久久久久夜精品精品免费| 国产人成亚洲第一网站在线播放| 亚洲国产精品国自产拍av| 国产欧美日韩麻豆91| 国产精品久久久久婷婷二区次| 国产精品午夜电影| 亚洲三级在线播放| 亚洲一卡二卡三卡四卡无卡久久| 夜夜嗨av一区二区三区四季av| 亚洲午夜精品在线| 久久av资源站| 99久久亚洲一区二区三区青草| 99re66热这里只有精品3直播| 91久久久免费一区二区| 555夜色666亚洲国产免| 337p日本欧洲亚洲大胆色噜噜| 国产女人水真多18毛片18精品视频| 国产精品久久久久久久岛一牛影视| 亚洲激情av在线| 日本免费新一区视频| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 欧美激情一区二区三区不卡 | 欧美日韩在线亚洲一区蜜芽| 91精品国产综合久久婷婷香蕉 | 欧美一二三在线| 中文字幕免费观看一区| 亚洲国产美国国产综合一区二区| 免费人成网站在线观看欧美高清| 国产乱子伦视频一区二区三区 | 久久久久国产精品麻豆ai换脸 | 欧美一区二区在线不卡| 久久精品欧美日韩精品| 亚洲综合在线视频| 激情综合一区二区三区| 99久久精品国产麻豆演员表| 欧美一区二区三区在线观看| 国产欧美日韩综合精品一区二区| 亚洲国产一二三| 粉嫩在线一区二区三区视频| 欧美精品日韩综合在线| 国产精品网曝门| 蜜臀99久久精品久久久久久软件| 91玉足脚交白嫩脚丫在线播放| 日韩欧美一级在线播放| 亚洲精品视频观看| 国产99精品视频| 日韩精品一区二区三区在线观看| 亚洲欧美区自拍先锋| 国产精品一区在线观看你懂的| 欧美日本在线一区| 日韩美女精品在线| 国产精品1区2区3区在线观看| 欧美色网一区二区| 中文字幕欧美一区| 国产成人免费视频精品含羞草妖精 | 日本高清不卡在线观看| 久久久国产精品午夜一区ai换脸| 午夜视黄欧洲亚洲| 91黄视频在线| 成人免费在线视频| 成人免费黄色在线| 国产日韩欧美一区二区三区乱码| 蜜桃视频第一区免费观看| 欧美日韩国产综合一区二区| 亚洲免费伊人电影| 99国产精品视频免费观看| 国产精品毛片久久久久久久| 国产一区二区在线观看免费| 日韩午夜在线观看| 日韩二区三区在线观看| 欧美绝品在线观看成人午夜影视| 亚洲综合免费观看高清完整版在线 | 五月婷婷综合激情| 欧美视频在线观看一区二区| 亚洲制服丝袜在线| 欧美少妇xxx| 婷婷久久综合九色国产成人| 欧美日免费三级在线| 亚洲v中文字幕| 日韩一区二区三区精品视频|