Re: text input form resize

Hi,

Sorry for asking the following question if it is not appropriate to this
list. Is it possible to resize the length of the text input display
based on current window width? The size of the text input does not
accept a function, the following initial statement only made one
character length of the text input.

.............
<script language = JavaScript>
function getSize ()
{
    return Math.floor (innerWidth / 20);
}
</script>
<form>
<input type = text size = "getSize ()">
..............

Thank you.

yh

Received on Sunday, 27 February 2000 19:24:01 UTC