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

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

?? window.js

?? ajax窗體技術,有許多漂亮的窗體,實現漂亮的客戶端
?? JS
?? 第 1 頁 / 共 5 頁
字號:
      this.setSize(this.width, this.height);
    if (this.doMaximize)
      this.maximize();
    if (this.doMinimize)
      this.minimize();
  },
 
  _createHiddenDiv: function(className) {
    var objBody = document.body;
    var win = document.createElement("div");
    win.setAttribute('id', this.element.id+ "_tmp");
    win.className = className;
    win.style.display = 'none';
    win.innerHTML = '';
    objBody.insertBefore(win, objBody.firstChild);
    return win;
  },
  
  _storeLocation: function() {
    if (this.storedLocation == null) {
      this.storedLocation = {useTop: this.useTop, useLeft: this.useLeft, 
                             top: this.element.getStyle('top'), bottom: this.element.getStyle('bottom'),
                             left: this.element.getStyle('left'), right: this.element.getStyle('right'),
                             width: this.width, height: this.height };
    }
  },
  
  _restoreLocation: function() {
    if (this.storedLocation != null) {
      this.useLeft = this.storedLocation.useLeft;
      this.useTop = this.storedLocation.useTop;
      
      if (this.useLeft && this.useTop && Window.hasEffectLib && Effect.ResizeWindow)
        new Effect.ResizeWindow(this, this.storedLocation.top, this.storedLocation.left, this.storedLocation.width, this.storedLocation.height, {duration: Window.resizeEffectDuration});
      else {
        this.element.setStyle(this.useLeft ? {left: this.storedLocation.left} : {right: this.storedLocation.right});
        this.element.setStyle(this.useTop ? {top: this.storedLocation.top} : {bottom: this.storedLocation.bottom});
        this.setSize(this.storedLocation.width, this.storedLocation.height);
      }
      
      Windows.resetOverflow();
      this._removeStoreLocation();
    }
  },
  
  _removeStoreLocation: function() {
    this.storedLocation = null;
  },
  
  _saveCookie: function() {
    if (this.cookie) {
      var value = "";
      if (this.useLeft)
        value += "l:" +  (this.storedLocation ? this.storedLocation.left : this.element.getStyle('left'))
      else
        value += "r:" + (this.storedLocation ? this.storedLocation.right : this.element.getStyle('right'))
      if (this.useTop)
        value += ",t:" + (this.storedLocation ? this.storedLocation.top : this.element.getStyle('top'))
      else
        value += ",b:" + (this.storedLocation ? this.storedLocation.bottom :this.element.getStyle('bottom'))
        
      value += "," + (this.storedLocation ? this.storedLocation.width : this.width);
      value += "," + (this.storedLocation ? this.storedLocation.height : this.height);
      value += "," + this.isMinimized();
      value += "," + this.isMaximized();
      WindowUtilities.setCookie(value, this.cookie)
    }
  },
  
  _createWiredElement: function() {
    if (! this.wiredElement) {
      if (Prototype.Browser.IE)
        this._getWindowBorderSize();
      var div = document.createElement("div");
      div.className = "wired_frame " + this.options.className + "_wired_frame";
      
      div.style.position = 'absolute';
      this.options.parent.insertBefore(div, this.options.parent.firstChild);
      this.wiredElement = $(div);
    }
    if (this.useLeft) 
      this.wiredElement.setStyle({left: this.element.getStyle('left')});
    else 
      this.wiredElement.setStyle({right: this.element.getStyle('right')});
      
    if (this.useTop) 
      this.wiredElement.setStyle({top: this.element.getStyle('top')});
    else 
      this.wiredElement.setStyle({bottom: this.element.getStyle('bottom')});

    var dim = this.element.getDimensions();
    this.wiredElement.setStyle({width: dim.width + "px", height: dim.height +"px"});

    this.wiredElement.setStyle({zIndex: Windows.maxZIndex+30});
    return this.wiredElement;
  },
  
  _hideWiredElement: function() {
    if (! this.wiredElement || ! this.currentDrag)
      return;
    if (this.currentDrag == this.element) 
      this.currentDrag = null;
    else {
      if (this.useLeft) 
        this.element.setStyle({left: this.currentDrag.getStyle('left')});
      else 
        this.element.setStyle({right: this.currentDrag.getStyle('right')});

      if (this.useTop) 
        this.element.setStyle({top: this.currentDrag.getStyle('top')});
      else 
        this.element.setStyle({bottom: this.currentDrag.getStyle('bottom')});

      this.currentDrag.hide();
      this.currentDrag = null;
      if (this.doResize)
        this.setSize(this.width, this.height);
    } 
  },
  
  _notify: function(eventName) {
    if (this.options[eventName])
      this.options[eventName](this);
    else
      Windows.notify(eventName, this);
  }
};

// Windows containers, register all page windows
var Windows = {
  windows: [],
  modalWindows: [],
  observers: [],
  focusedWindow: null,
  maxZIndex: 0,
  overlayShowEffectOptions: {duration: 0.5},
  overlayHideEffectOptions: {duration: 0.5},

  addObserver: function(observer) {
    this.removeObserver(observer);
    this.observers.push(observer);
  },
  
  removeObserver: function(observer) {  
    this.observers = this.observers.reject( function(o) { return o==observer });
  },
  
  // onDestroy onStartResize onStartMove onResize onMove onEndResize onEndMove onFocus onBlur onBeforeShow onShow onHide onMinimize onMaximize onClose
  notify: function(eventName, win) {  
    this.observers.each( function(o) {if(o[eventName]) o[eventName](eventName, win);});
  },

  // Gets window from its id
  getWindow: function(id) {
    return this.windows.detect(function(d) { return d.getId() ==id });
  },

  // Gets the last focused window
  getFocusedWindow: function() {
    return this.focusedWindow;
  },

  updateFocusedWindow: function() {
    this.focusedWindow = this.windows.length >=2 ? this.windows[this.windows.length-2] : null;    
  },
  
  // Registers a new window (called by Windows constructor)
  register: function(win) {
    this.windows.push(win);
  },
    
  // Add a modal window in the stack
  addModalWindow: function(win) {
    // Disable screen if first modal window
    if (this.modalWindows.length == 0) {
      WindowUtilities.disableScreen(win.options.className, 'overlay_modal', win.overlayOpacity, win.getId(), win.options.parent);
    }
    else {
      // Move overlay over all windows
      if (Window.keepMultiModalWindow) {
        $('overlay_modal').style.zIndex = Windows.maxZIndex + 1;
        Windows.maxZIndex += 1;
        WindowUtilities._hideSelect(this.modalWindows.last().getId());
      }
      // Hide current modal window
      else
        this.modalWindows.last().element.hide();
      // Fucking IE select issue
      WindowUtilities._showSelect(win.getId());
    }      
    this.modalWindows.push(win);    
  },
  
  removeModalWindow: function(win) {
    this.modalWindows.pop();
    
    // No more modal windows
    if (this.modalWindows.length == 0)
      WindowUtilities.enableScreen();     
    else {
      if (Window.keepMultiModalWindow) {
        this.modalWindows.last().toFront();
        WindowUtilities._showSelect(this.modalWindows.last().getId());        
      }
      else
        this.modalWindows.last().element.show();
    }
  },
  
  // Registers a new window (called by Windows constructor)
  register: function(win) {
    this.windows.push(win);
  },
  
  // Unregisters a window (called by Windows destructor)
  unregister: function(win) {
    this.windows = this.windows.reject(function(d) { return d==win });
  }, 
  
  // Closes all windows
  closeAll: function() {  
    this.windows.each( function(w) {Windows.close(w.getId())} );
  },
  
  closeAllModalWindows: function() {
    WindowUtilities.enableScreen();     
    this.modalWindows.each( function(win) {if (win) win.close()});    
  },

  // Minimizes a window with its id
  minimize: function(id, event) {
    var win = this.getWindow(id)
    if (win && win.visible)
      win.minimize();
    Event.stop(event);
  },
  
  // Maximizes a window with its id
  maximize: function(id, event) {
    var win = this.getWindow(id)
    if (win && win.visible)
      win.maximize();
    Event.stop(event);
  },

  // Closes a window with its id
  close: function(id, event) {
    var win = this.getWindow(id);
    if (win) 
      win.close();
    if (event)
      Event.stop(event);
  },
  
  blur: function(id) {
    var win = this.getWindow(id);  
    if (!win)
      return;
    if (win.options.blurClassName)
      win.changeClassName(win.options.blurClassName);
    if (this.focusedWindow == win)  
      this.focusedWindow = null;
    win._notify("onBlur");  
  },
  
  focus: function(id) {
    var win = this.getWindow(id);  
    if (!win)
      return;       
    if (this.focusedWindow)
      this.blur(this.focusedWindow.getId())

    if (win.options.focusClassName)
      win.changeClassName(win.options.focusClassName);  
    this.focusedWindow = win;
    win._notify("onFocus");
  },
  
  unsetOverflow: function(except) {    
    this.windows.each(function(d) { d.oldOverflow = d.getContent().getStyle("overflow") || "auto" ; d.getContent().setStyle({overflow: "hidden"}) });
    if (except && except.oldOverflow)
      except.getContent().setStyle({overflow: except.oldOverflow});
  },

  resetOverflow: function() {
    this.windows.each(function(d) { if (d.oldOverflow) d.getContent().setStyle({overflow: d.oldOverflow}) });
  },

  updateZindex: function(zindex, win) { 
    if (zindex > this.maxZIndex) {   
      this.maxZIndex = zindex;    
      if (this.focusedWindow) 
        this.blur(this.focusedWindow.getId())
    }
    this.focusedWindow = win;
    if (this.focusedWindow) 
      this.focus(this.focusedWindow.getId())
  }
};

var Dialog = {
  dialogId: null,
  onCompleteFunc: null,
  callFunc: null, 
  parameters: null, 
    
  confirm: function(content, parameters) {
    // Get Ajax return before
    if (content && typeof content != "string") {
      Dialog._runAjaxRequest(content, parameters, Dialog.confirm);
      return 
    }
    content = content || "";
    
    parameters = parameters || {};
    var okLabel = parameters.okLabel ? parameters.okLabel : "Ok";
    var cancelLabel = parameters.cancelLabel ? parameters.cancelLabel : "Cancel";

    // Backward compatibility
    parameters = Object.extend(parameters, parameters.windowParameters || {});
    parameters.windowParameters = parameters.windowParameters || {};

    parameters.className = parameters.className || "alert";

    var okButtonClass = "class ='" + (parameters.buttonClass ? parameters.buttonClass + " " : "") + " ok_button'" 
    var cancelButtonClass = "class ='" + (parameters.buttonClass ? parameters.buttonClass + " " : "") + " cancel_button'" 
    var content = "\
      <div class='" + parameters.className + "_message'>" + content  + "</div>\
        <div class='" + parameters.className + "_buttons'>\
          <input type='button' value='" + okLabel + "' onclick='Dialog.okCallback()' " + okButtonClass + "/>\
          <input type='button' value='" + cancelLabel + "' onclick='Dialog.cancelCallback()' " + cancelButtonClass + "/>\
        </div>\
    ";
    return this._openDialog(content, parameters)
  },
  
  alert: function(content, parameters) {
    // Get Ajax return before
    if (content && typeof content != "string") {
      Dialog._runAjaxRequest(content, parameters, Dialog.alert);
      return 
    }
    content = content || "";
    
    parameters = parameters || {};
    var okLabel = parameters.okLabel ? parameters.okLabel : "Ok";

    // Backward compatibility    
    parameters = Object.extend(parameters, parameters.windowParameters || {});
    parameters.windowParameters = parameters.windowParameters || {};
    
    parameters.className = parameters.className || "alert";
    
    var okButtonClass = "class ='" + (parameters.buttonClass ? parameters.buttonClass + " " : "") + " ok_button'" 
    var content = "\
      <div class='" + parameters.className + "_message'>" + content  + "</div>\
        <div class='" + parameters.className + "_buttons'>\
          <input type='button' value='" + okLabel + "' onclick='Dialog.okCallback()' " + okButtonClass + "/>\
        </div>";                  
    return this._openDialog(content, parameters)
  },
  
  info: function(content, parameters) {   
    // Get Ajax return before
    if (content && typeof content != "string") {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品ww久久久久久p站| 毛片av中文字幕一区二区| 午夜欧美大尺度福利影院在线看| 久久99热狠狠色一区二区| 99精品视频在线播放观看| 精品国产乱码久久久久久浪潮| 亚洲欧美色一区| 国产成人在线网站| 日韩你懂的在线播放| 洋洋av久久久久久久一区| 成人激情免费视频| 337p粉嫩大胆噜噜噜噜噜91av| 日韩专区欧美专区| 欧美网站一区二区| 日欧美一区二区| 欧美性xxxxxx少妇| 一区二区在线观看av| 成人激情av网| 亚洲国产精品成人综合色在线婷婷| 看电视剧不卡顿的网站| 欧美日韩国产一二三| 亚洲国产精品一区二区久久恐怖片 | 亚洲一区二区不卡免费| 波波电影院一区二区三区| 久久久九九九九| 国产精品18久久久久久久久久久久 | av午夜一区麻豆| 中文字幕精品综合| 国产精品99久久不卡二区| 久久亚洲精精品中文字幕早川悠里| 日本中文字幕一区二区视频 | 亚洲国产日韩综合久久精品| 一本一道波多野结衣一区二区| 中文字幕欧美一| 99精品视频在线观看| 亚洲精品久久嫩草网站秘色| 极品少妇xxxx精品少妇偷拍| 欧美大黄免费观看| 国产一区二区三区观看| 精品99久久久久久| 国产98色在线|日韩| 国产精品免费av| 国产98色在线|日韩| 国产精品国产自产拍在线| 91视频一区二区三区| 亚洲猫色日本管| 欧美精品丝袜久久久中文字幕| 日韩高清不卡在线| 久久综合九色综合97婷婷女人| 国产成人精品1024| 亚洲色图清纯唯美| 欧美另类z0zxhd电影| 美国十次了思思久久精品导航| 久久久久高清精品| av中文字幕不卡| 天堂蜜桃91精品| 久久久一区二区三区| 972aa.com艺术欧美| 婷婷国产在线综合| 久久久777精品电影网影网 | 一区视频在线播放| 欧美日韩视频在线第一区| 久久99热狠狠色一区二区| 国产精品久久久久桃色tv| 欧美日韩国产一级片| 国产乱码精品一区二区三区忘忧草| 中文字幕在线不卡视频| 欧美日韩国产精品成人| 国产精品伊人色| 亚洲国产日韩综合久久精品| 国产欧美一区二区精品秋霞影院| 色综合天天综合色综合av| 美女精品一区二区| 亚洲靠逼com| 久久久国产午夜精品| 欧美在线看片a免费观看| 蜜桃视频一区二区| 夜夜亚洲天天久久| 国产欧美日韩综合| 欧美一级日韩免费不卡| av电影在线不卡| 国内精品伊人久久久久影院对白| 亚洲激情中文1区| 国产亚洲1区2区3区| 日韩一区和二区| 色94色欧美sute亚洲线路二 | 色综合天天综合网国产成人综合天| 免费观看成人av| 亚洲高清在线视频| 亚洲乱码日产精品bd| 久久精品亚洲乱码伦伦中文| 7777精品伊人久久久大香线蕉的 | 中文字幕在线不卡| 26uuu亚洲综合色| 91精品国产乱| 欧美吞精做爰啪啪高潮| 成人av资源站| 国产aⅴ综合色| 国产在线日韩欧美| 图片区小说区区亚洲影院| 亚洲精品国产无天堂网2021| 国产精品日产欧美久久久久| 久久午夜老司机| 精品日韩在线观看| 欧美不卡一区二区| 精品国产1区2区3区| 91精品国产综合久久久久久漫画| 欧美在线观看一二区| 在线观看成人小视频| 色天天综合色天天久久| 99久久精品情趣| 99久久免费国产| 色综合一区二区| 91九色最新地址| 欧美在线观看视频一区二区 | 亚洲在线视频一区| 亚洲精品成人天堂一二三| 一区二区三区美女视频| 一区2区3区在线看| 亚洲动漫第一页| 三级一区在线视频先锋| 免费在线观看视频一区| 久久精品国产免费| 国产黄人亚洲片| 99久久99久久精品免费看蜜桃| 成人av综合在线| 欧美性极品少妇| 欧美一级二级在线观看| 26uuu欧美| 中文字幕一区二区三区不卡| 亚洲日本韩国一区| 亚洲国产欧美日韩另类综合| 日精品一区二区三区| 韩国欧美国产1区| 成人国产精品免费网站| 在线观看免费视频综合| 欧美电视剧在线看免费| 国产精品欧美综合在线| 亚洲最新视频在线播放| 蜜臀久久久久久久| 国产一二三精品| 色婷婷av一区二区三区gif| 欧美一区二区三区免费观看视频| 久久麻豆一区二区| 亚洲狼人国产精品| 经典三级在线一区| 91在线观看成人| 日韩欧美激情一区| 中文字幕一区二区视频| 亚洲五月六月丁香激情| 九九视频精品免费| 色999日韩国产欧美一区二区| 日韩一区二区三区视频在线观看| 亚洲国产高清不卡| 爽爽淫人综合网网站| 国产成人精品一区二区三区四区 | 亚洲精品成人在线| 久久精品国产第一区二区三区| 不卡视频在线观看| 日韩女优制服丝袜电影| 日韩伦理电影网| 国内精品第一页| 欧美日韩日本视频| 中文字幕一区不卡| 国产麻豆一精品一av一免费| 欧美日韩中文字幕一区二区| 国产精品丝袜一区| 日本伊人精品一区二区三区观看方式| 成人午夜视频在线| 欧美成人午夜电影| 亚洲成人福利片| 91美女片黄在线观看91美女| 久久久久国产免费免费| 婷婷成人综合网| 在线视频亚洲一区| 国产精品久久久久久户外露出| 美国三级日本三级久久99| 欧美手机在线视频| 国产精品久久久久久久岛一牛影视| 精品综合免费视频观看| 欧美日高清视频| 亚洲在线中文字幕| 色94色欧美sute亚洲线路二| 中文字幕第一页久久| 国产精品91xxx| 久久久国产综合精品女国产盗摄| 日本sm残虐另类| 91麻豆精品国产91| 日韩精品91亚洲二区在线观看| 欧美在线一二三四区| 亚洲激情综合网| 97se亚洲国产综合自在线 | 精品久久久久久久一区二区蜜臀| 亚洲国产日日夜夜| 欧美视频你懂的| 一区二区日韩av| 欧美网站大全在线观看| 亚洲成人动漫在线观看| 欧美图区在线视频| 视频一区二区三区在线|