Cuando se tiene IE10 con Document Mode 'Standards' la pagina aumenta su tamanio y la pagina no se muestra en su totalidad, no dejando ver la parte final de algunos listados, como el listado de New Case, Inbox, lis dynaforms largos, etc. El problema se daba por un bug con el navegador IE10 con el estilo overflow = hidden, problema solucionado con un hotfix para IE10. Se agrego una validacion en js para que cuando se detecte el Document Mode Standards y el borwser IE10 se setee el overflow-y = scroll, lo que soluciona el problema.
42 lines
1.3 KiB
PHP
Executable File
42 lines
1.3 KiB
PHP
Executable File
<html>
|
|
<style type="text/css">
|
|
.Footer .content {
|
|
padding :0px !important;
|
|
}
|
|
*html body {
|
|
overflow-y: hidden;
|
|
}
|
|
</style>
|
|
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
|
|
<iframe name="casesFrame" id="casesFrame" src ="../cases/main_init<?php echo $_POST['qs'];?>" width="99%" height="768" frameborder="0">
|
|
<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();
|
|
|
|
|
|
if(document.compatMode == 'CSS1Compat' && document.documentMode == '10'){
|
|
document.documentElement.style.overflowY = 'scroll';
|
|
}
|
|
|
|
function autoResizeScreen() {
|
|
oCasesFrame = document.getElementById('casesFrame');
|
|
height = getClientWindowSize().height-90;
|
|
oCasesFrame.style.height = height;
|
|
oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('casesSubFrame');
|
|
if(oCasesSubFrame){
|
|
oCasesSubFrame.style.height = height-5;
|
|
}
|
|
else {
|
|
setTimeout('autoResizeScreen()', 2000);
|
|
}
|
|
|
|
|
|
}
|
|
</script>
|
|
</html> |