[Project_owners] appendChild of a iframe into document.body

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


Might want to add that even if I change it to a createElement("DIV") 
then it makes the same flash... Any... Hints?


Foreningen Selvet - Jesper Staun Hansen wrote:
> 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
>
>
>   




More information about the Project_owners mailing list