Results 1 to 6 of 6

Thread: Load pdf files

  1. #1

    Default Load pdf files

    With Sencha Touch i can use pdf files?I want make a catalog interactif in Html5 and i must use PDF files,for IPhone and IPad.

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    The Netherlands


    Can you actually view .pdf files from within the iPhone/iPad browser?

    I know I can't from my Android phone (Android 1.6 doesn't even have a pdf viewer - I had to upgrade to 2.1 to get it).

  3. #3


    Yes i can view the pdf files.I know that Android doesn`t support pdf files,but Iphone could load pdf files within browser;I doesn`t know if i HTML5 and Sencha Touch could help me implement pdf files.

  4. #4
    Sencha User
    Join Date
    Feb 2011

    Thumbs up

    Hi I did use google docs and doing quite well, but I have a problem with the pdf iphone folds down infinitely guess it's css, but works perfectly ipad and android

    var panel =, searchTpl = panel.searchTpl;
    panel.setLoading(true, true);
    panel.update('<iframe src="'+url+'&embedded=true" style="width:100%; height:100%;" frameborder="0"></iframe>');

    or Iphone

    if(pos!=-1 &&{
    var visorpdf = new Ext.Panel({
    floating: true,
    modal: true,
    centered: true,
    width: '100%',
    height: '100%',
    styleHtmlContent: false,
    scroll: 'vertical',
    html:'<iframe src="'+url+'&embedded=true" style="width:100%; height:100%;" frameborder="0"></iframe>',
    dockedItems: [{
    dock: 'top',
    xtype: 'toolbar',
    text: 'cerrar',
    handler: function() {


  5. #5
    Sencha User
    Join Date
    Nov 2011

    Default On which version of andoid did you make it work?

    I tried on 2.2 and 2.3 and it keeps scrolling.

  6. #6
    Sencha Premium User
    Join Date
    Jun 2009


    heres how i got it working
     <iframe height="625" width="390" scrolling="no" src="'+google_url+'" style="border:none;"></iframe>
    Quote Originally Posted by funkyboy View Post
    I tried on 2.2 and 2.3 and it keeps scrolling.

Similar Threads

  1. showing pdf/jpg(media files) in an Iframe?
    By chrizmaster in forum Ext 2.x: Help & Discussion
    Replies: 20
    Last Post: 9 Mar 2011, 11:35 PM
  2. Firefox: Displaying PDF files in Tabs
    By Enygma in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 25 Nov 2008, 2:50 AM
  3. How to add a panel to read pdf files?
    By jacky.qj in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 16 Nov 2007, 3:41 PM
  4. load pdf, doc, xsl, ppt with Ext
    By mxu in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 16 Nov 2007, 3:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts