Solved

Allowing scrolling but no alteration of text.

Posted on 2003-11-27
11
255 Views
Last Modified: 2010-04-09
I have a situation where, depending on who is viewing the page, a multi-line textarea object may be disabled. This also disables the scroll bar, but I would like the scroll bar to still be usable where the textarea contents exceed the size of the textarea object.
0
Comment
Question by:WhiteEagle
  • 5
  • 4
11 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 50 total points
ID: 9832183
Just set the text to read-only:

<form>
<textarea rows="3" name="S1" cols="20" readonly="true">This textarea has a lot of text to make it scroll. This textarea has a lot of text to make it scroll.</textarea>
</form>
0
 

Author Comment

by:WhiteEagle
ID: 9832217
Thnak you
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9832225
Why a grade of C?
0
 

Author Comment

by:WhiteEagle
ID: 9832233
What should it be?
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9832241
If the comment answered your question it should be an A...
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:WhiteEagle
ID: 9832249
I thought it was based on the complexity of the solution, I'm sorry.
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9832270
That's okay - I'll post a request in CS to modify...

Thanks,
seanpowell
0
 

Author Comment

by:WhiteEagle
ID: 9835993
Thats OK. I misunderstood the grading system. It should have been graded as an A
0
 

Expert Comment

by:RomMod
ID: 9838394
Hello, WhiteEagle

I have adjusted the grade accordingly.

RomMod
Community Support Moderator
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9838417
Thanks all... sorry for the extra work.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now