Reply to Re: preload img

Your name:

Reply:


Posted by Barbara de Zoete on 09/27/00 11:41

On Fri, 03 Mar 2006 18:34:42 +0100, David Dorward <dorward@gmail.com>
wrote:

> Barbara de Zoete wrote:
>> > I'm trying to preload image for a better user experience but it
>> doesn't
>> > work
>
>> Put your images in a div right at the beginning of the body of your
>> page,
>> like so:
>
> The trouble with this is that it causes the browser (assuming it
> doesn't go "Oh, not being displayed, I don't bother loading them at
> all") to put those images at the top of the list to load. So the images
> which you want to get ready for when you need them are loaded before
> all the other images in the page - which you need sooner.

If used for small images, like background images for menu's, this is
hardly noticable.

> Additionally, they will be displayed if the user doesn't have CSS
> available and turned on.

Which happens, how often? Yes, it does happen, but to me, that is of
little concern. If styles are switched off, user expects visually odd
pages, or s/he can expect them to render a bit differently then author
intended.

> Precaching is best done with JavaScript.

If javascript is nog switched on? Is that more likely that no css with
graphical browsers, or less? See, that 'best done with JavaScript' is
surely just in your opinion?

--
______PretLetters:
| weblog | http://www.pretletters.net/weblog/weblog.html |
| webontwerp | http://www.pretletters.net/html/webontwerp.html |
|zweefvliegen | http://www.pretletters.net/html/vliegen.html |

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация