HighDots Forums  

Textarea tag

alt.html.tags alt.html.tags


Discuss Textarea tag in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Luigi Stefano Sona
 
Posts: n/a

Default Textarea tag - 07-14-2003 , 03:46 AM






Hello,
Is it possible to create a "Read-Only " Textarea ?
At the moment I use "this.blur()" to disallow to write in it, but it also
prevents the possibility to copy text from the textarea.

Thanks for help.

Luigi



Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: Textarea tag - 07-14-2003 , 09:29 AM






Luigi Stefano Sona wrote:

Quote:
Is it possible to create a "Read-Only " Textarea ?
Why? What is the point of having an element to allow users to input
multiline data if you then don't allow them to type in to it?

You are probably looking for something along the lines of:

<div style="width: 40em; height: 8em; overflow: scroll; font-family:
monospace; border: outset #aaa 0.5ex;">...</div>


--
David Dorward http://david.us-lot.org/
Redesign in progress: http://stone.thecoreworlds.net/
Microsoft announces IE is dead (so upgrade):
http://minutillo.com/steve/weblog/20...ces-ie-is-dead


Reply With Quote
  #3  
Old   
Luigi Stefano Sona
 
Posts: n/a

Default Re: Textarea tag - 07-15-2003 , 01:39 PM



Thanks,
is this supported also by Netscape ?

Luigi
"David Dorward" <dorward (AT) yahoo (DOT) com> wrote

Quote:
Luigi Stefano Sona wrote:

Is it possible to create a "Read-Only " Textarea ?

Why? What is the point of having an element to allow users to input
multiline data if you then don't allow them to type in to it?

You are probably looking for something along the lines of:

div style="width: 40em; height: 8em; overflow: scroll; font-family:
monospace; border: outset #aaa 0.5ex;">...</div


--
David Dorward http://david.us-lot.org/
Redesign in progress: http://stone.thecoreworlds.net/
Microsoft announces IE is dead (so upgrade):
http://minutillo.com/steve/weblog/20...ces-ie-is-dead



Reply With Quote
  #4  
Old   
Davmagic com
 
Posts: n/a

Default Re: Textarea tag - 07-22-2003 , 06:56 PM



Quote:
From: lsona (AT) cisco (DOT) com
(Luigi*Stefano*Sona)
Hello,
Is it possible to create a "Read-Only "
Textarea ?
Yes here you go:

<textarea name="?" cols="?" rows="?" readonly="readonly">Put your
message here</textarea>

Or if you are not using xHTML:

<textarea name="?" cols="?" rows="?" readonly>Put your message
here</textarea>


Web Design-Magic-Painting-Junking-Games
INFO 2000 For You
http://www.davmagic.com
See how your webpages look on a MSN-TV Browser:
Download it here: http://developer.msntv.com/Tools/msntvvwr.asp



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.