【发布时间】:2011-05-24 00:34:49
【问题描述】:
您好,我想知道是否有办法在灯箱中显示 pdf,最好是 Fancybox。
我已经设置了这个页面 http://smrtbrand.com/guidance/
如果您单击新出生的购物清单,我会将其加载到 iframe 中,但我相信它会将 pdf 作为数据加载。
有什么想法吗?
【问题讨论】:
标签: php pdf pdf-generation fancybox
您好,我想知道是否有办法在灯箱中显示 pdf,最好是 Fancybox。
我已经设置了这个页面 http://smrtbrand.com/guidance/
如果您单击新出生的购物清单,我会将其加载到 iframe 中,但我相信它会将 pdf 作为数据加载。
有什么想法吗?
【问题讨论】:
标签: php pdf pdf-generation fancybox
使用 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>
【讨论】: