PDA

View Full Version : iframe problem. White background on loading



hocco
21 Jul 2009, 09:41 AM
HI everyone,

I'm new to this community but I disparately need help and some answers. I'm working on this page: http://nataimages.com/portfolio.php?section=photography&gallery=travel

1. The problem is the following:
(so there I have portfolio.php - where I call different iframes depending on the menu button i click. Then it preloads the gallery (jCarousel and jQuery combined)

So while the iframe is loading - I see white background on a place of iframe. I tried to specify the background-color of iframe but it doesn't see it.

Is there a way to fix it or oven place loading.gif while iframe is preloading?

2. While I was looking online for a solution I also noticed that iframe is not supported by STRICT HTML which I am using. Lots of people suggest to use object tag but I found that IE 6 and 7 don't support it.

Please any help would be greatly appreciated!