Appreciate your help. Here’s a link to one of my draft portfolio pages with a lightroom generated gallery in an iframe. The LR gallery is generated with a black background. I’m still seeing the white div as it loads just for an instant.
Bill
------Original Message------
From: DeltaDave
Sender: email@hidden
To: email@hidden
ReplyTo: email@hidden
Subject: Re: Iframe Color
Sent: Apr 26, 2010 15:22
still seeing some white rendering
Thats why I suggested you to look at the direct link to the Gallery page - not in the iFrame - in case it is evident there as well and a quirk/setting of the Gallery that was causing it. Have you a link you can post?
The problem here are that if the user has JavaScript switched off then
the iframe will never get shown.
The other possible solution (I’ve not had a chance to try this) is
to create the smallest web page you can possibly make (the smaller the
Kb size the better) with a black background. Add to this a meta-
refresh tag so that after 0 seconds the iframe loads the real gallery
page.
Like this;
Now load this into your iframe and hopefully while the gallery loads
the browser will display the black background in this ‘stub’ page.
(The purists amongst us will have noticed that the HTML in my minified
page above doesn’t validate. This is my tradeoff for attempting to
shave a few bytes from the file. the smaller it is the quicker it will
load and the less chance you’ll see the white container of the iframe.)
All the best,
Tim.
On 26 Apr 2010, at 23:34, email@hidden wrote:
David,
Appreciate your help. Here’s a link to one of my draft portfolio
pages with a lightroom generated gallery in an iframe. The LR
gallery is generated with a black background. I’m still seeing the
white div as it loads just for an instant.