[Solved] RTB Template White Flash on Refresh

Ask questions, request features, or just complement us about our software and services.
Post Reply
ScienceOfThePS3
Posts: 3
Joined: Fri Jan 16, 2009 12:15 pm

[Solved] RTB Template White Flash on Refresh

Post by ScienceOfThePS3 »

I'm trying to make a template to embed on a website and that automatically refreshes every 20 seconds. The only problem is that when the template automatically refreshes, the page background goes white for about 2 seconds. Is there any way to prevent that so it's a smooth transition without that annoying white flash?

Here is the template that I'm working on:
http://www.mattscss.com/rtb/template
Last edited by ScienceOfThePS3 on Tue Jan 20, 2009 7:47 pm, edited 1 time in total.
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: RTB Template White Flash on Refresh

Post by Jay »

You'll need to use AJax to avoid that. Just have the template upload an xml document and use AJax to update the proper areas of the html display.
- Jay
ScienceOfThePS3
Posts: 3
Joined: Fri Jan 16, 2009 12:15 pm

Re: RTB Template White Flash on Refresh

Post by ScienceOfThePS3 »

Ok, uh...can you point me in in the right direction on how to do that? Sorry, but I've haven't used AJax too much before. The exact code to use or somthing would be helpful. Thanks in advance!
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: RTB Template White Flash on Refresh

Post by Jay »

I don't really have any examples of exact code but here is an example of how Ajax works.

http://www.captain.at/howto-ajax-process-xml.php
- Jay
ScienceOfThePS3
Posts: 3
Joined: Fri Jan 16, 2009 12:15 pm

Re: RTB Template White Flash on Refresh

Post by ScienceOfThePS3 »

Never mind, I've fixed what was causing the white flash problems. Thanks anyway!
Post Reply