33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
<?php
|
|
// Nothing
|
|
?>
|
|
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
|
|
<style type="text/css">
|
|
*html body {
|
|
overflow-y: hidden;
|
|
}
|
|
</style>
|
|
<iframe title="adminFrame" name="adminFrame" id="adminFrame" src ="clientSetup" width="99%" height="768" frameborder="0">
|
|
<p>Your browser does not support iframes.</p>
|
|
</iframe>
|
|
</body>
|
|
<script>
|
|
oClientWinSize = getClientWindowSize();
|
|
if ( document.getElementById('pm_submenu') )
|
|
document.getElementById('pm_submenu').style.display = 'none';
|
|
document.documentElement.style.overflowY = 'hidden';
|
|
|
|
function autoResizeScreen() {
|
|
oCasesFrame = document.getElementById('adminFrame');
|
|
oClientWinSize = getClientWindowSize();
|
|
height = oClientWinSize.height-90;
|
|
oCasesFrame.style.height = height;
|
|
oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('setup-frame');
|
|
|
|
if(oCasesSubFrame)
|
|
oCasesSubFrame.style.height = height-5;
|
|
else
|
|
setTimeout('autoResizeScreen()', 2000);
|
|
}
|
|
</script>
|
|
</html>
|