1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    34
    Answers
    3
    Vote Rating
    2
    deliriousrhino is on a distinguished road

      0  

    Default Unanswered: Make a component invisible to touch events

    Unanswered: Make a component invisible to touch events


    I am placing a logo over the top of a carousel and I would like the logo to appear to be invisible to the touch events. So when you swipe over the logo the carousel receives the touch events.

    I have the items set up like this
    items: [{
    xtype: 'component',
    cls:'logo',
    height:130,
    width:130,
    top:30,
    left:15
    },
    {
    xtype: 'carousel',
    layout: 'fit',


    height: 200,
    items: [{
    xtype: 'appImage',
    height: 200,
    imagePath: 'resources/images/example-image2.jpg'
    }, {
    xtype: 'appImage',
    height: 200,
    imagePath: 'resources/images/example-image2.jpg'
    }, {
    xtype: 'appImage',
    height: 200,
    imagePath: 'resources/images/example-image2.jpg'
    }]
    }

  2. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    99
    jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice

      0  

    Default


    So you want the logo to overlay the content on the carousel? Sort of like a watermark or something? You may be able to disable it or change the z-index. I think if the logo is above (higher z-index) the carousel then the carousel probably won't respond to the DOM swipe events in the area of the logo, because the carousel is below the logo (lower z-index).

    This is a longshot, but you can try listening for the DOM swipe event on the logo. When that event fires, stop the event, and you could try switching the target element from the logo to the carousel then continue the event.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi