T
Tojuso
I have a text area that I need to scroll one page at a time until the
end of the document. I have a problem, however. How do I know how
many pages to scroll before I hit the end of the document? HTML will
presumably take care of all the word-wrapping, so it is difficult - if
not impossible - for me to determine the number of rows beforehand.
As far as I can tell, there is no direct way to tell how many rows of
text will be generated by the browser except, perhaps, through use of
trial-and-error. But this is not practical because the text will
change from one day to the next, and I need to deploy this over a lot
of different text articles. So I need a general solution.
Any help and/or suggestion is appreciated! Thanks in advance.
-Dan
end of the document. I have a problem, however. How do I know how
many pages to scroll before I hit the end of the document? HTML will
presumably take care of all the word-wrapping, so it is difficult - if
not impossible - for me to determine the number of rows beforehand.
As far as I can tell, there is no direct way to tell how many rows of
text will be generated by the browser except, perhaps, through use of
trial-and-error. But this is not practical because the text will
change from one day to the next, and I need to deploy this over a lot
of different text articles. So I need a general solution.
Any help and/or suggestion is appreciated! Thanks in advance.
-Dan