I have 21 lines in a textarea visible and there are over a thousand lines in it. If my script finds something for the user in line 520, is there a way to set the scrollbar so only lines 510-530 are initially visible?
I have 21 lines in a textarea visible and there are over a thousand lines in it. If my script finds something for the user in line 520, is there a way to set the scrollbar so only lines 510-530 are initially visible?
TIA
AFAIK this is not possible.
However, why not just display the lines of interest to the user rather than all 1000?
If you know where they are, why not just display those of interest?
I was hoping to avoid that and let the user see the lines before or after as needed. The thought just came to me I could open a new window, highlight a line, and scroll to it. Will need to experiment on that one first though.
Bookmarks