"white flash" when refreshing a document in a frame - why?

  • Thread starter Thread starter Warrick Wilson
  • Start date Start date
W

Warrick Wilson

I've got a frameset that has 3 frames. One of the frames has what amounts to
a Javascript slideshow. It is set up to reload itself every 15 minutes.

What we're noticing is that when the page goes to reload, there's a
momentary flash of white, despite having background colors set to black all
over the place. Some Google searching led me to some other messages of
people having a similar problem, but I didn't find any solutions.

Is this a "just works that way" issue? Or is there something that can be
done to fix it?

Thanks.
 
My guess is that IE repaints the Internet ExplorerServer control before
re-rendering the web document (with your frames on it.) and refreshing it
with the default Window color.

I think that there are 3 things you can try.

1. Set your Windows System Color for the Window to Black. Make sure that IE
is using the Windows Colors option (Tools/Internet Options/Colors). This
will over-ride even the stylesheet styles of a loaded web page.

2. Create a style sheet with a 1 pixel black gif as the background image to
the body of the document. Apply this style sheet to your web documents and
any embedded framed documents.

3. Try setting the visibility property of each of your frames to hidden (
style="visibility:Hidden") before refreshing. You could probably show a
small message while it is refreshing and then show the frames again once it
has completed.
 

jt3 said:

Yes ... I think we've only seen this on XP Service Pack 1 (we haven't put
SP2 on anything yet), but I'm not sure we've tried this on Windows 2000. And
we don't use anything earlier than Win 2K anymore.

I hadn't thought about OS-specific issues...
 
IE Customizer said:
My guess is that IE repaints the Internet ExplorerServer control before
re-rendering the web document (with your frames on it.) and refreshing it
with the default Window color.

I think that there are 3 things you can try.

1. Set your Windows System Color for the Window to Black. Make sure that IE
is using the Windows Colors option (Tools/Internet Options/Colors). This
will over-ride even the stylesheet styles of a loaded web page.

2. Create a style sheet with a 1 pixel black gif as the background image to
the body of the document. Apply this style sheet to your web documents and
any embedded framed documents.

3. Try setting the visibility property of each of your frames to hidden (
style="visibility:Hidden") before refreshing. You could probably show a
small message while it is refreshing and then show the frames again once it
has completed.

Thanks for the suggestions.

I'll pass this on to the guy doing the web page being displayed.

I did some playing around with a very basic frameset and could get the white
flash in IE by pressing Ctrl-F5 to force a full refresh. I started playing
with an automatic reload, but got called into a different "firefighting"
exercise before getting that test finished.
 
Back
Top