Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a selection at specified scrollHeight

Status
Not open for further replies.

CaptainSensible

Programmer
Jun 27, 2002
7
CH
Hello,
I would like to highlight a paragraph in a page (similar to the result of 3 clicks on a text), and all I know is the scrollHeight of the document where the textrange must be selected. Is this possible???
Thanks in advance.
 
No response?
ok, maybe I'll try to explain another way:
I have a text in a left frame, at a scrollheight and I align a second text from right frame.
if left text current scrollheigth is at 20% of total text, I position right text at 20% of total right text.

Now, I want to highlight the paragraph situated in the middle of the second frame, like 3-clicks on the paragraph.
How can I get this textrange?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top