1. #11
    Ext JS Premium Member
    Join Date
    Jul 2010
    Posts
    234
    Vote Rating
    1
    DaveC426913 is on a distinguished road

      0  

    Default


    Quote Originally Posted by nosarious View Post
    Try using some of the sample Event provided in this post. Decipher how it works and troubleshoot yours.

    http://www.sencha.com/forum/showthre...-carousel-card.
    Troubleshooting completed. evant is using v0.93, a beta version.

  2. #12
    Ext User
    Join Date
    Jul 2010
    Location
    Calgary, Alberta
    Posts
    186
    Vote Rating
    1
    nosarious is on a distinguished road

      0  

    Default


    well, yeah. Everyone is using a beta version. Thats kind of obvious.

  3. #13
    Sencha User
    Join Date
    Mar 2011
    Posts
    94
    Vote Rating
    0
    KPChow is on a distinguished road

      0  

    Default


    Hi guys,

    Besides having buttons that target to specific pages from the carousel, how would one go about it to have a next and previous button which can control the flow of the pages?

    K

  4. #14
    Sencha User
    Join Date
    Sep 2011
    Posts
    1
    Vote Rating
    0
    champagnewebs is on a distinguished road

      0  

    Default Evant's Simple example, updated to work with the current version of Sencha Touch

    Evant's Simple example, updated to work with the current version of Sencha Touch


    Ext.setup({
    tabletStartupScreen: 'tablet_startup.png',
    phoneStartupScreen: 'phone_startup.png',
    icon: 'icon.png',
    glossOnIcon: false,
    onReady: function() {
    // Create a Carousel of Items
    var carousel = new Ext.Carousel({
    indicator: false,
    listeners: {
    afterrender: function(c){
    c.body.on('click', function(e, t){
    if(Ext.fly(t).hasCls('last')){
    c.setActiveItem(2, {type:'slide',direction:'right'});
    }else{
    c.setActiveItem(0, {type:'slide',direction:'left'});
    }
    }, c, {delegate: 'a.move'});
    }
    },
    defaults: {
    cls: 'card'
    },
    items: [{
    html: '<a class="move last" href="#">Go to last</a>'
    },
    {
    title: 'Tab 2',
    html: '2'
    },
    {
    title: 'Tab 3',
    html: '<a class="move first" href="#">Go to first</a>'
    }]
    });

    new Ext.Panel({
    fullscreen: true,
    layout: {
    type: 'vbox',
    align: 'stretch'
    },
    defaults: {
    flex: 1
    },
    items: [carousel]
    });
    }
    });

Similar Threads

  1. !Question about Carousel in Carousel...
    By yCD in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 31 Jul 2010, 9:51 AM
  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. Making toolbar buttons look like regular buttons
    By Britace in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 19 Nov 2009, 7:26 PM
  4. Issues with Buttons & MessageBox Buttons in AIR
    By Juvs in forum Ext.air for Adobe AIR
    Replies: 0
    Last Post: 25 Sep 2008, 7:34 AM

Thread Participants: 6

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