1. #1
    Ext User
    Join Date
    Jun 2010
    Posts
    2
    Vote Rating
    0
    precupflorin is on a distinguished road

      0  

    Default Load pdf files

    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.
    Thanks!

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    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
    Ext User
    Join Date
    Jun 2010
    Posts
    2
    Vote Rating
    0
    precupflorin is on a distinguished road

      0  

    Default


    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
    Posts
    2
    Vote Rating
    0
    mizaelm is on a distinguished road

      0  

    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 = demos.search, searchTpl = panel.searchTpl;
    panel.update('');
    panel.setLoading(true, true);
    console.log(panel);
    panel.update('<iframe src="http://docs.google.com/gview?url='+url+'&embedded=true" style="width:100%; height:100%;" frameborder="0"></iframe>');


    or Iphone

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

    });
    visorpdf.show();

  5. #5
    Sencha User
    Join Date
    Nov 2011
    Posts
    4
    Vote Rating
    0
    funkyboy is on a distinguished road

      0  

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

    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 User
    Join Date
    Jun 2009
    Posts
    14
    Vote Rating
    0
    weazil is on a distinguished road

      0  

    Default


    heres how i got it working
    Code:
     <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

Thread Participants: 4

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar