Scrolling iframe on iPad

Possible duplicate:
IFRAME and Safari on the iPad, how can the user scroll through the content?

I have a page that has something like this code:

<table width="100%">
<tr>
<td>
<iframe src="grid_data.html" width="100%" />
</td>
</tr>
</table>

Now grid_data.html has tabular data for many rows / columns and is part of the main page ...

As long as this grid scrolls horizontally inside the home page in desktop browsers such as IE / FF, I can't make it scroll iPad Safari .. that is, it actually displays the full grid data without any scrollbars.

I tried experimenting with overflow: auto for iframe, but still didn't help.

How do I get grid data (part of iframe) to scroll on iPad?

, http://ipad.atwebpages.com/table/try.html , , , 05/24/2011, 05/23/2011, 05/22/2011, 05/21/2011 .....

+3
3

.

:

, . , iframe 4.2.1 ( ). , Apple . - user357320 7 10:51

+1

, iframes . iframe, .

<table width="100%">
  <tr>
    <td>
      <object id="object" width="100%" type="text/html" data="grid_data.html"></object>
    </td>
  </tr>
</table>
+1

Duplicate question here . The gist should make all the iFrames act the same as on the iPad, and then use the div wrapper to resize and scroll through them. Scrolling a div on an iPad may take some extra code.

0
source

All Articles