Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/08/2011, 08:58
Avatar de Nano_
Nano_
 
Fecha de Ingreso: febrero-2006
Ubicación: Bogotá, Colombia
Mensajes: 1.866
Antigüedad: 18 años, 2 meses
Puntos: 96
Respuesta: Firefox 6 & Iframes

Saludos

Logre solucionar el inconveniente de la siguiente manera:
1. En el archivo ubicado en *modules\mod_wrapper\tmpl\default.php
2. Buscar function iFrameHeight()

ANTES

Código Javascript:
Ver original
  1. <script language="javascript" type="text/javascript">
  2. function iFrameHeight() {
  3.  var h = 0;
  4. if (!document.all ) { h = document.getElementById('blockrandom').contentDocument.height;
  5. if (h == 0){ h=545;
  6. } document.getElementById('blockrandom').style.height = h + 20 + 'px';
  7. } else if( document.all ) { h = document.frames('blockrandom').document.body.scrollHeight;
  8. document.all.blockrandom.style.height = h + 20 + 'px';
  9. } }
  10. </script>

DESPUES

Código PHP:
Ver original
  1. function iFrameHeight() {
  2. var f = document . getElementById('blockrandom');
  3. f.style.height = '100px';
  4. var d = (f . contentWindow . document || f . contentDocument);
  5. h = Math . max(d . body . offsetHeight, d . body . scrollHeight);
  6. h += (document . all) ? 60 : 20;
  7. f.style.height = h + 'px';
  8. f . setAttribute("height", h);
  9. }
__________________
:.:Nano.:: @nano_hard - Retornando al foro