"Mike Johnson" said:
Is there a way to load the graphics (eg. buttons) in advance before showing
the page.
The problem is as follows
My buttons are wery slowly shown (even though their 3-5k size). I would like
to load a standard button for all of my buttons until they have been
downloaded.
Hi Mike,
Other replies have mentioned script and other issues. Let me ask why your
button image file sizes are so BIG!? My home page has a 242x44 animated GIF
that alternates 2 images, and it is only 2.11K. The largest background image on
the pages in that folder is less than 1K. Most are less than a half K. Are you
using 256 color mode for images with less than 16 colors? There are a number of
graphics/paint programs that can be use to reduce the file size of images
without losing quality. Pages load faster if you include WIDTH and HEIGHT
attributes in the IMG tag. The only time when it might be a bad idea to set the
size of the image, is when the (always included) ALT text will not fit in the
image area. Another thing that can slow down page loading is a TABLE that has
to wait for the entire page to load before it can be sized to fit. Pages
waiting for a script loop to complete can be sluggish sometimes too. And of
course, overloaded ISP servers can be sluggish.
What kind of buttons? If text: Is the point size set to 16 points or more and
bold, for dim-sighted people and low-resolution WebTV displays? Instead of
using images for buttons, it is possible to display simple buttons with one
background color and one text color using BGCOLOR in a TABLE, or using SPAN
with CSS style background. And you can have border colors and designs/effects
with CSS too. The additional advantage with table or span buttons, is that the
text is resizable for people that can't see small text and have their browser
set to "Largest" font size; And the text can change color, depending on the
Link, Visited, Hover, and Active color settings, without using mouseover
commands if you don't change the default link colors with a CSS
style="color
range" or such-like attribute.
Example of non-image text buttons:
Page title = Ancient Refrigerators
http://members.aol.com/RichClark7\pass\wine\anrefrig.htm
Note the 3 buttons at the bottom of that page. An Index button on the left, a
Home button in the middle and a Next button on the right. If you View Source,
you will note that the order of the 3 buttons in the code is 1st, 3rd, 2nd. The
Index and Next buttons are in floating tables using align=left and align=right,
but the home button is not in a table, only using CSS background color and text
color to simulate a button.
The class=Lg is defined in the style sheet as--
..Lg {background: #99ffcc; text-decoration: none; font: bold 10pt Arial;}
(Oops, I need to update the style sheet to 16pt for elderly eyed peeps.
BTW: If PC users want to see a fair approximation of how web pages look to
WebTV viewers, un-Maximize your browser and re-size it so the page display area
is 544x372, and switch your default font display size from medium to Larger or
Largest. Then take some clear plastic, like a cut-open refrigerator food bag
and drape it over the screen to slightly blur the crispness of the text.
(Yeah! Well, maybe it doesn't look quite that bad on on a TV.
There ya go! (Still eating turkey leftovers?
Pilgrims and the Mayflower Compact
http://members.aol.com/RichClark7/pilgrims.htm
Jesus' Birth (and related issues)
http://members.aol.com/RichClark7/read/birth_JC.htm