亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美色手机在线观看| 国产寡妇亲子伦一区二区| 在线观看视频一区| 亚洲国产精品一区二区www| 欧美丰满一区二区免费视频| 亚洲bt欧美bt精品| 欧美成人精品1314www| 国产呦萝稀缺另类资源| 中文字幕一区二区三区在线播放| av亚洲精华国产精华| 亚洲成av人影院| 精品国免费一区二区三区| 成人国产视频在线观看| 亚洲成人在线网站| 亚洲精品在线电影| 色八戒一区二区三区| 日韩国产欧美视频| 国产日韩在线不卡| 欧美三级欧美一级| 韩国三级中文字幕hd久久精品| 欧美国产精品中文字幕| 欧美性猛交xxxxxxxx| 琪琪久久久久日韩精品| 中国av一区二区三区| 欧美老肥妇做.爰bbww| 国产成人自拍网| 亚洲成人手机在线| 国产三级精品三级| 欧美剧在线免费观看网站| 国产成人自拍高清视频在线免费播放| 一区二区欧美国产| 久久久一区二区三区捆绑**| 在线观看亚洲a| 韩国在线一区二区| 亚洲电影中文字幕在线观看| 久久久99久久精品欧美| 在线精品视频免费观看| 国产精品一区免费视频| 日一区二区三区| 亚洲手机成人高清视频| 久久免费偷拍视频| 欧美日韩黄色一区二区| 成人亚洲一区二区一| 日韩精品一级中文字幕精品视频免费观看 | 日韩欧美国产系列| 色婷婷久久久综合中文字幕 | 久久99精品久久久久| 亚洲美女视频在线观看| 亚洲精品一区二区在线观看| 欧美三级电影网站| 99精品在线免费| 国产成人超碰人人澡人人澡| 毛片一区二区三区| 五月婷婷综合激情| 国产精品久久久久久户外露出| 欧美v日韩v国产v| 欧美日韩免费不卡视频一区二区三区| 成人美女视频在线看| 国产在线看一区| 蜜臀av一区二区| 日韩av成人高清| 天天操天天色综合| 亚洲超碰97人人做人人爱| 一区二区高清视频在线观看| 国产欧美日韩综合| 国产人伦精品一区二区| 欧美精品一区二区三区一线天视频| 欧美久久久久久久久| 欧美在线视频不卡| 在线日韩av片| 欧美羞羞免费网站| 在线观看不卡一区| 欧美性色aⅴ视频一区日韩精品| 99久久er热在这里只有精品66| 成人免费视频一区二区| 春色校园综合激情亚洲| 成人少妇影院yyyy| 97精品国产97久久久久久久久久久久| 国产精品资源在线| 国产成人精品亚洲午夜麻豆| 国产成人午夜视频| 成人a区在线观看| 9色porny自拍视频一区二区| 99re这里只有精品视频首页| 91国偷自产一区二区三区观看| 欧美图区在线视频| 91精品国产色综合久久久蜜香臀| 91精品欧美久久久久久动漫| 日韩视频免费观看高清在线视频| 精品日韩在线一区| 国产亚洲精品福利| 中文字幕亚洲一区二区va在线| 中文字幕亚洲电影| 亚洲一区在线播放| 另类小说综合欧美亚洲| 国产精品一级黄| 91色|porny| 欧美男人的天堂一二区| 欧美大片一区二区三区| 国产欧美一区在线| 亚洲精品久久7777| 视频一区二区不卡| 国产二区国产一区在线观看| 色哟哟亚洲精品| 91精品久久久久久久91蜜桃| 国产性做久久久久久| 亚洲人吸女人奶水| 日韩精品色哟哟| 国产成人aaa| 欧美日韩色综合| 国产视频一区二区三区在线观看| 亚洲三级电影网站| 久久精品久久99精品久久| 成人动漫av在线| 91精品一区二区三区在线观看| 国产人久久人人人人爽| 亚洲va中文字幕| 国产乱子伦视频一区二区三区 | 欧美日精品一区视频| 2020国产精品久久精品美国| 一区视频在线播放| 日韩激情视频网站| 99久久国产综合精品色伊| 日韩午夜精品电影| 自拍视频在线观看一区二区| 日韩成人伦理电影在线观看| 成人国产一区二区三区精品| 欧美一区二区三区免费在线看 | 亚洲第一激情av| 国产精品99久久久久久宅男| 欧美日韩黄色一区二区| 中文无字幕一区二区三区| 首页欧美精品中文字幕| fc2成人免费人成在线观看播放| 日韩一区二区三区av| 成人免费小视频| 国产一二三精品| 欧美一区日韩一区| 亚洲精品一二三区| 成人伦理片在线| 久久久久久99精品| 日本美女视频一区二区| 欧美日韩一区国产| 亚洲日本乱码在线观看| 国产精品亚洲第一| 337p粉嫩大胆噜噜噜噜噜91av| 亚洲一区二区欧美激情| www.欧美亚洲| 中文字幕免费观看一区| 国产美女一区二区三区| 日韩精品中午字幕| 日韩国产在线观看| 欧美日韩高清一区二区不卡| 亚洲欧美日韩国产另类专区| 国产精品77777竹菊影视小说| 日韩精品资源二区在线| 欧美a级理论片| 欧美日韩成人综合在线一区二区| 曰韩精品一区二区| 在线视频你懂得一区| 综合欧美亚洲日本| 99国产精品国产精品久久| 亚洲欧洲一区二区三区| 成人av网站在线| 国产精品情趣视频| 成人精品视频一区| 中文幕一区二区三区久久蜜桃| 高清不卡在线观看av| 国产日韩欧美精品一区| 国产精品一区二区果冻传媒| 久久久国产综合精品女国产盗摄| 国产精品99久久久久久久女警 | 一区二区三区在线观看国产| 色呦呦国产精品| 亚洲成人精品在线观看| 欧美日韩国产大片| 日韩福利视频导航| 精品美女被调教视频大全网站| 麻豆精品国产91久久久久久| ww久久中文字幕| 成人av电影在线播放| 亚洲免费视频中文字幕| 欧美性感一类影片在线播放| 天天色天天爱天天射综合| 日韩欧美一级二级| 国产成人在线色| 亚洲欧美另类小说| 欧美精品 国产精品| 激情综合亚洲精品| 中文字幕在线观看不卡| 欧美制服丝袜第一页| 久久精品国产免费| 欧美国产成人精品| 欧美视频一二三区| 激情图片小说一区| 亚洲丝袜精品丝袜在线| 欧美一级理论片| 不卡高清视频专区| 亚洲第一会所有码转帖| 精品福利一区二区三区|