[Javascript] textarea properties
Chris Harrison
chrisharrison.com.au at gmail.com
Tue Apr 12 23:03:04 CDT 2005
I've tested just now on Gecko & IE and seems OK (as in I get the expected
functionality).
On 4/13/05, Peter Brunone <peter at brunone.com> wrote:
> Duh. Guess I could have read the *regular* properties instead of getting
> so bogged down in style settings...
> Is that compatible with Mozilla and older/fringe browsers as well? I
> would think that would be a standard, but I could be wrong.
>
> -----Original Message-----
> *From:* javascript-bounces at LaTech.edu *On Behalf Of *Chris Harrison
> I found the wrap proerty which stops soft wrapping (but allows hard
> wrapping, CR's, etc)
> <textarea wrap=off>...
> Chris.
>
> On 4/13/05, Peter Brunone <peter at brunone.com> wrote:
> >
> > The alternative would be for the textarea to get longer and longer and
> > longer as you type more text without a CR...? Or would it be for it to
> > scroll?
> > I don't know of a way to make the textarea do either, except of course
> > to keep a record of the width of the element and every time you press a key,
> > see if the current line is longer than the textarea and if so, make the
> > textarea wider by the width of one character... The derivation is left as an
> > exercise for the reader :-D
> >
> > -----Original Message-----
> > *From:* javascript-bounces at LaTech.edu [mailto:
> > javascript-bounces at LaTech.edu] *On Behalf Of *Chris Harrison
> > ok, what about the fact that a <textarea> wraps text by default, is
> > there a way to make it not do that - for both Mozilla and IE?
> > Chris.
> > On 4/13/05, Troy III Ajnej < trojani2000 at hotmail.com> wrote:
> > >
> > > We have allready discussed this matter few years ago. Off course the
> > > SPAN is
> > > in all imaginable ways, far more preferable and more suitable.
> > >
> > > >From: "Peter Brunone" <peter at brunone.com>
> > > >
> > > > I've heard several people mention using an iframe, but my own
> > > >preference is a span tag. Does anyone know why one or the other would
> > > >be better?
> > > >
> > > >-----Original Message-----
> > > >From: javascript-bounces at LaTech.edu
> > > >[mailto: javascript-bounces at LaTech.edu] On Behalf Of Allard
> > > Schripsema
> > > >
> > > >
> > > >You can imitate that behaviour using for example an iframe and a
> > > >document (contenteditable to make user think it´s a textarea) in it.
> > > >Check out online email editors and to see how it works
> > > >Allard
> > > >-----Mensagem original-----
> > > >De: javascript-bounces at LaTech.edu
> > > >[mailto:javascript-bounces at LaTech.edu ]Em nome de judah
> > > >
> > > >
> > > >afaik it's not possible. otherwise there wouldn't be things like this
> > > >http://xinha.python-hosting.com/
> > > >best
> > > >judah
> > > >
> > > >Chris Harrison wrote:
> > > >
> > > >Hi,
> > > >
> > > >Is it possible to bolded & italice certain letters, phrases, etc in a
> > > >regular textarea?
> > > >
> > > >Thanks,
> > > >
> > > >Chris
> > > >
> > > >
> > > >
> > > >_______________________________________________
> > > >Javascript mailing list
> > > > Javascript at LaTech.edu
> > > > https://lists.LaTech.edu/mailman/listinfo/javascript<https://lists.latech.edu/mailman/listinfo/javascript>
> > >
> > > _________________________________________________________________
> > > Express yourself instantly with MSN Messenger! Download today it's
> > > FREE!
> > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > >
> > > _______________________________________________
> > > Javascript mailing list
> > > Javascript at LaTech.edu
> > > https://lists.LaTech.edu/mailman/listinfo/javascript<https://lists.latech.edu/mailman/listinfo/javascript>
> > >
> >
> >
> >
> > --
> > Dont let people drive you crazy when you know its in walking distance.
> > http://chrisharrison.com.au
> >
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > https://lists.LaTech.edu/mailman/listinfo/javascript<https://lists.latech.edu/mailman/listinfo/javascript>
> >
> >
> >
>
>
> --
> Dont let people drive you crazy when you know its in walking distance.
> http://chrisharrison.com.au
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript<https://lists.latech.edu/mailman/listinfo/javascript>
>
>
>
--
Dont let people drive you crazy when you know its in walking distance.
http://chrisharrison.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20050413/98b713cc/attachment.htm>
More information about the Javascript
mailing list