PDA

View Full Version : Get a flash of white want to get rid of it


Greg
11-14-2002, 08:32 AM
From my homepage to a second page I get a quick flash of white
in the upper left corner...I have looked and looked my code over
even comparing it with a page that does not have the problem
can not figured it out all I did was change the bgcolor from
white to "#009999"

Click on WHO WE ARE.....this page has the flash
also click on TROOP INFO ...it has the flash....but
click on ACTIVITIES and A SCOUT KNOWS .....and
there is no flash of white

I think the flash is flashing an outline of my applet any suggestions on how to stop it from flashing?

http://www16.brinkster.com/troop230/troop230.html


thanks all

DCElliott
11-14-2002, 08:45 AM
Doesn't happen when I browse the page. I have DSL and *bang* the page is there.

Depending on your computer speed and other factors, there may be a hesitation in the rendering of the page which means an area may be taking a moment to be "painted" One thing you should always do is specify height and width for <img>s so that the browser can set aside the window space even before the graphic arrives.

BTW - neat link buttons along the center graphic - who taught you that trick? :p

Also, Greg, I notice that not all your graphics are the same size. You should resize them all to the exact size of the cell you are using to display them. This is for two reasons: 1) You will have a more uniform display and avoid having yellow borders on some, 2) You are forcing some of the larger pictures to display at a smaller size. However, the user still has to download the full sized image. Imagine if you had a 1024x768px image that you were displaying at the 330x280px cell size. You'd be downloading 8 times the picture information needed for the display.

Greg
11-14-2002, 09:05 AM
Thanks DC,

I thought I had lost my mind.....about that white flash
and thanks for showing me that code for my homepage:D

The pictures I used with the yellow borders, I did those about
a year ago and was trying something but your right they do not
look good when they come up on the homepage!