querywindow.js

来自「phpMyAdmin图形界面化操作,我已经配置好了,只要把解要压缩后的文件放到站」· JavaScript 代码 · 共 43 行

JS
43
字号
function PMA_queryAutoCommit(){    document.getElementById('sqlqueryform').target = window.opener.frame_content.name;    document.getElementById('sqlqueryform').submit();    return;}function PMA_querywindowCommit(tab){    document.getElementById('hiddenqueryform').querydisplay_tab.value = tab;    document.getElementById('hiddenqueryform').submit();    return false;}function PMA_querywindowSetFocus(){    document.getElementById('sqlquery').focus();}function PMA_querywindowResize(){    // for Gecko    if (typeof(self.sizeToContent) == 'function') {        self.sizeToContent();        //self.scrollbars.visible = false;        // give some more space ... to prevent 'fli(pp/ck)ing'        self.resizeBy(10, 50);        return;    }    // for IE, Opera    if (document.getElementById && typeof(document.getElementById('querywindowcontainer')) != 'undefined') {        // get content size        var newWidth  = document.getElementById('querywindowcontainer').offsetWidth;        var newHeight = document.getElementById('querywindowcontainer').offsetHeight;        // set size to contentsize        // plus some offset for scrollbars, borders, statusbar, menus ...        self.resizeTo(newWidth + 45, newHeight + 75);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?