[英]Display PDF in Fancybox or other lightbox
我想知道是否有辦法在燈箱中顯示pdf,最好是Fancybox。
我有這個頁面設置http://smrtbrand.com/guidance/
如果你點擊新出生的購物清單,我將它加載到iframe,但它加載pdf作為我相信的數據。
有任何想法嗎?
使用Fancybox iframe
<a href="sample.php">This goes to iframe</a>
並在sample.php中使用Google Document Viewer
<iframe src="http://docs.google.com/gview? url=http://smrtbrand.com/pdfs/SMRT.newbaby.chcklst.pdf&embedded=true"
style="width:600px; height:500px;" frameborder="0"></iframe>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.