|Download books (for free)|
How to open specific page on Google's docs viewer https://stackoverflow.com/questions/9193144/how-to-open-specific-page-on-googles-docs-viewer
I found a solution I'll post here just in case somebody is in the same situation.
Every page inside google's docs viewer iframe has an id like :0.page.X, being X the number of the page. Calling the service like this
<iframe id="iframe1" src="http://docs.google.com/gview?url=http://yourpdf&embedded=true#:0.page.20"> won't work (maybe because the pages ids are not yet created when the page is rendered?)
So you just have to add an onload attribute to the iframe:
Note that page indices are zero-based. If you want to view the 20th page of a document in the viewer, you would need use the parameter