Solved

Allowing scrolling but no alteration of text.

Posted on 2003-11-27
11
254 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

708 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

12 Experts available now in Live!

Get 1:1 Help Now