diff --git a/queryframe.php b/queryframe.php index ab7461b33..dd18642cf 100644 --- a/queryframe.php +++ b/queryframe.php @@ -49,10 +49,10 @@ $cfgRelation = PMA_getRelationsParam(); - phpMyAdmin - - /> - +phpMyAdmin + + /> + @@ -78,14 +78,58 @@ function open_querywindow(url) { return false; } + +/** + * function resizeRowsLeft() + * added 2004-07-20 by Michael Keck + * - this function checks the complete frameset of + * index.php (parent.frames) + * - gets the offsetHeight of qfcontainer + * - sets a new frameset.rows - definition for the + * frameset 'leftFrameset' in 'index.php' dynamic. + * this script was tested on + * IE 6, Opear 7.53, Netsacpe 7.1 and Firefox 0.9 + * and should work on all other DOM-Browsers and old IE-Browsers. + * It will never work on Netscape smaller Version 6 and IE smaller Version 4. + * Please give me feedback if any browser doesn't work with this script + * mailto:mail@michaelkeck.de?subject=resizeFrames - Browser: [the browser] +**/ + +function resizeRowsLeft() { + if (document.getElementById('qfcontainer')) { // dom browsers + // get the height of the div-element 'qfcontainer' + // we must add 10 (px) for framespacing + newHeight = document.getElementById('qfcontainer').offsetHeight+10; + // check if the frameset exists + // please see index.php and check the frameset-definitions + if (parent.document.getElementById('mainFrameset') && parent.document.getElementById('leftFrameset')) { + parent.document.getElementById('leftFrameset').rows=newHeight+',*'; + } + } else { + if (document.all) { // older ie-browsers + // get the height of the div-element 'qfcontainer' + // we must add 10 (px) for framespacing + newHeight=document.all('qfcontainer').offsetHeight+10; + // check if the frameset exists + // please see index.php and check the frameset-definitions + if (parent.leftFrameset) { + parent.leftFrameset.rows=newHeight+',*'; + } + } + } +} + //--> - +> +
@@ -93,6 +137,7 @@ if ($cfg['LeftDisplayLogo']) { +
phpMyAdmin
@@ -330,15 +375,15 @@ if ($num_dbs > 1) { } // end if LeftFrameLight } // end if num_db > 1 ?> -
+
-
+
- +