Reply to Re: background-image

Your name:

Reply:


Posted by Jonathan N. Little on 01/16/07 16:58

Marvin wrote:
> Neredbojias wrote:
>> Sure. You use javascript to get the size of the document or part
>> thereof which you want, then use it further to resize the image to those
>> dimensions. In your case, you would get the table cell size and make
>> the image "fit" to it.
>
> OK, but the document/window is dynamic -- i.e. the user can resize it.
> How do I get the size of the client area of the window? For all
> browsers?
>

Again, JavaScript. You have to trap the OnResize event. Man, I remember
doing this crap in the mid '90s. The result is always sub-par. A URL of
what you are really trying to accomplish would be helpful. Many times a
rethinking of the strategy can benefit the outcome, but that method does
not seem to be in fashion of late! ;-)

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[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

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