【问题标题】:jQuery Media Plugin doesnt works in firefox4jQuery Media 插件在 firefox4 中不起作用
【发布时间】:2011-06-09 07:19:06
【问题描述】:

我曾使用 jquery 媒体插件在 html 中显示 pdf 文件

这是我的以下代码...

<head>
    <title>New document</title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<script language="javascript" src="js/jquery.js"></script>
<script language="javascript" src="js/jquery_media.js"></script>
<script language="javascript">
jQuery(document).ready(function($){
$('a.media').media({width:500, height:400});

});
</script>
</head>
<body>
<a class="media" href="check_pdf.pdf">PDF File</a>
</body>

我的 html 文件在除 ff4 之外的所有浏览器中显示 pdf 文件。

为什么 Firefox4 不显示 pdf 文件而不是显示它而将 pdf 文件作为下载文件丢弃

【问题讨论】:

    标签: jquery jquery-plugins firefox4


    【解决方案1】:

    你在 FF4 上安装了 Adob​​e Reader 插件吗?

    即便如此,http://support.mozilla.com/en-US/questions/803288 似乎还是存在错误。

    最佳测试 - 你能在 FF4 浏览器中查看其他网站的其他 pdf 文件吗?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-10
      • 2011-08-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多