Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/04/2004, 07:25
Avatar de tunait
tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 23 años, 6 meses
Puntos: 381
No referencies a un documento con getElementById, hazlo como si de un frame normal se tratara. Dale un name="editor" a tu iframe y pídele las cosas así



var div = editor.document.createElement("div");
div.style.width = "100px";
div.style.backgroundColor = "#FFCC00";
editor.body.appendChild(div);