iPad - 无法在框架内滚动 [英] iPad - cannot scroll inside frame

查看:161
本文介绍了iPad - 无法在框架内滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在iPad Safari中滚动框架内的pdf。

I cannot scroll a pdf called inside a frame in iPad Safari

<frame src="ebook.pdf" title="Content Frame" name="content" id="content" 
frameborder="0" border="0" noresize scrolling="yes" marginwidth="0" marginheight="0" 
noresizescrolling="AUTO" framespacing="0" /> 

我已经尝试过两件事:


  1. 双指滚动

  2. 使用对象/嵌入代替框架

但这不行。

其实我已经尝试了很多东西... overflow,height等等。

In fact I have tried a lot of things...overflow, height, etc..

帮我。提前感谢。

推荐答案

根据本文http://support.apple.com/kb/ht1484 在iPad上使用Safari时,您无法在框架中滚动任何内容。帧总是调整大小以适合其内容(这也适用于iframe)。为此,Safari甚至会忽略在frameset-tag中创建的cols或rows的值,并且似乎使用了所需的任何值。不幸的是,框架不能正确调整PDF的大小,所以他们被切断了。

According to this article http://support.apple.com/kb/ht1484 you cannot scroll anything inside a frame when using Safari on the iPad. The frames always get resized to fit their content (this also applies to iframes). To do this, Safari even dismisses the values for "cols" or "rows" you made in the frameset-tag and seems to use whatever value is needed. Unfortunately, the frame does not resize properly for PDFs so they get cut off.

我认为你最好的选择可能是直接链接pdf ...

I think your best choice might be to link the pdf directly...

这篇关于iPad - 无法在框架内滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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