Javascript 删除谷歌文档查看器中的背景色
我使用谷歌文档查看器在我的zf2网站上显示pdf,但在Iframe中显示pdf时,它会自动显示灰色背景 有没有办法去掉背景呢 HTML代码:Javascript 删除谷歌文档查看器中的背景色,javascript,jquery,zend-framework2,google-docs,Javascript,Jquery,Zend Framework2,Google Docs,我使用谷歌文档查看器在我的zf2网站上显示pdf,但在Iframe中显示pdf时,它会自动显示灰色背景 有没有办法去掉背景呢 HTML代码: <iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Fsamplepdf.com%2Fsample.pdf&embedded=true" width="400" height="780" style="border: none;"></iframe> j
<iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Fsamplepdf.com%2Fsample.pdf&embedded=true" width="400" height="780" style="border: none;"></iframe>
js小提琴:
请帮帮我
提前感谢,是否可能重复@NooBskie感谢您的回复,但该链接对我不起作用我已经检查了解决方案,因为我正在iframe中显示pdf,我不知道css类如何添加到iframe中,可能是来自google方面。。