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

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

?? window.js

?? 能夠?qū)崿F(xiàn)賓館管理的基本功能。 例如刪除
?? JS
?? 第 1 頁 / 共 4 頁
字號:
// Copyright (c) 2006 Sébastien Gruhier (http://xilinus.com, http://itseb.com)// // Permission is hereby granted, free of charge, to any person obtaining// a copy of this software and associated documentation files (the// "Software"), to deal in the Software without restriction, including// without limitation the rights to use, copy, modify, merge, publish,// distribute, sublicense, and/or sell copies of the Software, and to// permit persons to whom the Software is furnished to do so, subject to// the following conditions:// // The above copyright notice and this permission notice shall be// included in all copies or substantial portions of the Software.//// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.//// VERSION 1.1var Window = Class.create();Window.keepMultiModalWindow = false;Window.prototype = {  // Constructor  // Available parameters : className, title, minWidth, minHeight, maxWidth, maxHeight, width, height, top, left, bottom, right, resizable, zIndex, opacity, recenterAuto, wiredDrag  //                        hideEffect, showEffect, showEffectOptions, hideEffectOptions, effectOptions, url, draggable, closable, minimizable, maximizable, parent, onload  //                        add all callbacks (if you do not use an observer)  //                        onDestroy onStartResize onStartMove onResize onMove onEndResize onEndMove onFocus onBeforeShow onShow onHide onMinimize onMaximize onClose    initialize: function() {    var id;    var optionIndex = 0;    // For backward compatibility like win= new Window("id", {...}) instead of win = new Window({id: "id", ...})    if (arguments.length > 0) {      if (typeof arguments[0] == "string" ) {        id = arguments[0];        optionIndex = 1;      }      else        id = arguments[0] ? arguments[0].id : null;    }        // Generate unique ID if not specified    if (!id)      id = "window_" + new Date().getTime();          if ($(id))      alert("Window " + id + " is already registered in the DOM! Make sure you use setDestroyOnClose() or destroyOnClose: true in the constructor");    this.hasEffectLib = String.prototype.parseColor != null;    this.options = Object.extend({      className:         "dialog",      minWidth:          100,       minHeight:         20,      resizable:         true,      closable:          true,      minimizable:       true,      maximizable:       true,      draggable:         true,      userData:          null,      showEffect:        (this.hasEffectLib ? Effect.Appear : Element.show),      hideEffect:        (this.hasEffectLib ? Effect.Fade : Element.hide),      showEffectOptions: {},      hideEffectOptions: {},      effectOptions:     null,      parent:            document.body,      title:             "&nbsp;",      url:               null,      onload:            Prototype.emptyFunction,      width:             200,      height:            300,      opacity:           1,      recenterAuto:      true,      wiredDrag:         false,      closeCallback:     null,      destroyOnClose:    false    }, arguments[optionIndex] || {});        if (typeof this.options.top == "undefined" &&  typeof this.options.bottom ==  "undefined")       this.options.top = Math.random()*500;    if (typeof this.options.left == "undefined" &&  typeof this.options.right ==  "undefined")       this.options.left = Math.random()*500;    if (this.options.effectOptions) {      Object.extend(this.options.hideEffectOptions, this.options.effectOptions);      Object.extend(this.options.showEffectOptions, this.options.effectOptions);      if (this.options.showEffect == Element.Appear)        this.options.showEffectOptions.to = this.options.opacity;    }    if (this.hasEffectLib) {      if (this.options.showEffect == Effect.Appear)        this.options.showEffectOptions.to = this.options.opacity;          if (this.options.hideEffect == Effect.Fade)        this.options.hideEffectOptions.from = this.options.opacity;    }    if (this.options.hideEffect == Element.hide)      this.options.hideEffect = function(){ Element.hide(this.element); if (this.options.destroyOnClose) this.destroy(); }.bind(this)        if (this.options.parent != document.body)        this.options.parent = $(this.options.parent);          this.element = this._createWindow(id);        // Bind event listener    this.eventMouseDown = this._initDrag.bindAsEventListener(this);    this.eventMouseUp   = this._endDrag.bindAsEventListener(this);    this.eventMouseMove = this._updateDrag.bindAsEventListener(this);    this.eventOnLoad    = this._getWindowBorderSize.bindAsEventListener(this);    this.eventMouseDownContent = this.toFront.bindAsEventListener(this);    this.eventResize = this._recenter.bindAsEventListener(this);     this.topbar = $(this.element.id + "_top");    this.bottombar = $(this.element.id + "_bottom");    this.content = $(this.element.id + "_content");        Event.observe(this.topbar, "mousedown", this.eventMouseDown);    Event.observe(this.bottombar, "mousedown", this.eventMouseDown);    Event.observe(this.content, "mousedown", this.eventMouseDownContent);    Event.observe(window, "load", this.eventOnLoad);    Event.observe(window, "resize", this.eventResize);    Event.observe(window, "scroll", this.eventResize);        if (this.options.draggable)  {      var that = this;      [this.topbar, this.topbar.up().previous(), this.topbar.up().next()].each(function(element) {        element.observe("mousedown", that.eventMouseDown);        element.addClassName("top_draggable");      });      [this.bottombar.up(), this.bottombar.up().previous(), this.bottombar.up().next()].each(function(element) {        element.observe("mousedown", that.eventMouseDown);        element.addClassName("bottom_draggable");      });          }            if (this.options.resizable) {      this.sizer = $(this.element.id + "_sizer");      Event.observe(this.sizer, "mousedown", this.eventMouseDown);    }          this.useLeft = null;    this.useTop = null;    if (typeof this.options.left != "undefined") {      this.element.setStyle({left: parseFloat(this.options.left) + 'px'});      this.useLeft = true;    }    else {      this.element.setStyle({right: parseFloat(this.options.right) + 'px'});      this.useLeft = false;    }        if (typeof this.options.top != "undefined") {      this.element.setStyle({top: parseFloat(this.options.top) + 'px'});      this.useTop = true;    }    else {      this.element.setStyle({bottom: parseFloat(this.options.bottom) + 'px'});            this.useTop = false;    }          this.storedLocation = null;        this.setOpacity(this.options.opacity);    if (this.options.zIndex)      this.setZIndex(this.options.zIndex)    if (this.options.destroyOnClose)      this.setDestroyOnClose(true);    this._getWindowBorderSize();    this.width = this.options.width;    this.height = this.options.height;    this.visible = false;        this.constraint = false;    this.constraintPad = {top: 0, left:0, bottom:0, right:0};        if (this.width && this.height)      this.setSize(this.options.width, this.options.height);    this.setTitle(this.options.title)    Windows.register(this);        },    // Destructor  destroy: function() {    this._notify("onDestroy");    Event.stopObserving(this.topbar, "mousedown", this.eventMouseDown);    Event.stopObserving(this.bottombar, "mousedown", this.eventMouseDown);    Event.stopObserving(this.content, "mousedown", this.eventMouseDownContent);        Event.stopObserving(window, "load", this.eventOnLoad);    Event.stopObserving(window, "resize", this.eventResize);    Event.stopObserving(window, "scroll", this.eventResize);        Event.stopObserving(this.content, "load", this.options.onload);    if (this._oldParent) {      var content = this.getContent();      var originalContent = null;      for(var i = 0; i < content.childNodes.length; i++) {        originalContent = content.childNodes[i];        if (originalContent.nodeType == 1)           break;        originalContent = null;      }      if (originalContent)        this._oldParent.appendChild(originalContent);      this._oldParent = null;    }    if (this.sizer)        Event.stopObserving(this.sizer, "mousedown", this.eventMouseDown);    if (this.options.url)       this.content.src = null     if(this.iefix)       Element.remove(this.iefix);    Element.remove(this.element);    Windows.unregister(this);        },      // Sets close callback, if it sets, it should return true to be able to close the window.  setCloseCallback: function(callback) {    this.options.closeCallback = callback;  },    // Gets window content  getContent: function () {    return this.content;  },    // Sets the content with an element id  setContent: function(id, autoresize, autoposition) {    var element = $(id);    if (null == element) throw "Unable to find element '" + id + "' in DOM";    this._oldParent = element.parentNode;    var d = null;    var p = null;    if (autoresize)       d = Element.getDimensions(element);    if (autoposition)       p = Position.cumulativeOffset(element);    var content = this.getContent();    // Clear HTML (and even iframe)    this.setHTMLContent("");    content = this.getContent();        content.appendChild(element);    element.show();    if (autoresize)       this.setSize(d.width, d.height);    if (autoposition)       this.setLocation(p[1] - this.heightN, p[0] - this.widthW);      },    setHTMLContent: function(html) {    // It was an url (iframe), recreate a div content instead of iframe content    if (this.options.url) {      this.content.src = null;      this.options.url = null;        	  var content ="<div id=\"" + this.getId() + "_content\" class=\"" + this.options.className + "_content\"> </div>";      $(this.getId() +"_table_content").innerHTML = content;            this.content = $(this.element.id + "_content");    }          this.getContent().innerHTML = html;  },    setAjaxContent: function(url, options, showCentered, showModal) {    this.showFunction = showCentered ? "showCenter" : "show";    this.showModal = showModal || false;      options = options || {};    // Clear HTML (and even iframe)    this.setHTMLContent("");     this.onComplete = options.onComplete;    if (! this._onCompleteHandler)      this._onCompleteHandler = this._setAjaxContent.bind(this);    options.onComplete = this._onCompleteHandler;    new Ajax.Request(url, options);        options.onComplete = this.onComplete;  },    _setAjaxContent: function(originalRequest) {    Element.update(this.getContent(), originalRequest.responseText);    if (this.onComplete)      this.onComplete(originalRequest);    this.onComplete = null;    this[this.showFunction](this.showModal)  },    setURL: function(url) {    // Not an url content, change div to iframe    if (!this.options.url) {  	  this.options.url = url;      var content= "<iframe frameborder=\"0\" name=\"" + this.getId() + "_content\"  id=\"" + this.getId() + "_content\" src=\"" + url + "\"> </iframe>";      $(this.getId() +"_table_content").innerHTML = content;            this.content = $(this.element.id + "_content");    } else {  	  this.options.url = url;	    $(this.element.getAttribute('id') + '_content').src = url;    }  },  getURL: function() {  	return this.options.url ? this.options.url : null;  },  refresh: function() {    if (this.options.url)	    $(this.element.getAttribute('id') + '_content').src = this.options.url;  },    // Stores position/size in a cookie, by default named with window id  setCookie: function(name, expires, path, domain, secure) {    name = name || this.element.id;    this.cookie = [name, expires, path, domain, secure];        // Get cookie    var value = WindowUtilities.getCookie(name)    // If exists    if (value) {      var values = value.split(',');      var x = values[0].split(':');      var y = values[1].split(':');      var w = parseFloat(values[2]), h = parseFloat(values[3]);      var mini = values[4];      var maxi = values[5];      this.setSize(w, h);      if (mini == "true")        this.doMinimize = true; // Minimize will be done at onload window event      else if (maxi == "true")        this.doMaximize = true; // Maximize will be done at onload window event      this.useLeft = x[0] == "l";      this.useTop = y[0] == "t";      this.element.setStyle(this.useLeft ? {left: x[1]} : {right: x[1]});      this.element.setStyle(this.useTop ? {top: y[1]} : {bottom: y[1]});    }  },    // Gets window ID  getId: function() {    return this.element.id;  },    // Detroys itself when closing   setDestroyOnClose: function() {    this.options.destroyOnClose = true;  },    setConstraint: function(bool, padding) {    this.constraint = bool;    this.constraintPad = Object.extend(this.constraintPad, padding || {});    // Reset location to apply constraint    if (this.useTop && this.useLeft)      this.setLocation(parseFloat(this.element.style.top), parseFloat(this.element.style.left));  },    // initDrag event  _initDrag: function(event) {    // No resize on minimized window    if (Event.element(event) == this.sizer && this.isMinimized())      return;    // No move on maximzed window    if (Event.element(event) != this.sizer && this.isMaximized())      return;          if (isIE && this.heightN == 0)      this._getWindowBorderSize();        // Get pointer X,Y    this.pointer = [Event.pointerX(event), Event.pointerY(event)];        if (this.options.wiredDrag)       this.currentDrag = this._createWiredElement();    else      this.currentDrag = this.element;          // Resize    if (Event.element(event) == this.sizer) {      this.doResize = true;      this.widthOrg = this.width;      this.heightOrg = this.height;      this.bottomOrg = parseFloat(this.element.getStyle('bottom'));      this.rightOrg = parseFloat(this.element.getStyle('right'));      this._notify("onStartResize");    }    else {      this.doResize = false;      // Check if click on close button,       var closeButton = $(this.getId() + '_close');      if (closeButton && Position.within(closeButton, this.pointer[0], this.pointer[1])) {        this.currentDrag = null;        return;      }      this.toFront();      if (! this.options.draggable)         return;      this._notify("onStartMove");    }    

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜精品在线看| 国产精品不卡在线| 亚洲国产精品久久久久婷婷884 | 欧美一区二区人人喊爽| 亚洲电影视频在线| 欧美三电影在线| 男女性色大片免费观看一区二区| 日韩一区和二区| 麻豆精品视频在线观看免费 | 激情欧美一区二区三区在线观看| 欧美精品一区二区三区高清aⅴ| 精品一区二区三区av| 久久美女高清视频| www.欧美色图| 亚洲国产精品一区二区www| 欧美一区二区三区四区高清 | 成人一二三区视频| 国产精品盗摄一区二区三区| 欧美主播一区二区三区| 免费高清在线一区| 国产精品毛片久久久久久| 色综合av在线| 裸体一区二区三区| 亚洲国产精品ⅴa在线观看| 色综合久久中文综合久久牛| 亚洲午夜激情av| 精品国产电影一区二区| 91色乱码一区二区三区| 性久久久久久久久久久久| 久久婷婷成人综合色| 99精品1区2区| 美女视频一区二区三区| 中文字幕在线播放不卡一区| 欧美精品免费视频| 国产成人高清视频| 午夜视黄欧洲亚洲| 久久蜜桃香蕉精品一区二区三区| 日本韩国欧美在线| 国产一区在线观看视频| 一级日本不卡的影视| 精品国产髙清在线看国产毛片| 99re这里都是精品| 精彩视频一区二区| 亚洲资源在线观看| 欧美激情一区二区三区| 欧美高清视频在线高清观看mv色露露十八| 国产乱人伦精品一区二区在线观看| 亚洲手机成人高清视频| 久久伊99综合婷婷久久伊| 欧洲一区在线观看| 国产乱码一区二区三区| 日本美女一区二区三区| 亚洲精品视频一区| 欧美国产精品劲爆| 精品动漫一区二区三区在线观看| 色综合 综合色| 丁香六月久久综合狠狠色| 蜜桃视频在线观看一区二区| 亚洲一卡二卡三卡四卡无卡久久| 国产亚洲一区二区三区在线观看 | 欧美军同video69gay| av在线一区二区| 国产精品 日产精品 欧美精品| 亚洲成a天堂v人片| 亚洲精品老司机| 国产日韩精品久久久| 日韩精品专区在线影院观看| 91精品国产综合久久蜜臀| 91麻豆国产香蕉久久精品| 国产成人免费视| 国产一区二区在线看| 奇米影视一区二区三区| 午夜精品一区二区三区电影天堂 | 一区二区三区精品在线| 亚洲欧洲一区二区三区| 中文字幕一区二区三区在线播放 | 日韩视频一区二区在线观看| 欧美性大战久久| 日本道在线观看一区二区| 91网站最新网址| 色综合久久久久久久| www.欧美精品一二区| 成人丝袜高跟foot| 国产高清亚洲一区| 大胆亚洲人体视频| 成人高清视频在线观看| 成人黄色国产精品网站大全在线免费观看| 国内精品国产成人| 国产黄色精品网站| 成人黄色大片在线观看| av网站一区二区三区| 色欧美乱欧美15图片| 在线免费不卡视频| 欧美中文字幕亚洲一区二区va在线 | 亚洲国产一二三| 亚洲电影激情视频网站| 日日夜夜免费精品| 捆绑变态av一区二区三区| 国产一区日韩二区欧美三区| 成人黄色av网站在线| 色天使久久综合网天天| 欧美精品久久天天躁| 日韩一级黄色片| 亚洲精品一线二线三线无人区| 久久久久国产免费免费| 国产精品成人免费| 亚洲综合免费观看高清完整版在线 | 亚洲午夜久久久久中文字幕久| 午夜婷婷国产麻豆精品| 青青草国产精品97视觉盛宴| 国产一区91精品张津瑜| jlzzjlzz亚洲日本少妇| 欧美伊人久久久久久久久影院| 51精品久久久久久久蜜臀| 久久亚洲精品小早川怜子| 亚洲日本丝袜连裤袜办公室| 五月婷婷激情综合| 国产米奇在线777精品观看| 9色porny自拍视频一区二区| 欧美日韩和欧美的一区二区| 精品不卡在线视频| 日韩美女精品在线| 人人狠狠综合久久亚洲| 成人激情午夜影院| 制服.丝袜.亚洲.另类.中文| 国产日韩欧美精品在线| 亚洲狠狠爱一区二区三区| 国产美女精品人人做人人爽| 在线免费观看视频一区| 久久久噜噜噜久久中文字幕色伊伊 | av中文字幕一区| 日韩欧美国产一区二区在线播放| 久久精品人人做人人综合| 午夜视频在线观看一区| 不卡的av中国片| 欧美mv日韩mv亚洲| 亚洲精品伦理在线| 国模大尺度一区二区三区| 欧美三级视频在线| 国产精品美女久久久久久2018| 日本免费新一区视频| 91久久奴性调教| 国产精品久久影院| 国内精品伊人久久久久av影院| 欧美日韩国产天堂| 综合色天天鬼久久鬼色| 国产乱人伦偷精品视频免下载| 欧美日韩在线直播| 亚洲日本成人在线观看| 国产精品主播直播| 欧美欧美欧美欧美首页| 亚洲你懂的在线视频| 国产69精品一区二区亚洲孕妇| 日韩一区二区精品| 亚欧色一区w666天堂| 91久久香蕉国产日韩欧美9色| 中文字幕成人网| 国产在线看一区| 精品国产网站在线观看| 琪琪一区二区三区| 欧美军同video69gay| 一区二区成人在线视频| 一本一道久久a久久精品综合蜜臀| 国产拍揄自揄精品视频麻豆| 国产精品一区二区三区乱码| 欧美成人一区二区三区在线观看| 亚洲成人一二三| 欧美剧情电影在线观看完整版免费励志电影| 国产精品福利一区二区三区| 不卡视频在线看| 国产精品久久久爽爽爽麻豆色哟哟| 国产美女一区二区| 国产欧美一区二区精品婷婷 | 成人免费va视频| 亚洲国产精品av| 99视频精品免费视频| 国产精品第四页| 92国产精品观看| 亚洲日本丝袜连裤袜办公室| 91丝袜美女网| 亚洲午夜视频在线| 欧洲激情一区二区| 午夜av电影一区| 制服.丝袜.亚洲.中文.综合| 97国产一区二区| 亚洲精品免费电影| 欧美日韩高清在线播放| 喷白浆一区二区| 精品国产一区二区三区不卡| 国产不卡视频一区二区三区| 国产精品美女久久久久aⅴ | 紧缚奴在线一区二区三区| 久久久久免费观看| www.欧美色图| 亚洲一区二区在线视频| 欧美一级片在线| 国产乱子轮精品视频| 国产精品国产a级| 欧美三级三级三级爽爽爽| 久久国产精品色|