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

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

?? window.js

?? 采用tapestry的簡單OA系統(tǒng)
?? JS
?? 第 1 頁 / 共 2 頁
字號:
//*****************************************************************************
// Do not remove this notice.
//
// Copyright 2001 by Mike Hall.
// See http://www.brainjar.com for terms of use.
//*****************************************************************************

// Determine browser and version.

function Browser() {

  var ua, s, i;

  this.isIE    = false;  // Internet Explorer
  this.isNS    = false;  // Netscape
  this.version = null;

  ua = navigator.userAgent;

  s = "MSIE";
  if ((i = ua.indexOf(s)) >= 0) {
    this.isIE = true;
    this.version = parseFloat(ua.substr(i + s.length));
    return;
  }

  s = "Netscape6/";
  if ((i = ua.indexOf(s)) >= 0) {
    this.isNS = true;
    this.version = parseFloat(ua.substr(i + s.length));
    return;
  }

  // Treat any other "Gecko" browser as NS 6.1.

  s = "Gecko";
  if ((i = ua.indexOf(s)) >= 0) {
    this.isNS = true;
    this.version = 6.1;
    return;
  }
}

var browser = new Browser();

//=============================================================================
// Window Object
//=============================================================================

function Window(el) {

  var i, mapList, mapName;

  // Get window components.

  this.frame           = el;
  this.titleBar        = winFindByClassName(el, "titleBar");
  this.titleBarText    = winFindByClassName(el, "titleBarText");
  this.titleBarButtons = winFindByClassName(el, "titleBarButtons");
  this.clientArea      = winFindByClassName(el, "clientArea");

  // Find matching button image map.

  mapName = this.titleBarButtons.useMap.substr(1);
  mapList = document.getElementsByTagName("MAP");
  for (i = 0; i < mapList.length; i++)
    if (mapList[i].name == mapName)
      this.titleBarMap = mapList[i];

  // Save colors.

  this.activeFrameBackgroundColor  = this.frame.style.backgroundColor;
  this.activeFrameBorderColor      = this.frame.style.borderColor;
  this.activeTitleBarColor         = this.titleBar.style.backgroundColor;
  this.activeTitleTextColor        = this.titleBar.style.color;
  this.activeClientAreaBorderColor = this.clientArea.style.borderColor;
  if (browser.isIE)
    this.activeClientAreaScrollbarColor = this.clientArea.style.scrollbarBaseColor;

  // Save images.

  this.activeButtonsImage   = this.titleBarButtons.src;
  this.inactiveButtonsImage = this.titleBarButtons.longDesc;

  // Set flags.

  this.isOpen      = false;
  this.isMinimized = false;

  // Set methods.

  this.open       = winOpen;
  this.close      = winClose;
  this.minimize   = winMinimize;
  this.restore    = winRestore;
  this.makeActive = winMakeActive;

  // Set up event handling.

  this.frame.parentWindow = this;
  this.frame.onmousemove  = winResizeCursorSet;
  this.frame.onmouseout   = winResizeCursorRestore;
  this.frame.onmousedown  = winResizeDragStart;

  this.titleBar.parentWindow = this;
  this.titleBar.onmousedown  = winMoveDragStart;

  this.clientArea.parentWindow = this;
  this.clientArea.onclick      = winClientAreaClick;

  for (i = 0; i < this.titleBarMap.childNodes.length; i++)
    if (this.titleBarMap.childNodes[i].tagName == "AREA")
      this.titleBarMap.childNodes[i].parentWindow = this;

  // Calculate the minimum width and height values for resizing
  // and fix any initial display problems.

  var initLt, initWd, w, dw;

  // Save the inital frame width and position, then reposition
  // the window.

  initLt = this.frame.style.left;
  initWd = parseInt(this.frame.style.width);
  this.frame.style.left = -this.titleBarText.offsetWidth + "px";

  // For IE, start calculating the value to use when setting
  // the client area width based on the frame width.

  if (browser.isIE) {
    this.titleBarText.style.display = "none";
    w = this.clientArea.offsetWidth;
    this.widthDiff = this.frame.offsetWidth - w;
    this.clientArea.style.width = w + "px";
    dw = this.clientArea.offsetWidth - w;
    w -= dw;     
    this.widthDiff += dw;
    this.titleBarText.style.display = "";
  }

  // Find the difference between the frame's style and offset
  // widths. For IE, adjust the client area/frame width
  // difference accordingly.

  w = this.frame.offsetWidth;
  this.frame.style.width = w + "px";
  dw = this.frame.offsetWidth - w;
  w -= dw;     
  this.frame.style.width = w + "px";
  if (browser.isIE)
    this.widthDiff -= dw;

  // Find the minimum width for resize.

  this.isOpen = true;  // Flag as open so minimize call will work.
  this.minimize();
  // Get the minimum width.
  if (browser.isNS && browser.version >= 1.2)
    // For later versions of Gecko.
    this.minimumWidth = this.frame.offsetWidth;
  else
    // For all others.
    this.minimumWidth = this.frame.offsetWidth - dw;

  // Find the frame width at which or below the title bar text will
  // need to be clipped.

  this.titleBarText.style.width = "";
  this.clipTextMinimumWidth = this.frame.offsetWidth - dw;

  // Set the minimum height.

  this.minimumHeight = 1;

  // Restore window. For IE, set client area width.

  this.restore();
  this.isOpen = false;  // Reset flag.
  initWd = Math.max(initWd, this.minimumWidth);
  this.frame.style.width = initWd + "px";
  if (browser.isIE)
    this.clientArea.style.width = (initWd - this.widthDiff) + "px";

  // Clip the title bar text if needed.

  if (this.clipTextMinimumWidth >= this.minimumWidth)
    this.titleBarText.style.width = (winCtrl.minimizedTextWidth + initWd - this.minimumWidth) + "px";

  // Restore the window to its original position.

  this.frame.style.left = initLt;
}

//=============================================================================
// Window Methods
//=============================================================================

function winOpen() {

  if (this.isOpen)
    return;

  // Restore the window and make it visible.

  this.makeActive();
  this.isOpen = true;
  if (this.isMinimized)
    this.restore();
  this.frame.style.visibility = "visible";
}

function winClose() {

  // Hide the window.

  this.frame.style.visibility = "hidden";
  this.isOpen = false;
}

function winMinimize() {

  if (!this.isOpen || this.isMinimized)
    return;

  this.makeActive();

  // Save current frame and title bar text widths.

  this.restoreFrameWidth = this.frame.style.width;
  this.restoreTextWidth = this.titleBarText.style.width;

  // Disable client area display.

  this.clientArea.style.display = "none";

  // Minimize frame and title bar text widths.

  if (this.minimumWidth)
    this.frame.style.width = this.minimumWidth + "px";
  else
    this.frame.style.width = "";
  this.titleBarText.style.width = winCtrl.minimizedTextWidth + "px";

  this.isMinimized = true;
}

function winRestore() {

  if (!this.isOpen || !this.isMinimized)
    return;

  this.makeActive();

  // Enable client area display.

  this.clientArea.style.display = "";

  // Restore frame and title bar text widths.

  this.frame.style.width = this.restoreFrameWidth;
  this.titleBarText.style.width = this.restoreTextWidth;

  this.isMinimized = false;
}

function winMakeActive() {

  if (winCtrl.active == this)
    return;

  // Inactivate the currently active window.

  if (winCtrl.active) {
    winCtrl.active.frame.style.backgroundColor    = winCtrl.inactiveFrameBackgroundColor;
    winCtrl.active.frame.style.borderColor        = winCtrl.inactiveFrameBorderColor;
    winCtrl.active.titleBar.style.backgroundColor = winCtrl.inactiveTitleBarColor;
    winCtrl.active.titleBar.style.color           = winCtrl.inactiveTitleTextColor;
    winCtrl.active.clientArea.style.borderColor   = winCtrl.inactiveClientAreaBorderColor;
    if (browser.isIE)
      winCtrl.active.clientArea.style.scrollbarBaseColor = winCtrl.inactiveClientAreaScrollbarColor;
    if (browser.isNS && browser.version < 6.1)
      winCtrl.active.clientArea.style.overflow = "hidden";
    if (winCtrl.active.inactiveButtonsImage)
      winCtrl.active.titleBarButtons.src = winCtrl.active.inactiveButtonsImage;
  }

  // Activate this window.

  this.frame.style.backgroundColor    = this.activeFrameBackgroundColor;
  this.frame.style.borderColor        = this.activeFrameBorderColor;
  this.titleBar.style.backgroundColor = this.activeTitleBarColor;
  this.titleBar.style.color           = this.activeTitleTextColor;
  this.clientArea.style.borderColor   = this.activeClientAreaBorderColor;
  if (browser.isIE)
    this.clientArea.style.scrollbarBaseColor = this.activeClientAreaScrollbarColor;
  if (browser.isNS && browser.version < 6.1)
    this.clientArea.style.overflow = "auto";
  if (this.inactiveButtonsImage)
    this.titleBarButtons.src = this.activeButtonsImage;
  this.frame.style.zIndex = ++winCtrl.maxzIndex;
  winCtrl.active = this;
}

//=============================================================================
// Event handlers.
//=============================================================================

function winClientAreaClick(event) {

  // Make this window the active one.

  this.parentWindow.makeActive();
}

//-----------------------------------------------------------------------------
// Window dragging.
//-----------------------------------------------------------------------------

function winMoveDragStart(event) {

  var target;
  var x, y;

  if (browser.isIE)
    target = window.event.srcElement.tagName;
  if (browser.isNS)
    target = event.target.tagName;

  if (target == "AREA")
    return;

  this.parentWindow.makeActive();

  // Get cursor offset from window frame.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产精品久久人人爱| 国产欧美精品日韩区二区麻豆天美| 一区二区三区在线观看欧美| 色综合色综合色综合色综合色综合| 成人欧美一区二区三区白人| 色猫猫国产区一区二在线视频| 一区二区三区色| 欧美乱妇15p| 国产一区美女在线| 日韩一区日韩二区| 欧美无人高清视频在线观看| 日韩av一二三| 国产欧美中文在线| 欧美在线小视频| 免费观看久久久4p| 欧美国产日本韩| 欧美探花视频资源| 国产在线播精品第三| 国产精品理伦片| 欧美精品久久99久久在免费线 | 精品久久一区二区三区| 国产麻豆视频精品| 国产福利精品一区二区| 综合精品久久久| 欧美精品18+| 成a人片国产精品| 亚洲成av人片在www色猫咪| 欧美sm美女调教| 色综合久久中文字幕综合网| 全部av―极品视觉盛宴亚洲| 国产精品二三区| 91麻豆精品国产91久久久久久久久 | 日韩中文字幕麻豆| 日本一区二区三区视频视频| 欧美中文字幕一二三区视频| 国产精品一区二区不卡| 亚洲国产aⅴ成人精品无吗| 久久久不卡网国产精品一区| 欧美亚洲国产一卡| 国产成人综合视频| 亚洲成人av电影| 中文字幕一区二区在线观看 | 色狠狠av一区二区三区| 紧缚捆绑精品一区二区| 一区二区三区资源| 国产欧美一二三区| 精品国产乱码久久久久久闺蜜| 91视频一区二区三区| 国产美女主播视频一区| 丝袜美腿一区二区三区| 亚洲狼人国产精品| 欧美国产乱子伦| 精品福利视频一区二区三区| 欧美日韩一区不卡| 色综合久久久久综合99| 成人视屏免费看| 国产成人综合亚洲网站| 九九国产精品视频| 免费国产亚洲视频| 亚洲福利一区二区| 亚洲综合小说图片| 亚洲蜜臀av乱码久久精品蜜桃| 日本一区二区三区dvd视频在线| 日韩三级电影网址| 欧美一区午夜视频在线观看| 欧洲日韩一区二区三区| 91影院在线观看| 97se亚洲国产综合自在线| 成人午夜免费电影| 成人性生交大片免费看在线播放| 欧美性生交片4| 欧亚一区二区三区| 在线视频国内一区二区| 一本大道av伊人久久综合| 91啪亚洲精品| 色成年激情久久综合| 91黄色免费看| 欧美在线免费观看亚洲| 欧美三级韩国三级日本三斤 | 在线播放视频一区| 欧美一卡二卡三卡四卡| 欧美一区二区黄| 日韩精品一区二| 亚洲精品一区二区三区在线观看 | 日韩三级.com| 日韩欧美国产电影| 欧美精品一区二区精品网| 久久亚洲精品小早川怜子| 国产喷白浆一区二区三区| 国产精品免费视频观看| 亚洲私人影院在线观看| 亚洲一区二区精品3399| 日韩电影在线一区二区三区| 美女国产一区二区三区| 国产精品一区二区x88av| 岛国一区二区在线观看| 99riav一区二区三区| 精品视频色一区| 日韩精品资源二区在线| 亚洲国产成人午夜在线一区| 亚洲人午夜精品天堂一二香蕉| 亚洲一区二区三区四区五区中文| 亚洲国产精品一区二区久久| 青青国产91久久久久久| 国产一区二区三区久久悠悠色av| 成人短视频下载| 欧美色图在线观看| 精品美女一区二区三区| 中文字幕一区二区三区视频 | 亚洲激情一二三区| 蜜乳av一区二区三区| 成人综合日日夜夜| 欧美在线免费观看视频| 久久这里只有精品6| 亚洲欧美日韩中文播放 | 99国产一区二区三精品乱码| 欧美日韩中字一区| 精品久久久久av影院| 亚洲乱码国产乱码精品精的特点| 日本免费新一区视频| 成人免费视频一区| 91精品在线麻豆| 综合网在线视频| 美女网站色91| 一本一道综合狠狠老| 亚洲精品一区二区精华| 一区二区高清在线| 蜜臀av一区二区在线免费观看| 91丨porny丨首页| 久久亚洲一区二区三区明星换脸| 一区二区三区欧美视频| 国产精品88888| 91精品一区二区三区在线观看| 中文字幕在线播放不卡一区| 久久成人免费日本黄色| 在线免费不卡电影| 国产精品女主播av| 久久精品999| 欧美日韩美女一区二区| 中文字幕视频一区二区三区久| 美女网站一区二区| 欧美日韩国产精品自在自线| ...xxx性欧美| 国产成人在线影院| 91精品国产一区二区三区蜜臀| 亚洲激情综合网| 成人精品国产一区二区4080| 日韩美女视频在线| 五月婷婷激情综合网| www.亚洲国产| 欧美—级在线免费片| 国产一区二区电影| 欧美不卡一区二区| 午夜精品免费在线观看| 在线观看av一区二区| 国产精品高潮久久久久无| 国产成人av电影在线观看| 精品乱人伦一区二区三区| 日韩成人午夜电影| 欧美视频三区在线播放| 亚洲最大成人综合| 色久综合一二码| 一个色综合av| 欧美色综合久久| 午夜精品福利一区二区蜜股av| 欧美性色综合网| 香蕉加勒比综合久久| 欧美理论片在线| 青椒成人免费视频| 日韩久久精品一区| 国产毛片精品一区| 欧美激情一区在线观看| 成人不卡免费av| 最近日韩中文字幕| 色婷婷久久久综合中文字幕 | 99视频热这里只有精品免费| 国产片一区二区| 91在线精品一区二区三区| 亚洲欧美日韩国产中文在线| 日本精品一区二区三区高清| 亚洲免费观看高清完整版在线 | 久久久不卡影院| av不卡免费在线观看| 亚洲黄色av一区| 欧美日韩免费在线视频| 日本不卡视频在线| 2023国产精品自拍| 成人av在线观| 亚洲国产日产av| 欧美va亚洲va| 成人黄色一级视频| 亚洲一区二区视频在线观看| 91麻豆精品久久久久蜜臀| 国产综合久久久久影院| 中文字幕中文在线不卡住| 欧美亚洲国产bt| 国产一区二区福利视频| 亚洲日本va午夜在线影院| 欧美女孩性生活视频| 国产一区二区美女|