开发者

jQuery Media Plugin doesnt works in firefox4

开发者 https://www.devze.com 2023-03-12 03:15 出处:网络
I had used jquery media plugin to display pdf file in html This is my following codes... <head> <title>New document</title>

I had used jquery media plugin to display pdf file in html

This is my following codes...

<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">
jQuer开发者_开发知识库y(document).ready(function($){
$('a.media').media({width:500, height:400});

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

My html file displays pdf file in all browser except ff4.

Why Firefox4 doesnt display pdf file instead of displaying it throw out pdf file as download file


Do you have the Adobe Reader plugin installed on FF4?

Even so there looks to be a bug http://support.mozilla.com/en-US/questions/803288.

Best test - can you view other pdf files, from other sites in the FF4 browser?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号