1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    37
    Vote Rating
    1
    chot2 is on a distinguished road

      0  

    Default Unanswered: iframe scroll along with panel scroll

    Unanswered: iframe scroll along with panel scroll


    Hello all ,

    I am having a iframe inside a panel as carausel item. When i do the normal scroll(dragging scroll bar ) it works fine before-scroll.jpg.




    But when i do touch scroll, I don't get the scroll happen in the similar way. iframe's content does't get scrolled .








    after-scroll.jpg

    PHP Code:
    Ext.define('Burst.view.home.ViewHome', {    extend 'Ext.Carousel',    alias 'home.ViewMain',    requires: [        'Ext.carousel.Carousel',        'Ext.Img'    ],          id'viewHome',
        
    config : {        title 'Home',        iconCls 'maps',        xtype:'carousel',        fullscreentrue,        direction'horizontal',        scrollable: {            direction'vertical',            directionLocktrue        },        defaults: {                styleHtmlContenttrue        },
                    ,{                
    xtype:'panel',                scroll:'vertical',                layout:'fit',                cls 'carouselBG',                html'<iframe style="position:fixed;top:0;left:0;float:left;z-index:1;" width="100%" height="100%" src="http://www.burst.it/terms-body.html"></iframe>'
            

    How i can i get my panel scroll work in a way so that, when i scroll down even my iframe content gets scrolled.
    Attached Images

  2. #2
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    691
    Vote Rating
    12
    Answers
    21
    mrsunshine will become famous soon enough

      0  

    Default


    scrolling with two fingers should work in the iframe.

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2011
    Location
    Dundas, Ontario, Canada
    Posts
    82
    Vote Rating
    -4
    rgporter can only hope to improve

      0  

    Default


    Quote Originally Posted by mrsunshine View Post
    scrolling with two fingers should work in the iframe.
    While true, most users don't know to do this.

    I'm also seeking a solution.

  4. #4
    Sencha User
    Join Date
    Nov 2011
    Posts
    37
    Vote Rating
    1
    chot2 is on a distinguished road

      0  

    Default


    mrsunshine


    can you please let us know an alternative solution for this .

  5. #5
    Sencha User
    Join Date
    Nov 2011
    Posts
    37
    Vote Rating
    1
    chot2 is on a distinguished road

      0  

    Default


    any help

  6. #6
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    691
    Vote Rating
    12
    Answers
    21
    mrsunshine will become famous soon enough

      0  

    Default


    there is no ready to use solution for your problem.

    what you have to do is to write a managed iframe componente which takes care of all your needed eventhandling

Thread Participants: 2