[Project_owners] appendChild of a iframe into document.body

Foreningen Selvet - Jesper Staun Hansen jesper at selvet.dk
Sat Aug 11 06:36:35 PDT 2007


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.



More information about the Project_owners mailing list