[Project_owners] appendChild of a iframe into document.body
eric.jung at yahoo.com
eric.jung at yahoo.com
Sat Aug 11 07:42:25 PDT 2007
Try asking in irc://irc.mozilla.org/ #extdev
----- Original Message ----
From: Foreningen Selvet - Jesper Staun Hansen <jesper at selvet.dk>
To: Mozdev Project Owners List <project_owners at mozdev.org>
Sent: Saturday, August 11, 2007 9:58:29 AM
Subject: Re: [Project_owners] appendChild of a iframe into document.body
Yea, and it works like a charm, expect from the flash part.
Perhaps I should throw this: iframe.contentWindow.location.href =
location.href;
before appendChild?
eric.jung at yahoo.com wrote:
> 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
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
_______________________________________________
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/8f93fd1c/attachment.html
More information about the Project_owners
mailing list