[Project_owners] appendChild of a iframe into document.body

eric.jung at yahoo.com eric.jung at yahoo.com
Sat Aug 11 06:53:39 PDT 2007


Did you try preventing about:blank from loading in the IFRAME with the code I pointed you to yesterday?

----- Original Message ----
From: Foreningen Selvet - Jesper Staun Hansen <jesper at selvet.dk>
To: Project Owners <project_owners at mozdev.org>
Sent: Saturday, August 11, 2007 9:36:35 AM
Subject: [Project_owners] appendChild of a iframe into document.body

Hellow

appendChild of a iframe into document.body
Like this: document.body.appendChild(iframe) created by this:

      var iframe = document.createElement("IFRAME");
      iframe.setAttribute("style", 
"visibility:hidden;position:absolute;top:0px;left:0px;width:0px;height:0px;border-style:none;border-width:0px;display:none;");
      document.body.appendChild(iframe);

This will make the window flash white for a sec every time it is ran. 
Its quiet annoying, anyone know how this is solved?


Greets.

_______________________________________________
Project_owners mailing list
Project_owners at mozdev.org
http://mozdev.org/mailman/listinfo/project_owners




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070811/30cf838f/attachment.html 


More information about the Project_owners mailing list