Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/437.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 删除谷歌文档查看器中的背景色_Javascript_Jquery_Zend Framework2_Google Docs - Fatal编程技术网

Javascript 删除谷歌文档查看器中的背景色

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

我使用谷歌文档查看器在我的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>

js小提琴:

请帮帮我


提前感谢,

是否可能重复@NooBskie感谢您的回复,但该链接对我不起作用我已经检查了解决方案,因为我正在iframe中显示pdf,我不知道css类如何添加到iframe中,可能是来自google方面。。