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

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

?? controls.js

?? 頂級博客程序 wordpress 博客安裝程序代碼
?? 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一区二区三区免费野_久草精品视频
99久久国产综合精品麻豆| 一区二区视频在线看| 免费观看一级特黄欧美大片| 欧美精品18+| 免费在线观看不卡| 久久新电视剧免费观看| 国产精品77777竹菊影视小说| 久久久青草青青国产亚洲免观| 国产精品资源网站| 中文字幕制服丝袜成人av | 美女www一区二区| 26uuu国产日韩综合| 国产精品18久久久久| 国产精品毛片无遮挡高清| 91女厕偷拍女厕偷拍高清| 亚洲成人一区在线| 91精品一区二区三区久久久久久| 久久aⅴ国产欧美74aaa| 欧美国产1区2区| 欧美日韩亚州综合| 国产一区二区三区黄视频| 中文字幕高清不卡| 欧美日本视频在线| 国产超碰在线一区| 亚洲一区二区在线视频| 精品欧美黑人一区二区三区| 成人开心网精品视频| 亚洲一级片在线观看| 欧美精品一区视频| 在线看一区二区| 黄页视频在线91| 亚洲黄色小视频| 久久美女艺术照精彩视频福利播放| 99精品偷自拍| 国模娜娜一区二区三区| 亚洲高清不卡在线观看| 中文幕一区二区三区久久蜜桃| 欧美综合天天夜夜久久| 国产成人免费在线| 亚洲一区二区三区四区在线| 久久久亚洲高清| 欧美日韩亚洲另类| 91亚洲国产成人精品一区二区三| 麻豆成人在线观看| 亚洲一区二区三区自拍| 中文字幕国产精品一区二区| 日韩一区二区精品| 在线观看视频一区二区| 国产69精品久久久久777| 日韩制服丝袜av| 亚洲女人小视频在线观看| 2014亚洲片线观看视频免费| 精品视频免费看| 色香蕉久久蜜桃| 成人v精品蜜桃久久一区| 麻豆成人在线观看| 天天色天天爱天天射综合| 亚洲免费观看高清| 国产精品欧美一区二区三区| 2024国产精品| 日韩欧美的一区| 欧美一区二区三区视频免费| 欧美视频在线一区| 在线一区二区三区| 91啪亚洲精品| 91免费观看视频在线| www.欧美亚洲| 99精品视频一区二区三区| 成人永久免费视频| 高清国产一区二区三区| 国产在线精品一区二区夜色| 久久精品国产亚洲一区二区三区| 亚洲成在人线免费| 亚洲成人午夜电影| 亚洲韩国精品一区| 亚洲国产wwwccc36天堂| 亚洲国产成人porn| 日韩精彩视频在线观看| 天天色天天操综合| 久久精品国产精品青草| 久久av老司机精品网站导航| 韩国成人福利片在线播放| 国产一区视频导航| 国产成人综合视频| 成人av在线资源网站| 97精品久久久午夜一区二区三区| 波多野结衣中文字幕一区 | 亚洲欧美怡红院| 亚洲日本韩国一区| 亚洲一级二级在线| 全国精品久久少妇| 韩国av一区二区三区| 国产风韵犹存在线视精品| www.成人网.com| 色94色欧美sute亚洲13| 欧美日韩极品在线观看一区| 91精品国产色综合久久不卡蜜臀 | 精品国内片67194| 久久久www成人免费无遮挡大片| 久久亚洲一区二区三区明星换脸| 国产亚洲精品福利| 亚洲啪啪综合av一区二区三区| 一区二区高清视频在线观看| 日韩av一区二区三区四区| 韩国精品在线观看| 91麻豆视频网站| 91精品国产丝袜白色高跟鞋| 欧美精彩视频一区二区三区| 亚洲美女偷拍久久| 老司机午夜精品| 成人黄色小视频在线观看| 欧美性感一区二区三区| 精品久久久久av影院 | 欧美婷婷六月丁香综合色| 欧美一卡2卡3卡4卡| 国产午夜精品美女毛片视频| 亚洲精品乱码久久久久久黑人| 日本成人在线视频网站| av在线播放不卡| 欧美不卡一区二区三区四区| 亚洲三级在线免费观看| 久久精品国产亚洲高清剧情介绍 | 欧美高清视频不卡网| 久久综合久久鬼色| 一区二区久久久| 国产成a人无v码亚洲福利| 欧美久久久久久久久| 国产精品嫩草影院av蜜臀| 日欧美一区二区| 99久久国产免费看| 精品999久久久| 亚洲国产精品天堂| av一区二区三区在线| 26uuu久久天堂性欧美| 午夜精品久久久久久久久久久| 国产高清精品久久久久| 欧美一区二区在线视频| 依依成人精品视频| 国产成人精品免费看| 日韩视频123| 亚洲综合色视频| 94-欧美-setu| 国产无遮挡一区二区三区毛片日本| 亚洲综合精品自拍| 99久久夜色精品国产网站| 久久久久久久久伊人| 三级一区在线视频先锋| 91浏览器打开| 国产人成一区二区三区影院| 久久狠狠亚洲综合| 欧美色倩网站大全免费| 亚洲免费观看高清完整版在线观看熊| 激情欧美一区二区| 日韩精品中文字幕一区二区三区| 亚洲国产你懂的| 欧洲在线/亚洲| 亚洲精品亚洲人成人网| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 国产不卡视频一区| 26uuu欧美日本| 激情av综合网| 久久影视一区二区| 国内精品伊人久久久久av影院| 欧美精品 日韩| 免费在线欧美视频| 精品人伦一区二区色婷婷| 日本不卡中文字幕| 日韩欧美一级特黄在线播放| 日本亚洲天堂网| 欧美一区二区福利在线| 美女视频黄免费的久久| 欧美tk—视频vk| 国模套图日韩精品一区二区| 2023国产精品| 国产精品综合在线视频| 国产欧美精品一区二区色综合| 国产一区二区剧情av在线| 国产亚洲成年网址在线观看| 国产不卡视频在线播放| 国产精品日韩成人| 91美女片黄在线| 婷婷中文字幕综合| 日韩欧美亚洲国产精品字幕久久久| 人人狠狠综合久久亚洲| 日韩一区二区三区高清免费看看 | 国产精品一区二区91| 国产亲近乱来精品视频| av中文字幕不卡| 一区二区成人在线| 欧美电影免费观看高清完整版在线观看| 麻豆精品一二三| 中文字幕乱码久久午夜不卡 | 日韩电影在线观看一区| 26uuu亚洲| 91麻豆产精品久久久久久| 天天免费综合色| 久久尤物电影视频在线观看| 99re热这里只有精品免费视频| 亚洲在线视频网站| 精品88久久久久88久久久|