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

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

?? controls.js

?? phpcms2007很好的cms內容管理系統,操作方便
?? JS
?? 第 1 頁 / 共 2 頁
字號:
// 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;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品在线电影| 久久电影国产免费久久电影| 亚洲欧美精品午睡沙发| 日韩精品色哟哟| 99久久99久久精品国产片果冻| 6080日韩午夜伦伦午夜伦| 国产精品久久久久婷婷| 美女一区二区久久| 欧美日韩中字一区| 日韩一区欧美小说| 国产成人一级电影| 欧美一区二区三区在线视频| 亚洲欧美日韩在线| 成人国产在线观看| 久久久久久日产精品| 奇米精品一区二区三区在线观看一 | 国产精品久久久久毛片软件| 狠狠色丁香婷综合久久| 69av一区二区三区| 污片在线观看一区二区| 色丁香久综合在线久综合在线观看| 中文字幕av一区 二区| 狠狠色狠狠色综合系列| 精品国产青草久久久久福利| 奇米亚洲午夜久久精品| 欧美一级一级性生活免费录像| 一片黄亚洲嫩模| 欧美视频一区二区三区在线观看| 亚洲精品亚洲人成人网| 99久久久久久99| 亚洲色图欧洲色图婷婷| 色视频成人在线观看免| 亚洲免费在线看| 欧美色偷偷大香| 亚洲一区二区三区中文字幕| 色噜噜狠狠成人网p站| 依依成人综合视频| 在线观看欧美日本| 亚洲超碰精品一区二区| 欧美一区二区三区思思人| 日韩**一区毛片| 日韩欧美色综合网站| 精品一区二区三区在线播放| 精品福利av导航| av在线播放一区二区三区| 综合激情成人伊人| 欧美日韩一区高清| 麻豆精品新av中文字幕| 精品动漫一区二区三区在线观看| 国产激情视频一区二区在线观看| 国产午夜精品一区二区三区四区| av电影一区二区| 亚洲综合在线观看视频| 欧美一卡2卡3卡4卡| 国产精品91xxx| 亚洲精品视频观看| 欧美精品亚洲二区| 高清不卡在线观看av| 日韩理论在线观看| 日韩视频在线一区二区| 国产精品 欧美精品| 亚洲一区自拍偷拍| 精品国产乱码久久久久久图片| 成人黄色av电影| 日本女人一区二区三区| 欧美国产日韩亚洲一区| 欧美性受xxxx黑人xyx性爽| 久久国内精品视频| 亚洲精品视频自拍| 26uuu久久综合| 欧美三区在线观看| 国产成人亚洲精品青草天美 | 日本韩国欧美一区| 开心九九激情九九欧美日韩精美视频电影 | 精品日韩在线观看| 色综合婷婷久久| 久久99国产精品麻豆| 中文字幕日本乱码精品影院| 正在播放亚洲一区| 99久久综合色| 黄色资源网久久资源365| 亚洲狠狠丁香婷婷综合久久久| 日韩免费高清电影| 欧美在线观看视频一区二区| 国产成人精品三级麻豆| 奇米一区二区三区av| 一级特黄大欧美久久久| 国产欧美日本一区二区三区| 日韩欧美一级二级三级久久久| 91亚洲精品一区二区乱码| 国产伦精一区二区三区| 日韩中文字幕区一区有砖一区 | 亚洲高清视频在线| 国产精品久久久久永久免费观看 | 欧美成人三级在线| 欧美精品粉嫩高潮一区二区| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 日韩三级高清在线| 欧亚一区二区三区| 91丨九色丨国产丨porny| 国产在线不卡一区| 久久精品国产一区二区三区免费看| 一区二区三区波多野结衣在线观看 | 亚洲综合免费观看高清完整版| www激情久久| 欧美日韩一二三| 国产精品1024久久| 麻豆国产欧美一区二区三区| 亚洲欧美日韩人成在线播放| 久久精品人人做人人综合| 538prom精品视频线放| 欧美午夜一区二区三区| 99精品欧美一区二区三区小说 | 日韩欧美高清一区| 欧美性一二三区| 日本精品一级二级| 国产美女主播视频一区| 国产综合色在线视频区| 精品综合免费视频观看| 蜜臀精品久久久久久蜜臀| 舔着乳尖日韩一区| 亚洲一区二区三区激情| 中文字幕一区av| 国产精品久久久久久亚洲伦 | 久久综合视频网| 欧美丰满美乳xxx高潮www| 日韩一区二区电影在线| 777午夜精品视频在线播放| 欧美午夜精品久久久| 一本久久精品一区二区| 波多野结衣在线一区| 国产一区二区福利| 免费在线观看一区| 麻豆一区二区99久久久久| 免费看日韩a级影片| 免费看精品久久片| 亚洲精品久久7777| 日韩高清国产一区在线| 免费高清视频精品| 久久99国产精品免费网站| 国产真实乱子伦精品视频| 国产盗摄视频一区二区三区| 99视频国产精品| 色综合天天在线| 欧美性大战久久| 亚洲精品在线观看视频| 国产欧美日韩三级| 亚洲欧洲日韩在线| 亚洲国产cao| 捆绑调教一区二区三区| 91视视频在线观看入口直接观看www| 色综合天天天天做夜夜夜夜做| 91精彩视频在线| 日韩欧美国产综合一区| 亚洲少妇中出一区| 天天操天天干天天综合网| 精品一区二区三区在线播放 | 久久久精品tv| 国产精品不卡在线| 亚洲第一会所有码转帖| 国产乱码精品一区二区三区av| 欧洲av在线精品| 精品欧美一区二区三区精品久久 | 国产欧美一区二区在线| 一片黄亚洲嫩模| 成人黄色电影在线| 欧美一区在线视频| 国产精品午夜免费| 亚洲黄色小视频| 丰满岳乱妇一区二区三区| 欧美午夜精品久久久久久孕妇 | 视频一区二区三区在线| 国产成人精品综合在线观看| 欧美在线观看18| 久久精品人人做| 亚洲丝袜制服诱惑| 国产乱子轮精品视频| 日本久久一区二区| 国产视频视频一区| 日韩中文字幕1| 国产成人自拍网| 日本乱人伦aⅴ精品| 欧美区一区二区三区| 久久精品视频在线免费观看 | 日韩欧美一卡二卡| 一区二区成人在线视频| 国产xxx精品视频大全| 中文字幕在线不卡| 国产一区二区三区免费看| 色一区在线观看| 久久婷婷久久一区二区三区| 日本亚洲电影天堂| 日韩西西人体444www| 亚洲欧美激情小说另类| 大尺度一区二区| 日韩欧美二区三区| 理论电影国产精品| 日韩一级欧美一级| 婷婷中文字幕综合| 97se亚洲国产综合在线|