It sounds like you want the PDF inside of an HTML page with iUI 
navigation above it, right?

You could try putting the PDF in an <iframe>  but I'm not sure how well 
that will work with Mobile Safari.  If you want to pursue the iframe 
route, I'd suggest starting with the simplest possible html page with an 
iframe.  Use target="_self" when linking to this page.   It could have a 
single link at the top which links back to your main iUI webapp (page)  
Once you have that working you could wrap the page with an iUI look.  To 
repeat, I'm not sure how well this will work with Mobile Safari, but you 
could give it a try.

-- Sean



Ben Marchbanks 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
>>
>>
>>
>>
>>
>>   
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to