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

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

?? general.js

?? cms是開源的框架
?? JS
字號:
/*
 * File   : $Source: /usr/local/cvs/opencms/modules/org.opencms.workplace.administration/resources/system/workplace/resources/admin/javascript/general.js,v $
 * Date   : $Date: 2006/03/27 14:53:04 $
 * Version: $Revision: 1.14 $
 *
 * This library is part of OpenCms -
 * the Open Source Content Mananagement System
 *
 * Copyright (C) 2005 Alkacon Software GmbH (http://www.alkacon.com)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * For further information about Alkacon Software GmbH, please see the
 * company website: http://www.alkacon.com
 *
 * For further information about OpenCms, please see the
 * project website: http://www.opencms.org
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

/*
 * Returns the current documents height.
 */
function pHeight () {
  var h;
  var test1 = document.body.scrollHeight;
  var test2 = document.body.offsetHeight;
  if (test1 > test2) {// all but Explorer Mac
    h = test1;
  } else {// Explorer Mac;
     //would also work in Explorer 6 Strict, Mozilla and Safari
    h = test2;
  }
  return h;
}

/*
 * Returns the current documents width.
 */
function pWidth() {
  var w;
  var test1 = document.body.scrollWidth;
  var test2 = document.body.offsetWidth;
  if (test1 > test2) {// all but Explorer Mac
    w = test1;
  } else {// Explorer Mac;
     //would also work in Explorer 6 Strict, Mozilla and Safari
    w = test2;
  }
  return w;
}

/*
 * Returns the current windows height.
 */
function wHeight() {
  var h;
  if (self.innerHeight) {// all except Explorer
    h = self.innerHeight;
  } else if (document.documentElement && document.documentElement.clientHeight) {
    // Explorer 6 Strict Mode
    h = document.documentElement.clientHeight;
  } else if (document.body) { // other Explorers
    h = document.body.clientHeight;
  } else {
    h = 0;
  }
  return h;
}

/*
 * Returns the current windows width.
 */
function wWidth() {
  var w;
  if (self.innerWidth) {// all except Explorer
    w = self.innerWidth;
  } else if (document.documentElement && document.documentElement.clientWidth) {
    // Explorer 6 Strict Mode
    w = document.documentElement.clientWidth;
  } else if (document.body) { // other Explorers
    w = document.body.clientWidth;
  } else {
    w = 0;
  }
  return w;
}

/*
 * Returns the form that contains the control with the given id.
 */
function getFormForId(id) {
  return document.getElementById(id).form;
}

/*
 * Opens a new page in the right frame.
 * It also shows the loading screen during loading
 */
function openPage(url) {
    var target = isFramed() ? parent.admin_content : this;
    if (!isFramed()) {
       if (parent.parent && parent.parent.admin_content) {
           target = parent.parent.admin_content;
       }
    }
    openPageIn(url, target);
}

/*
 * Opens a new page in the given target frame.
 * It also shows the loading screen during loading
 */
function openPageIn(url, target) {
    loadingOn();
    target.location.href = url;
}

/*
 * Sets the current displayed context help.
 * It only works if framed.
 */
function setContextHelp(contextHelp) {
    if (parent && parent.admin_menu && parent.admin_menu.setInternalContextHelp) {
        parent.admin_menu.setInternalContextHelp(contextHelp);
    } else if (parent && parent.parent && parent.parent.admin_menu && parent.parent.admin_menu.setInternalContextHelp) {
        parent.parent.admin_menu.setInternalContextHelp(contextHelp);
    }
}

/*
 * Sets the default context help.
 * It only works if framed.
 */
function setContext(defaultContext) {
    if (defaultContext) {
        parent.defContextHelp = defaultContext;
    }
    setContextHelp();
}

/*
 * Returns the default context help.
 * It only works if framed.
 */
function getContext() {
    if (parent && parent.defContextHelp) {
      return parent.defContextHelp;
    } else if (this.defContextHelp) {
      return this.defContextHelp;
    }
    return "";
}

/*
 * Sets the active item in the menu frame.
 * It only works if framed.
 */
function setActiveItemByName(name) {
    if (parent && parent.admin_menu && parent.admin_menu.setActiveItem) {
        parent.admin_menu.setActiveItem(name);
    } else if (parent && parent.parent && parent.parent.admin_menu && parent.parent.admin_menu.setActiveItem) {
        parent.parent.admin_menu.setActiveItem(name);
    }
}

/*
 * Shows the context help.
 * If framed, it will be shown in the menu frame;
 * if not, as a help ballon.
 * The obj_id argument should be the id of a div tag,
 * which contains the help text.
 */
function sMH(obj_id) {
   var t = false;
   if (parent && parent.parent && parent.parent.admin_content) {
     t = true;
   }
   if (!isFramed() && !t) {
     showHelp(obj_id);
   } else {
     var context = obj_id;
     var writezone = document.getElementById('help' + obj_id);
     if (writezone) {
       context = writezone.firstChild.nodeValue;
     }
     setContextHelp(context);
   }
}

/*
 * Hides the context help.
 * If framed, it will be shown in the menu frame;
 * if not, as a help ballon.
 * The obj_id argument should be the id of a div tag,
 * which contains the help text.
 */
function hMH(obj_id) {
   var t = false;
   if (parent && parent.parent && parent.parent.admin_content) {
     t = true;
   }
   if (!isFramed() && !t) {
     hideHelp(obj_id);
   } else {
     setContextHelp('');
   }
}

/*
 * Shows the context help when having one helptext for several buttons.
 * If framed, it will be shown in the menu frame;
 * if not, as a help ballon.
 * The obj_id argument should be the id of a div tag, where the ballon while be displayed.
 * The help_id argument should be the id of a div tag, which contains the help text.
 */
function sMHS(obj_id, help_id) {
   var t = false;
   if (parent && parent.parent && parent.parent.admin_content) {
     t = true;
   }
   if (!isFramed() && !t) {
     showHelpX(obj_id, help_id);
   } else {
     var context = obj_id;
     var writezone = document.getElementById('help' + help_id);
     if (writezone) {
       context = writezone.firstChild.nodeValue;
     }
     setContextHelp(context);
   }
}

/*
 * This method is called everytime a new page is being loaded.
 * That is at unload, submit and links actions.
 * First it overlap a image so you will feel the page 
 * is disabled, and then it disables every combobox 
 * on the page.
 */
function loadingOn(target) {
    if (undefined == target || target == '') {
        // set default target
        target = this;
    }
    if (undefined == target.disabledControls) {
        // create a new array of disabled controls
        target.disabledControls = new Array();
    } else if (target.disabledControls.length > 0) {
        // if already disabled returns, should never happen
        return true;
    }

    // display an overlapped "disabled" image
    target.document.getElementById("loaderContainer").style.display = "";

    // disable the combo boxes
    var comboArray = target.document.getElementsByTagName("select");
    for (var i = 0; i < comboArray.length; i++) {
        comboArray[i].disabled = true;
        disabledControls.pop(comboArray[i]);
        var combo = target.document.createElement("input");
        combo.type = "hidden";
        combo.name = comboArray[i].name;
        var values = new Array();
        for (var n = 0; n < comboArray[i].length; n++) {
            if (comboArray[i][n].selected) {
                values[values.length] = comboArray[i][n].value;
            }
        }
        combo.value = values.join(",");
        comboArray[i].parentNode.insertBefore(combo, comboArray[i]);
    }

    return true;
}

/*
 * This method is called everytime a new page is ready to be used.
 * That is at body.onload event.
 * First it removes the overlapped "disabled" image, and then it 
 * enables every combobox on the page.
 */
function loadingOff(target) {
    if (undefined == target || target == '') {
        // set default target
        target = this;
    }

    // hide the overlapped "disabled" image
    target.document.getElementById("loaderContainer").style.display = "none";

    if (undefined == target.disabledControls) {
        // if nothing to enable
        return true;
    }

    // enable the combo boxes
    while (disabledControls.legth > 0) {
        var combo = disabledControls.push();
        combo.disabled = false;

        var comboArray = target.document.getElementsByName(combo.name);
        for (var n = 0; n < comboArray.length; n++) {
            if ("hidden" == comboArray[n].type)
                comboArray[n].parent.removeChild(comboArray[n]);
        }
    }
    return true;
}

/*
 * Submits a form, showing the loading screen during loading.
 */
function submitForm(theForm) {
    loadingOn();
    theForm.submit();
    return true;
}

/*
 * Checks is we are working in the admin-view framed environment.
 */
function isFramed() {
    return parent && parent.admin_content && parent.admin_menu;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷精品大在线视频| 欧美精品一区在线观看| 精品国产人成亚洲区| 亚洲柠檬福利资源导航| 国产在线一区观看| 欧美日韩视频在线观看一区二区三区 | 99热99精品| 欧美xxxxxxxx| 亚洲成人你懂的| 菠萝蜜视频在线观看一区| 精品少妇一区二区三区在线播放| 亚洲男人天堂av网| 99久久综合色| 欧美国产日韩亚洲一区| 精品一区二区在线观看| 欧美精品1区2区| 亚洲综合激情网| 色吧成人激情小说| 国产精品久久99| 粉嫩一区二区三区性色av| 日韩精品一区二区三区视频播放| 亚洲成av人片在线| 欧美性生活久久| 樱花影视一区二区| 在线观看不卡一区| 尤物在线观看一区| 欧美四级电影网| 亚洲超碰精品一区二区| 欧美少妇性性性| 五月婷婷综合激情| 欧美一区二视频| 男人操女人的视频在线观看欧美| 欧美一区二区视频在线观看| 日韩高清一区在线| 日韩一级免费一区| 国产一区二区三区在线看麻豆| 精品日韩成人av| 国产一区二区精品久久| 国产欧美日韩麻豆91| 成人av网站在线观看免费| 综合自拍亚洲综合图不卡区| 一本色道综合亚洲| 亚洲第一精品在线| 日韩视频中午一区| 国产精品一区二区男女羞羞无遮挡| 日韩精品专区在线影院重磅| 国产电影精品久久禁18| 国产精品毛片久久久久久久| 91年精品国产| 午夜精品免费在线| 精品国产乱码久久久久久牛牛| 国产剧情一区在线| 亚洲三级在线观看| 5858s免费视频成人| 韩国三级中文字幕hd久久精品| 亚洲国产成人午夜在线一区| 色噜噜狠狠成人中文综合| 亚洲午夜日本在线观看| 精品粉嫩aⅴ一区二区三区四区 | 久久综合九色综合欧美亚洲| 国产成人综合在线观看| 亚洲精品乱码久久久久久黑人| 欧美日韩国产片| 国产美女久久久久| 亚洲一本大道在线| 精品电影一区二区三区| 91偷拍与自偷拍精品| 日本在线播放一区二区三区| 国产精品久久久久永久免费观看 | 在线观看欧美精品| 精品中文字幕一区二区小辣椒 | 国产欧美视频一区二区三区| 欧美亚洲禁片免费| 国产一区免费电影| 亚洲一区二区美女| 久久精品一区二区三区不卡牛牛 | 99精品在线观看视频| 亚洲成精国产精品女| 欧美国产精品v| 欧美精品在线观看播放| av中文字幕在线不卡| 裸体在线国模精品偷拍| 亚洲免费色视频| 国产性色一区二区| 91麻豆精品国产91| 色88888久久久久久影院野外 | 国产网站一区二区| 欧美一卡二卡在线| 欧美写真视频网站| 91同城在线观看| 高清国产一区二区| 九九视频精品免费| 美日韩一区二区三区| 亚洲高清视频的网址| 最新欧美精品一区二区三区| 2020国产成人综合网| 欧美一区二区三区四区久久| 欧美午夜精品久久久| 99久久精品国产网站| 成人午夜激情影院| 国产一区二区三区蝌蚪| 久久99国内精品| 日本成人在线一区| 亚洲国产精品久久不卡毛片| 伊人婷婷欧美激情| 亚洲日本va在线观看| 中文字幕一区二区三区在线不卡| 久久久久久久久岛国免费| 日韩精品一区二区三区三区免费| 久久精品网站免费观看| 日韩精品一区二区三区蜜臀| 日韩丝袜情趣美女图片| 91精品国产乱码久久蜜臀| 欧美日韩一区国产| 在线成人小视频| 制服丝袜国产精品| 日韩一二三区不卡| 欧美r级电影在线观看| 日韩欧美激情一区| 精品国产精品网麻豆系列| 精品日韩欧美一区二区| 欧美精品一区二区三区高清aⅴ | 亚洲精选免费视频| 一区二区三区四区中文字幕| 一区二区三区日韩| 亚洲综合免费观看高清完整版| 亚洲午夜一区二区| 日韩av电影天堂| 国产自产高清不卡| 成人久久18免费网站麻豆| 91网站在线播放| 在线不卡一区二区| 亚洲精品一区二区三区香蕉| 日本一区二区久久| 亚洲综合色自拍一区| 免费欧美在线视频| 高清国产一区二区三区| 在线亚洲高清视频| 精品久久久三级丝袜| 中文字幕在线一区免费| 亚洲图片欧美色图| 国产在线一区二区| 色综合网站在线| 欧美电影影音先锋| 国产精品午夜免费| 香蕉成人啪国产精品视频综合网| 麻豆精品一区二区三区| 不卡一区二区三区四区| 6080国产精品一区二区| 国产日韩精品视频一区| 亚洲一二三四区| 韩国精品主播一区二区在线观看| 91免费在线视频观看| 日韩视频一区二区在线观看| 中文字幕一区在线观看| 蜜桃在线一区二区三区| 波多野结衣一区二区三区| 亚洲蜜臀av乱码久久精品| 免费在线欧美视频| 97国产精品videossex| 精品免费视频.| 亚洲一区中文在线| 成人免费视频视频| 日韩欧美你懂的| 一区二区三区在线免费播放| 国内精品久久久久影院色| 色综合久久综合网97色综合| 久久久精品综合| 日本va欧美va精品| 欧洲在线/亚洲| 中文字幕久久午夜不卡| 激情都市一区二区| 欧美区视频在线观看| 国产精品国产自产拍在线| 韩国一区二区视频| 日韩天堂在线观看| 日韩经典中文字幕一区| 色婷婷狠狠综合| 亚洲色图清纯唯美| 成人av网站大全| 日本一区免费视频| 国产揄拍国内精品对白| 精品日韩欧美在线| 青青草成人在线观看| 欧美日韩一区二区三区视频 | 日日夜夜一区二区| 欧美在线免费观看亚洲| 综合久久久久久| av欧美精品.com| 中文字幕免费不卡| 国产成+人+日韩+欧美+亚洲| 欧美成人video| 久久se精品一区精品二区| 在线观看91av| 欧美日韩激情一区二区三区| 亚洲人精品午夜| 不卡的av电影| 亚洲免费视频中文字幕| 91国产丝袜在线播放| 亚洲国产日韩一区二区|