You are here: Re: Q:How to "drag and drop" jpg's into html and have the code write itself? « HTML « IT news, forums, messages
Re: Q:How to "drag and drop" jpg's into html and have the code write itself?

Posted by Nico Schuyt on 10/11/06 05:28

dorayme wrote:
> "Nico Schuyt" wrote:
>> Toby Inkster wrote:
>>> Nico Schuyt wrote:

>>>> Names are not enough. You need properties like width, height and
>>>> alt too.

>>> Alt text, sure. Width and Height are nice to have if they're not too
>>> much effort to enter, but you can get by without them.

>> Missing height and width result in problems with rendering the
>> site ('jumping'). Missing height and width result in problems with
>> rendering the site ('jumping'). I suppose a browser is able to
>> retreive those properties,

> They don't just guess randomly.

You'r right of course. The browser 'knows' the size after downloading the
page. To avoid jumping the browser has to wait until the page is complete
before showing. Slows down unnecessarily.

> Toby is right, you can 'get by'
> without them, and in some situations it is worth it considering
> the alternative - mountains of boring clerical work. But true, it
> is usually nicer to have them in to avoid the "jumpiness" you
> refer to.

> However, and here is my incisive contribution for the day, one
> can take advantage of this jumpiness and make it a feature. Use
> it to be really cool in some respect or other. Now... please do
> not be greedy and ask for details.

Please give me some details :-)

> Be thankful for the strategic and creative idea.

Disadvantage is that the effect is only shown one time.

--
Nico Schuyt
http://www.nicoschuyt.nl/

 

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

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