You are here: Re: Css and image load times « HTML « IT news, forums, messages
Re: Css and image load times

Posted by Neredbojias on 07/09/07 16:00

Well bust mah britches and call me cheeky, on Mon, 09 Jul 2007 13:56:08
GMT Jukka K. Korpela scribed:

> Scripsit Gin:
>
>> How to load first an image that I'm positioning using css ?
>
> The loading order can be affected in JavaScript, on browsers that have
> scripting enabled. For example, put the following right after the
> <html> tag (so that the code will be executed as early as possible):
>
> <script type="text/javascript">
> if(document.images) {
> img1 = new Image();
> img1.src = "foobar.gif"; }
> </script>

Probably should be: var img1 = new Image();

--
Neredbojias the human

 

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

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