Tom*_*Tom 7 php pdf pdf-generation fancybox
我想知道是否有办法在灯箱中显示pdf,最好是Fancybox.
我有这个页面设置 http://smrtbrand.com/guidance/
如果你点击新出生的购物清单,我将它加载到iframe,但它加载pdf作为我相信的数据.
有任何想法吗?
使用Fancybox iframe
<a href="sample.php">This goes to iframe</a>
Run Code Online (Sandbox Code Playgroud)
并在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>
Run Code Online (Sandbox Code Playgroud)