Reputation: 50800
I am trying to display a PDF in an iframe..So there are 2 frames and the bottom frame has the pdf. It is coded as;
<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" />
For some reason, I am unable to scroll through the PDF in iPad Safari...More specifically within the iframe..
Is this a PDF issue or is it an iframe issue?
I have tried the using the instead of frame..Still does not work..
Please help. Thank you.
Upvotes: 1
Views: 6206
Reputation: 11
Heres a link to an iframe that doesnt scroll on the ipad:
I have to redesign all my pages in iWeb now since the iPad won't scroll iFrames made with iWeb on my iPad. I get quite a few hits from people using iOS.
Upvotes: 1
Reputation: 129
When you insert the <iframe>
into a <div>
with height specification and set overflow-y
to scroll (maybe auto
i did'nt try) you can scroll using two fingers on iPad. It has no effect on pc browsers.
Upvotes: 1
Reputation: 1
Use (iOS App) Opera Mini browser instead, when clicking on a pdf in Opera Mini it induces Safari to open the PDF in a non-frame mode. Weird I know but it works.
Upvotes: 0
Reputation: 52645
Scrolling within frames is a tricky UX thing with the iPad -- try scrolling with two fingers. I don't know about PDFs, but that's how scrolling is done for other frames in Safari.
Upvotes: 0