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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? controls.js

?? phpcms2007很好的cms內(nèi)容管理系統(tǒng),操作方便
?? JS
?? 第 1 頁 / 共 2 頁
字號(hào):
// script.aculo.us controls.js v1.7.0, Fri Jan 19 19:16:36 CET 2007// Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)//           (c) 2005, 2006 Ivan Krstic (http://blogs.law.harvard.edu/ivan)//           (c) 2005, 2006 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 = function() {};Autocompleter.Base.prototype = {  baseInitialize: function(element, update, options) {    this.element     = $(element);     this.update      = $(update);      this.hasFocus    = false;     this.changed     = false;     this.active      = false;     this.index       = 0;         this.entryCount  = 0;    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);    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 &&       (navigator.appVersion.indexOf('MSIE')>0) &&      (navigator.userAgent.indexOf('Opera')<0) &&      (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(navigator.appVersion.indexOf('AppleWebKit')>0) Event.stop(event);         return;       case Event.KEY_DOWN:         this.markNext();         this.render();         if(navigator.appVersion.indexOf('AppleWebKit')>0) Event.stop(event);         return;      }     else        if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN ||          (navigator.appVersion.indexOf('AppleWebKit') > 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 = document.getElementsByClassName(this.options.select, selectedElement) || [];      if(nodes.length>0) value = Element.collectTextNodes(nodes[0], this.options.select);    } else      value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal');        var lastTokenPos = this.findLastToken();    if (lastTokenPos != -1) {      var newValue = this.element.value.substr(0, lastTokenPos + 1);      var whitespace = this.element.value.substr(lastTokenPos + 1).match(/^\s+/);      if (whitespace)        newValue += whitespace[0];      this.element.value = newValue + value;    } else {      this.element.value = 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;       if(this.getToken().length>=this.options.minChars) {      this.startIndicator();      this.getUpdatedChoices();    } else {      this.active = false;      this.hide();    }  },  getToken: function() {    var tokenPos = this.findLastToken();    if (tokenPos != -1)      var ret = this.element.value.substr(tokenPos + 1).replace(/^\s+/,'').replace(/\s+$/,'');    else      var ret = this.element.value;    return /\n/.test(ret) ? '' : ret;  },  findLastToken: function() {    var lastTokenPos = -1;    for (var i=0; i<this.options.tokens.length; i++) {      var thisTokenPos = this.element.value.lastIndexOf(this.options.tokens[i]);      if (thisTokenPos > lastTokenPos)        lastTokenPos = thisTokenPos;    }    return lastTokenPos;  }}Ajax.Autocompleter = Class.create();Object.extend(Object.extend(Ajax.Autocompleter.prototype, Autocompleter.Base.prototype), {  initialize: function(element, update, url, options) {    this.baseInitialize(element, update, options);    this.options.asynchronous  = true;    this.options.onComplete    = this.onComplete.bind(this);    this.options.defaultParams = this.options.parameters || null;    this.url                   = url;  },  getUpdatedChoices: function() {    entry = encodeURIComponent(this.options.paramName) + '=' +       encodeURIComponent(this.getToken());    this.options.parameters = this.options.callback ?      this.options.callback(this.element, entry) : entry;    if(this.options.defaultParams)       this.options.parameters += '&' + this.options.defaultParams;    new Ajax.Request(this.url, this.options);  },  onComplete: function(request) {    this.updateChoices(request.responseText);  }});// The local array autocompleter. Used when you'd prefer to// inject an array of autocompletion options into the page, rather// than sending out Ajax queries, which can be quite slow sometimes.//// The constructor takes four parameters. The first two are, as usual,// the id of the monitored textbox, and id of the autocompletion menu.// The third is the array you want to autocomplete from, and the fourth// is the options block.//// Extra local autocompletion options:// - choices - How many autocompletion choices to offer//// - partialSearch - If false, the autocompleter will match entered//                    text only at the beginning of strings in the //                    autocomplete array. Defaults to true, which will//                    match text at the beginning of any *word* in the//                    strings in the autocomplete array. If you want to//                    search anywhere in the string, additionally set//                    the option fullSearch to true (default: off).//// - fullSsearch - Search anywhere in autocomplete array strings.//// - partialChars - How many characters to enter before triggering//                   a partial match (unlike minChars, which defines//                   how many characters are required to do any match//                   at all). Defaults to 2.//// - ignoreCase - Whether to ignore case when autocompleting.//                 Defaults to true.//// It's possible to pass in a custom function as the 'selector' // option, if you prefer to write your own autocompletion logic.// In that case, the other options above will not apply unless// you support them.Autocompleter.Local = Class.create();Autocompleter.Local.prototype = Object.extend(new Autocompleter.Base(), {  initialize: function(element, update, array, options) {    this.baseInitialize(element, update, options);    this.options.array = array;  },  getUpdatedChoices: function() {    this.updateChoices(this.options.selector(this));  },  setOptions: function(options) {    this.options = Object.extend({      choices: 10,      partialSearch: true,      partialChars: 2,      ignoreCase: true,      fullSearch: false,      selector: function(instance) {        var ret       = []; // Beginning matches        var partial   = []; // Inside matches        var entry     = instance.getToken();        var count     = 0;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡一区二区三区四区| 麻豆91免费观看| 国产精品天美传媒| 久久伊99综合婷婷久久伊| 精品福利一二区| 精品成人在线观看| 久久久91精品国产一区二区精品| 日韩欧美在线影院| 久久丝袜美腿综合| 日本一区二区在线不卡| 亚洲欧美在线视频| 亚洲激情在线激情| 日韩黄色一级片| 国产高清精品久久久久| 99久久伊人久久99| 欧美三级视频在线观看| 91精品麻豆日日躁夜夜躁| 精品福利在线导航| 亚洲私人影院在线观看| 偷拍一区二区三区四区| 激情国产一区二区| 99re这里只有精品视频首页| 欧美在线啊v一区| 91精品麻豆日日躁夜夜躁| 久久一区二区三区国产精品| 中文字幕av一区二区三区免费看 | 亚洲综合图片区| 麻豆精品一区二区三区| 成人短视频下载| 91精品国产综合久久久久久| 国产欧美精品一区| 亚洲无人区一区| 国内精品嫩模私拍在线| 91女厕偷拍女厕偷拍高清| 欧美一级片在线观看| 国产精品电影院| 麻豆国产精品777777在线| 成人av在线资源网| 日韩欧美国产精品| 亚洲精品国产精华液| 国内精品国产成人国产三级粉色| 91碰在线视频| 欧美成人vr18sexvr| 一区二区三区在线视频观看| 韩国精品主播一区二区在线观看| 在线看日韩精品电影| 久久久.com| 免费成人在线视频观看| 日本二三区不卡| 国产无一区二区| 美国欧美日韩国产在线播放| 在线视频国内自拍亚洲视频| 日本一二三不卡| 免费一级欧美片在线观看| 色噜噜狠狠色综合欧洲selulu| 久久久国产综合精品女国产盗摄| 三级久久三级久久| 在线一区二区三区做爰视频网站| 欧美激情一区二区在线| 精品一区二区在线视频| 欧美蜜桃一区二区三区| 亚洲精品菠萝久久久久久久| 97精品国产露脸对白| 国产精品嫩草影院av蜜臀| 精品在线观看免费| 精品国产一区二区三区忘忧草| 亚州成人在线电影| 欧美日韩精品欧美日韩精品一综合| 中文字幕一区二区三区视频 | 亚洲国产视频一区二区| 国产a精品视频| 久久久久久久久久看片| 久久成人久久爱| 久久亚洲精精品中文字幕早川悠里 | 成人精品gif动图一区| 2023国产精品自拍| 国产激情视频一区二区三区欧美 | 国产精品久久99| 成人av动漫在线| 亚洲人午夜精品天堂一二香蕉| 99精品久久久久久| 一区二区三区在线观看国产| 在线观看日韩电影| 亚洲一区精品在线| 欧美女孩性生活视频| 理论电影国产精品| 精品91自产拍在线观看一区| 国产精品综合网| 欧美国产禁国产网站cc| 99re在线视频这里只有精品| 亚洲美女屁股眼交| 欧美巨大另类极品videosbest| 亚洲成人自拍偷拍| 日韩免费在线观看| 极品少妇一区二区三区精品视频| 久久久精品蜜桃| 一本到高清视频免费精品| 亚洲福利一区二区三区| 日韩久久免费av| 99re亚洲国产精品| 奇米精品一区二区三区四区 | 92国产精品观看| 亚洲自拍偷拍网站| 日韩精品一区二区三区蜜臀| 国产不卡在线视频| 亚洲高清不卡在线| 2023国产精品自拍| 欧洲一区在线电影| 激情综合亚洲精品| 亚洲精品国产品国语在线app| 日韩午夜激情av| gogogo免费视频观看亚洲一| 亚洲gay无套男同| 欧美国产激情一区二区三区蜜月| 欧美日韩精品一区二区三区四区 | 国产69精品一区二区亚洲孕妇| 亚洲视频免费在线观看| 欧美大片一区二区三区| 91免费国产视频网站| 日韩av网站免费在线| 国产精品电影院| 久久蜜桃一区二区| 538prom精品视频线放| 不卡一二三区首页| 国产综合久久久久久鬼色 | 久久成人久久鬼色| 午夜视频在线观看一区二区| 国产欧美日韩亚州综合| 51精品国自产在线| 欧美影院一区二区| 成人国产精品免费| 国产在线日韩欧美| 男女性色大片免费观看一区二区 | 国产成人啪免费观看软件| 亚洲成在人线在线播放| 日韩一区有码在线| 久久久久国产精品免费免费搜索| 在线播放欧美女士性生活| 色综合久久久久综合体| 成人性生交大合| 国产精品一二三四区| 欧美96一区二区免费视频| 午夜欧美在线一二页| 一区二区三区中文在线观看| 中文字幕日韩一区二区| 中文字幕精品三区| 日本一区二区三区高清不卡| 精品久久久久久最新网址| 欧美一区二区三区在线观看| 3atv一区二区三区| 欧美人与禽zozo性伦| 欧美精选一区二区| 欧美美女直播网站| 777色狠狠一区二区三区| 91.com在线观看| 91精品国产综合久久久久久| 日韩一区二区三区免费观看| 91精品国产黑色紧身裤美女| 3d动漫精品啪啪一区二区竹菊| 在线播放/欧美激情| 69p69国产精品| 久久综合99re88久久爱| 久久精品欧美一区二区三区不卡| 国产三级久久久| 中文字幕制服丝袜一区二区三区| 中文字幕在线观看不卡视频| 亚洲天堂网中文字| 亚洲一二三四在线观看| 天堂一区二区在线免费观看| 久久精品噜噜噜成人av农村| 国内成人精品2018免费看| 国产mv日韩mv欧美| 日本韩国欧美国产| 91精品在线一区二区| 久久综合五月天婷婷伊人| 国产精品久久久久久久久快鸭 | 久久精品一区二区三区不卡牛牛| 久久精品亚洲精品国产欧美| 国产精品久久久久影院老司| 亚洲成av人片一区二区梦乃| 蜜臀精品一区二区三区在线观看| 黑人精品欧美一区二区蜜桃| 99亚偷拍自图区亚洲| 欧美电影影音先锋| 国产午夜久久久久| 亚洲风情在线资源站| 另类的小说在线视频另类成人小视频在线| 国产一区 二区 三区一级| 色国产综合视频| 久久蜜桃香蕉精品一区二区三区| 亚洲日穴在线视频| 另类综合日韩欧美亚洲| 色综合久久久久| www国产精品av| 亚洲国产成人av网| 丰满白嫩尤物一区二区| 6080国产精品一区二区| 国产精品久久久久久久久免费桃花 | 色呦呦国产精品| 久久伊人蜜桃av一区二区|