
29/02/2012, 15:21
|
| | Fecha de Ingreso: octubre-2003 Ubicación: La Paz - Bolivia
Mensajes: 116
Antigüedad: 21 años, 7 meses Puntos: 1 | |
Javascript + Iframe + Internet Explorer Hola amigos del foro una consulta estoy creando un iframe en una pagina con javascript, el codigo es el sig:
ifm = document.getElementById('DIV');
_if = document.createElement('iframe');
_if.id = "iframe_1";
ifm.appendChild(_if);
_if.setAttribute('frameborder','0');
_if.setAttribute('style','border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none;');
_if.setAttribute('height',h);
_if.setAttribute('width',w);
_if.setAttribute('scrolling','no');
_if.setAttribute('src', 'http://www.pagina.com');
el problema es con internet explorer que no respeta el stylo de style (sin bordes), o frameborder='0' o poniendole border=0 nada sigue con creando con los bordes feos, alguna solucion...
De antemano muchas gracias..
Atte Gustavo
__________________ "El viento puede soplar fuerte, pero la montaña no lo reverencia" |