|
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
Navigation:
[Reply to this message]
|