Files
luos/workflow/engine/templates/cases/cases_Load.php

39 lines
1.1 KiB
PHP
Raw Normal View History

2010-12-02 23:34:41 +00:00
<html>
<style type="text/css">
.Footer .content {
padding :0px !important;
}
*html body {
overflow-y: hidden;
}
</style>
2010-12-02 23:34:41 +00:00
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
<iframe name="casesFrame" id="casesFrame" src ="../cases/main_init<?php echo $_POST['qs'];?>" width="99%" height="768" frameborder="0">
2010-12-02 23:34:41 +00:00
<p>Your browser does not support iframes.</p>
</iframe>
</body>
<script>
if ( document.getElementById('pm_submenu') )
document.getElementById('pm_submenu').style.display = 'none';
document.documentElement.style.overflowY = 'hidden';
var oClientWinSize = getClientWindowSize();
2010-12-02 23:34:41 +00:00
function autoResizeScreen() {
oCasesFrame = document.getElementById('casesFrame');
height = getClientWindowSize().height-90;
2010-12-02 23:34:41 +00:00
oCasesFrame.style.height = height;
oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('casesSubFrame');
if(oCasesSubFrame){
oCasesSubFrame.style.height = height-5;
}
else {
setTimeout('autoResizeScreen()', 2000);
}
2010-12-02 23:34:41 +00:00
}
</script>
</html>