ice78991
Programmer
- Nov 20, 2006
- 216
I am working on a site which has a black background. When you load a page with a few images on it, the page loads with a white background ( screen stays blank ) then once the images are loaded the background color is changed to black. This results in a white flash for the user. Is there any way to get javascript to change the color of the background first before doing anything else. I've tried putting document.bgcolor='#000000' after the html tag but this has no effect.