WebApp: Embedding a PDF
Hello! I don't have a apple dev's account to access the dev forum.
I have a question about developing web pages for the iPad.
If I wish to embed a PDF file, should I use the <object> tag?
Right now I have:
<object data="pdftest.pdf" type="application/pdf" width="100%" height="100%">alt : test.pdf</object>
My problems are:
• that the object doesn't grow as high as the PDF
• the PDF doesn't grow to the full width of the object element
How do I get the height of the PDF so I can set the height of object to other than 100%?
How do I force the width of the PDF?
Kind regards
/Adrian vG
I have a question about developing web pages for the iPad.
If I wish to embed a PDF file, should I use the <object> tag?
Right now I have:
<object data="pdftest.pdf" type="application/pdf" width="100%" height="100%">alt : test.pdf</object>
My problems are:
• that the object doesn't grow as high as the PDF
• the PDF doesn't grow to the full width of the object element
How do I get the height of the PDF so I can set the height of object to other than 100%?
How do I force the width of the PDF?
Kind regards
/Adrian vG
MacBook Pro 17", Mac OS X (10.5.7), 2.5 GHz