Hola
Mas o menos es esta parte
Código javascript
:
Ver originalvar ieNOTopera=document.all&&navigator.userAgent.indexOf("Opera")==-1
function iecompattest() {
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
var window_height = ieNOTopera? iecompattest().clientHeight : window.innerHeight;
var window_width = ieNOTopera? iecompattest().clientWidth : window.innerWidth;
if (document.Element || document.body){
var cabecera_height = document.getElementById('contenido').scrollHeight;
var pie_height = document.getElementById('pie').scrollHeight;
var cabecera_width = document.getElementById('contenido').scrollWidth;
} else {
var cabecera_height = document.getElementById('contenido').clientHeight;
var pie_height = document.getElementById('pie').clientHeight;
var cabecera_width = document.getElementById('contenido').clientWidth;
}
var total_Height = parseInt(cabecera_height) + parseInt(pie_height);
if (total_Height < window_height) {
document.getElementById('veocine').style.height= window_height;
}
else
{
document.getElementById('veocine').style.height=total_Height;
}
if (ancho_video < cabecera_width) {
document.getElementById('veocine').style.width=window_width;
}
else
{
document.getElementById('veocine').style.width=parseInt(ancho_video)+20;
}
}
Suerte