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. #11
    Sencha User
    Join Date
    Apr 2009
    Posts
    2
    Vote Rating
    0
    lachi is on a distinguished road

      0  

    Default prevent carousel swipe event

    prevent carousel swipe event


    my solution to prevent swipe:
    Code:
    MyCarousel = Ext.extend(Ext.Carousel, {
        ...
        afterRender: function() {
            MyCarousel.superclass.afterRender.call(this);
            this.mon(this.el,{
                touchstart: function(ev) {
                    var t = ev.getTarget('.noscroll-class');
                    if (t) {
                        this.preventScroll = true;
                    } else {
                        this.preventScroll = false;
                    }
                },
                scope: this
            }
        },
        onScroll: function(e) {
            if (this.preventScroll) return;
            MyCarousel.superclass.onScroll.call(this,e);
        },
        onScrollEnd: function(e, t) {
            if (this.preventScroll) return;
            MyCarousel.superclass.onScrollEnd.call(this,e,t);
        }
        ...
    });

  2. #12
    Sencha User
    Join Date
    Jul 2013
    Posts
    2
    Vote Rating
    0
    JordiMundo is on a distinguished road

      0  

    Default


    Hi, this solution has worked nice and easy for me:

    Code:
    Ext.getCmp('categories_list').onDragStart= function(e){               
             return;                
    }

Similar Threads

  1. Video in Carousel
    By ludm in forum Sencha Touch 1.x: Discussion
    Replies: 7
    Last Post: 30 Mar 2011, 1:11 PM
  2. [OPEN] [FIXED-110] Carousel indicator breaks down after changing carousel content.
    By Mphasize in forum Sencha Touch 1.x: Bugs
    Replies: 6
    Last Post: 1 Jul 2010, 11:41 AM
  3. Vertical Carousel
    By simon.betton in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 24 Jun 2010, 11:10 AM
  4. Carousel on Android
    By VinylFox in forum Sencha Touch 1.x: Bugs
    Replies: 3
    Last Post: 21 Jun 2010, 2:05 PM
  5. Carousel
    By doron447 in forum Ext: Q&A
    Replies: 8
    Last Post: 9 Jul 2009, 1:25 AM

Thread Participants: 5

Tags for this Thread