[Project_owners] appendChild of a iframe into document.body

Marco Pivetta ocramius at gmail.com
Sat Aug 11 06:45:32 PDT 2007


try putting the iframe into a div... i do not precisely know how it works,
but in my scripts it does not flash anymore ;)

2007/8/11, Foreningen Selvet - Jesper Staun Hansen <jesper at selvet.dk>:
>
> 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
>



-- 
Standard Ogame Project - http://stogame.lepihost.net
Reprogramming Ogame
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070811/5238c053/attachment.html 


More information about the Project_owners mailing list