如何在不显示Firefox PDF查看器工具栏的情况下将PDF嵌入网页中? [英] How can I embed a PDF in a webpage without showing the Firefox PDF viewer toolbars?

查看:174
本文介绍了如何在不显示Firefox PDF查看器工具栏的情况下将PDF嵌入网页中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不显示Firefox PDF查看器工具栏(以及Chrome浏览器中的工具栏覆盖层)的情况下将PDF嵌入网页中?

How can I embed a PDF in a webpage without showing the Firefox PDF viewer toolbars (and the toolbar overlay in Chrome)?

添加#toolbar=0似乎并不会影响这些观看者.

Adding #toolbar=0 doesn't seem to affect these viewers.

我不想保护PDF,我想使它在网站上看起来更干净/更好.

I don't want to protect the PDF, I want to make it look cleaner/better on the website.

推荐答案

以前曾以不同的方式问过这个问题.
您应该在src ="中尝试类似的操作:

This question was asked before in a different way.
You should try something like this in your src="" :

<embed src="http://URL_TO_PDF.com/pdf.pdf#toolbar=0&navpanes=0&scrollbar=0" width="425" height="425">

以下是参考链接:隐藏嵌入式pdf周围的工具栏吗? /a>

Here is the reference link: Hiding the toolbars surrounding an embedded pdf?

这篇关于如何在不显示Firefox PDF查看器工具栏的情况下将PDF嵌入网页中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆