2013-10-12 31 views
-1

我有客戶需求在瀏覽器中打開PDF格式的圖書格式。如果我向左滾動,它應該顯示出書的效果。在瀏覽器中打開PDF作爲圖書

有沒有可用的庫?

此外它應該有縮放和搜索功能。

我試過谷歌搜索,但沒有奏效。

+0

你有checkd http://mozilla.github.io/pdf.js/? –

+0

@Sindersindersh:在看[this](http://mozilla.github.io/pdf.js/web/viewer.html)鏈接後,我看到頁面在彼此之下...我清楚地說明了問題,我想要它作爲書...水平滾動只... –

回答

2

您可以嘗試像使用谷歌文檔中內嵌的PDF閱讀器,只需要設置你的PDF網址

<iframe src="http://docs.google.com/gview?url=http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/en//intl/en/landing/conversion/conversionsfordummies.pdf&embedded=true" 
style="width:600px; height:500px;" frameborder="0"></iframe> 

DEMO

還以爲是無法正常預定像laytout,但有垂直/水平兩個導航可用

+0

我不能滾動,如果我拖動頁面... –

+0

看到我的答案...這就是我正在尋找... –

相關問題