我正在使用YoxView并想要一个pdf文件全屏打开,不知道如何做到这一点

时间:2013-04-20 16:56:02

标签: portfolio yoxview

我正在使用此代码:

<a href='#pdf_test'>
    <img src="pdf_thumbnail.jpg" alt="PDF" />
</a>

<div id="pdf_test" title="Document's name" style='display:none; width: 850px; height:     1100px;'>
    <object data="test.pdf" type="application/pdf" width="100%" height="100%">
        <a href="test.pdf">test.pdf</a>
    </object>
</div>

如何让PDF全屏显示? www.nicholashopp.com/portfolio它是第四广场。

1 个答案:

答案 0 :(得分:0)

我认为我的答案为时已晚,但您应将allowInternalLinks设为true

try:
$(".yoxview").yoxview({
      allowInternalLinks:true
});

请参阅: http://www.yoxigen.com/yoxview/usage.aspx#options item:内联元素和其他媒体类型

祝你好运 丹