You are here: Re: Question, need expert help pre-loading images properly (IE + FireFox), thank you :) « HTML « IT news, forums, messages
Re: Question, need expert help pre-loading images properly (IE + FireFox), thank you :)

Posted by SAM on 10/27/07 16:49

Peter Michaux a écrit :
>
> I'm rewriting some old preload code to try to reduce server
> connections. For some reason, after the window.onload event, each use
> of the following code
>
> var img = new Image();
> img.src = someUrl;
>
> causes a new connection to the server (Apache). Because many (~100)
> images now need to be preloaded, this is causing Apache grief.

And post-writing css rules (or post-writing a call to a *.css) for this
100 images as backrground of the same transparent image opened in the page ?
(probably they won't appear in order)

--
SM

 

Navigation:

[Reply to this 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

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