Ben, that's the best that I could come up with too, but as I thought you would like to stay in the iUI. As suggested an iframe is probably the easiest way to do it, don't know if you could force the PDF to sit inside of a div.
On Wed, May 13, 2009 at 5:35 AM, Ben Marchbanks <[email protected]> wrote: > Here is the sample of what's happening > > If I link to the PDF with target="_self" this works but not my ideal. > As it leaves the iui. > > http://www.magazooms.com/labs/iphone/index.php?pubID=ER_8 > > --------------------------- > > ** > This link keeps it all together but you see the PDF as raw text > > http://www.magazooms.com/labs/iphone/indexDev.php?pubID=ER_8 > > Suppose the PDF needs to be embedded to stay in the iui...... > > > Ben > > Hmm. Could it be a mime type problem? I've never linked to a PDF from > iUI, but I wouldn't expect it to open as text if the mime type was > correct. Could you post a simple example that demonstrates the problem > to a test URL? (You could use samples/minimal/minimal.html in iUI 0.20 > as a starting point) > > > > > If I open a new window the PDF is fine but then I loose the nice UI..... > > > Don't you lose the nice UI anyways because the PDF will open in the full > window? > > > > -- Sean > > > > > > > > > > > -- Derek Williams Cell: 970.214.8928 Home Office: 970.416.8996 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
