how to open specific page on Google's docs viewer

后端 未结 5 528
刺人心
刺人心 2020-12-24 02:49

I\'m using google\'s docs viewer to show a pdf document in a html page and I would like to open the document starting on page 20 instead of 1 for example.

There\'s h

5条回答
  •  无人及你
    2020-12-24 03:51

    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