Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    303
    Vote Rating
    3
    steve1964 is on a distinguished road

      0  

    Default Embed a PDF in Panel

    Embed a PDF in Panel


    The following html display a multiply page pdf on mobile safari and it works (scroll and zoom):
    Code:
    <!DOCTYPE html>
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">    
        <title>PDF</title>
    </head>
    <body>
    <object data="corriere.pdf" type="application/pdf" width="100%" height="20000px"></object>
    </body>
    </html>
    I've tried a lot of combination within the html tag of a panel (iframe, embed, object), but the results it's always the same, only a portion of the 1 page is displayed.

    The code that i used is a code provided by Evant:

    Code:
    Ext.setup({
        icon: 'icon.png',
        tabletStartupScreen: 'tablet_startup.png',
        phoneStartupScreen: 'phone_startup.png',
        glossOnIcon: false,
        onReady: function() {
            
            new Ext.Panel({
                fullscreen: true,
                html: '<iframe src="a.pdf"></iframe>',
                listeners: {
                    resize: function(c, w, h){
                        c.body.child('iframe').setSize(w, h);
                    }
                }
            });
        }
    });
    Anyone as solution?

    Thanks

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Location
    United States
    Posts
    2
    Vote Rating
    0
    cgutjahr is on a distinguished road

      0  

    Default Answer

    Answer


    Hello,

    Has anyone been able to get this to work?

Similar Threads

  1. Replies: 3
    Last Post: 26 Jan 2012, 3:48 AM
  2. zoom a PDF in a Panel on an Ipad
    By torsten.t in forum Sencha Touch 1.x: Discussion
    Replies: 9
    Last Post: 3 Nov 2010, 6:08 AM
  3. Embed PDFs within a Ext.Panel (.pdb)
    By RandyMcMillan in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 0
    Last Post: 17 Aug 2010, 6:16 PM
  4. Can I embed a Form Panel inside a Window?
    By mrkadakia in forum Ext 3.x: Help & Discussion
    Replies: 20
    Last Post: 3 Aug 2009, 5:52 AM
  5. How do I embed a panel inside a tab?
    By ultrus in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 31 Dec 2007, 10:57 AM

Thread Participants: 1