Hi everybody !
I have a web page with lots of text box , how can I position the scroll bar equal to the text box ‘s top pos. please see the attachment picture for more details . Now I can :
– get the scroll bar total height– get and set the scroll bar position– calculate the text box’s top position (elem pos in the picture)– calcualte the the browser’s screen height
but I cant figure out the relationship between these factors ? , try lot of calculation between these factors but not seem to work 😡
[url]http://www.webdeveloper.com/forum/attachment.php?attachmentid=7622&stc=1
[upl-file uuid=faa99d70-d09c-4bd5-bac9-abb634a6250d size=28kB]scrollPos.jpg