Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
763 views
in Technique[技术] by (71.8m points)

asp.net mvc - Link to specific page on Google Document Viewer on iPad

I am thinking of using the Google Document Viewer to show PDF files that are hosted by our company server.

The scenario is:

  1. A webpage will contain a menu with menu items that are actually different pages of a PDF file.
  2. After clicking a menu item, that particular page from the pdf will be displayed on that same web page
  3. This project is targeted for mobile devices (iPad, for now)

Now, I am using an iFrame like below:

    <iframe id="iframe1" width="100%" height="800px" src="http://docs.google.com/viewer?url=http://cb.vu/unixtoolbox.pdf&embedded=true"></iframe>

But I don't know if linking to a specific page is possible or Google would like that because I tried the solutions posted on how to open specific page on Google's docs viewer and http://googlesystem.blogspot.com/2009/11/link-to-page-in-googles-document-viewer.html but all of them seem to be outdated.

Is this even possible? Thanks for any help.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

It is possible by doing something like the following:

http://somepdf.pdf&a=bi&pagenumber=xx

It's strange that it is nowhere documented.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...