Results 1 to 3 of 3

Thread: Make a panel slide on top of a carousel

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    16
    Answers
    2
    Vote Rating
    0
      0  

    Default Make a panel slide on top of a carousel

    Hi
    I have a panel with a carousel at the top, and a panel representing the content at the item at the bottom.
    How can I smartest make so that panel at the bottom, can be swiped up above the carousel.
    Here are some test code.
    Hope the question is understood
    PHP Code:
    Ext.define('App.view.Test', {    
        
    extend'Ext.Panel',   
        
    config: {       
           
    fullscreen:true,
           
    layout:'vbox',
           
    items: [{
               
    xtype'carousel',            
               
    config:{                
                    
    height:170,                
                    
    flex:1
                
    },            
               
    indicatorfalse,        
          },
            {
                
    xtype'panel'
               
    config: { 
                   
    flex:1
                   
    scrollabletrue,
                }
            }]
        }
    }); 

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    what do you mean make the panel be swiped up above the carousel?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    16
    Answers
    2
    Vote Rating
    0
      0  

    Default

    Sorry if I was not clear enough.

    Simply what I mean is that i want do drag the entire panel up on top of the slider to see the whole content of it.
    Then if I drag the content down again, I can slide with the carousel to load new content.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •