Dear Thom Parker,
I know i am taking your time and this involves a lot of geometry..
i experimented with this "scroll" function line for various x and y values. I know the page dimensions using the getpageBox properties.
this.scroll(0, 792 - (2 * 72));
but this not behaving as expected as it is not moving in x or y direction for some values.
How do i get the screen view dimension using javascript. i tried "crop" properties but doesn't seem to be helping.
In that particular line of code, the x coord is 0, which scrolls to the left edge of the page.
Perhaps a better way to think of it is that you are not scrolling (or moving ) the page, but you are moving the viewport over the page. To see this in action, open the "page navigation" panel on the left side of the Acrobat window. The viewport is drawn over the thumbnail for the current page. As you zoom and scroll you can see the viewport change size and move.
Also keep in mind that the viewport will not scroll beyond it's limits. If the zoom is set to show the full page, then scrolling isn't possible. Scrolling only works when zoomed in enough to allow room for the viewport to move.
You'll be able to see how this works by observering the viewport in the page navigation window.