[Solved] RTB Template White Flash on Refresh
-
- Posts: 3
- Joined: Fri Jan 16, 2009 12:15 pm
[Solved] RTB Template White Flash on Refresh
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
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.
- Jay
- Will work for food (Administrator)
- Posts: 3022
- Joined: Mon Jan 14, 2002 12:48 am
- Location: Next Door
- Contact:
Re: RTB Template White Flash on Refresh
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
-
- Posts: 3
- Joined: Fri Jan 16, 2009 12:15 pm
Re: RTB Template White Flash on Refresh
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!
- Jay
- Will work for food (Administrator)
- Posts: 3022
- Joined: Mon Jan 14, 2002 12:48 am
- Location: Next Door
- Contact:
Re: RTB Template White Flash on Refresh
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
http://www.captain.at/howto-ajax-process-xml.php
- Jay
-
- Posts: 3
- Joined: Fri Jan 16, 2009 12:15 pm
Re: RTB Template White Flash on Refresh
Never mind, I've fixed what was causing the white flash problems. Thanks anyway!