I would like to create a PdfReader like text scroller in Javascript.
I mean as I click in PDF Document, a handpointer will be shown and by Moving mouse in any direction
the document will be scrolled in that direction if possible.
I want to implement this function on a DIV Contents.
Thanks.
You might be able to do that combining the events
onMouseDownandonMouseMove. So as a users clicks the content of the DIV, you safe the position of the content in the DIV. When the user moves the mouse, you set the position within the DIV. Using “overflow: hidden” for the content, you should get something very close to a PDF viewer behaviour.