Iframe Color

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.

http://billmccarroll.com/portfolio/hdr.html

Bill

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?

Glad it is better anyway.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sent from my Verizon Wireless BlackBerry


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Bill - what is the ID of the iFrame Div for that page?

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Gee, I’ll have to check when I get home and can get into FW…give me an
hour or so!

Bill

On Mon, Apr 26, 2010 at 4:05 PM, DeltaDave email@hidden wrote:

Bill - what is the ID of the iFrame Div for that page?

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


Bill McCarroll
Website: http://billmccarroll.com
Twitter: http://twitter.com/billmccarroll


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Gee, I’ll have to check when I get home and can get into FW…give me an hour or so!

No need I see it is item3 - just checking that the bg color was applied properly.

Might be worth trying background-color:#000000

No idea if it will make any difference.

Just check something else will you Bill - unrelated.

There is a graphic http://billmccarroll.com/gallery/hdr/resources/misc/shadow.png which doesn’t display. Is it OK your end?

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Bill,
There are two things I can think you can do to get this to work
although they are both hacks;

  1. Use CSS to hide the iframe and then show it using JavaScript when
    the content has fully loaded.
    For example;
    http://www.freewayactions.com/test/bill-mccarroll/

The problem here are that if the user has JavaScript switched off then
the iframe will never get shown.

  1. 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;
<html><head><meta http-equiv="refresh" content="0;url=http://billmccarroll.com/gallery/hdr/ 
" /><style type="text/css"><!-- body { margin:0px; background- 
color:#000; } --></style></head><body></body></html>

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.

http://billmccarroll.com/portfolio/hdr.html

Bill

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options