In fact I managed to open the PDF file. But when I try in the same way to open a .doc file, I have an alert saying "Safari cannot download this file". But, when I put this file on a file storage site (www.box.net), Safari manages to open it...
That's crazy ! On 15 mai, 08:50, Pierre <[email protected]> wrote: > ok. Here's my code : > > <?xml version="1.0" encoding="iso-8859-1"?> > <!DOcTYPe html PUBLIc "-//W3c//DTD XhTML 1.0 Transitional//eN" > "http://www.w3.org/Tr/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <title>efluid</title> > <meta name="viewport" content="width=device-width; initial-scale=1.0; > maximum-scale=1.0; user-scalable=0;"/> > <style type="text/css" media="screen">@import "iui.css";</style> > <style type="text/css" media="screen">@import "onglets.css";</style> > <style type="text/css" media="screen">@import "cui.css";</style> > <script type="application/x-javascript" src="iui/iui.patched.js"></ > script> > </head> > <body style="background:#C3D6E8"> > <link rel="apple-touch-icon" href="apple-touch-icon.png"/> > <!-- Barre d'outils iUI --> > <div class="toolbar" style="border-bottom:none"> > <h1 id="pageTitle"></h1> > <div align="right" style="margin-top:-10px"></div> > <a id="backButton" class="button" href="#"></a> </div> > <!-- Menus --> > <ul id="home" title=" " selected="true"> > <li style="background-color:#C3D6E8"><a href="facture.html">PDF</a></ > li> > > </ul> > </body> > </html> > > On the HTML page linked there's just : > > <?xml version="1.0" encoding="iso-8859-1"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <title>Facture</title> > <meta http-equiv="Content-Type" content="application/pdf; > charset=iso-8859-1" /> > </head> > > <body> > <div> > <object type="application/pdf" data="facture.pdf" width="500" > height="650"></object> > </div> > </body> > </html> > > And the pdf file is just the iphone user guide. I changed just his > name by naming it "facture.pdf" > > The results is : only a part of the pdf is loaded. > > On 14 mai, 16:15, ade <[email protected]> wrote: > > > Pierre wrote: > > > My project is not online yet and the contents are private, this is for > > > my company, i cannot show it to you sorry. > > > a suggestion: just download any small pdf from the net (typical would be > > say a digi camera manual etc), make a copy of the iui file and subsitute > > the url - strip out any sensitive information and upload the code > > exactly as is now but without the sensitive info > > > -- > > ade > > ........................................................................................... > > >www.ibizaA-Z.comwww.iphoneibiza.comwww.podcast-ibiza.comwww.ishopibiz... > > Ibiza NOW - The Islands Magazine --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
