【问题标题】:PDF reader in html?html中的PDF阅读器?
【发布时间】:2011-05-04 08:30:36
【问题描述】:

我有在线电子书商店。如何创建一个 pdf 阅读器,以便用户可以阅读 5-6 页作为我的电子书的演示或示例。或者有什么方法可以显示我的电子书的 5-10 页。

【问题讨论】:

    标签: php html pdf embed


    【解决方案1】:

    您可以将 iFrame 或其他东西与 Google Docs Viewer 一起使用。

    他们有url instructions,很简单。

    技术文档 - 构建您自己的 URL 的说明 所有查看器 URL 都应使用路径 http://docs.google.com/viewer 。此路径接受两个参数: url :要查看的文档的 URL。这应该是 URL 编码的。 Embedded :如果设置为 true ,查看器将使用嵌入式模式界面。 例如,如果您想在 URL http://labs.google.com/papers/bigtable-osdi06.pdf 查看 PDF,您可以使用 URL:http://docs.google.com/viewer?url =http%3A%2F%2Flabs.google.com%2Fpapers%2Fbigtable-osdi06.pdf

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-10-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-10-29
      • 1970-01-01
      • 2012-07-12
      相关资源
      最近更新 更多