1. #1
    Sencha User
    Join Date
    Nov 2007
    Location
    Los Angeles
    Posts
    79
    Vote Rating
    13
    wnielson will become famous soon enough

      5  

    Default Sliding Side Menu

    Sliding Side Menu


    Update

    The most recent version of this plugin can be found on GitHub. For a list of the most recent changes and bug fixes, see the changelog.

    Original Post:

    I've recently started working on a new app using Sencha Touch and wanted to implement a side navigation menu much like in the Facebook mobile app.

    Screen Shot 2012-01-12 at 3.55.59 PM.jpg

    I've managed to create a simple version of it by subclassing Ext.Container and adding in some custom items, like a store to hold the list items and a container to hold the actual content. To access the menu, simply slide (drag) from left to right across the main panel (the reverse action hides it). I'd love to find a way to get slide animations working with the hide/show function of the list, but I'm kind of stumped on how to do that right now. If anyone is interested, I've put what I have online: https://github.com/wnielson/sencha-SlideNavigation. If anyone also has any ideas on adding the animation or improving the code, I'm all ears.

  2. #2
    Sencha User
    Join Date
    Nov 2007
    Location
    Los Angeles
    Posts
    79
    Vote Rating
    13
    wnielson will become famous soon enough

      0  

    Default Stacking containers

    Stacking containers


    I've been playing with this a bit more and have modified it so that the container is draggable now. This more closely emulates the behavior that I'm going for--as you "pull" the main container to the right, the menu below (in the z-plane) and to the left is revealed. However, I'm having problems with "stacking" of containers. I don't see a built-in layout in Sencha Touch that supports stacking one container on top of another in such a way that if the top container is offset, the one below becomes visible. Can anyone give me some tips on how to achieve this?

  3. #3
    Sencha User
    Join Date
    Nov 2007
    Location
    Los Angeles
    Posts
    79
    Vote Rating
    13
    wnielson will become famous soon enough

      2  

    Default Example

    Example


    I've added a live example here for anyone interested. You can access the menu by "flicking" right; if the "flick" is "hard enough", the pannel will slide to the right, fully revealing the menu below. The same action to the left can be used to close it. I'm still working on how to add a bit of a delay to the dragstart event so that the user doesn't accidentally drag the main container while scrolling the content.

  4. #4
    Sencha User
    Join Date
    Apr 2010
    Posts
    2
    Vote Rating
    0
    ddaguro is on a distinguished road

      0  

    Default This is sick!!!

    This is sick!!!


    Great job on this!!! This is very exciting!

  5. #5
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Omaha, NE
    Posts
    555
    Vote Rating
    24
    estesbubba will become famous soon enough estesbubba will become famous soon enough

      0  

    Default


    Excellent work!

  6. #6
    Sencha User
    Join Date
    Aug 2011
    Location
    Cedar Rapids, IA
    Posts
    63
    Vote Rating
    1
    aoathout is on a distinguished road

      0  

    Default


    Very nice! Thanks.

  7. #7
    Sencha Premium Member calmdev's Avatar
    Join Date
    Jan 2012
    Location
    Palm Bay, Florida
    Posts
    11
    Vote Rating
    0
    calmdev is on a distinguished road

      0  

    Default


    Nice work on this

  8. #8
    Touch Premium Member
    Join Date
    Nov 2011
    Posts
    42
    Vote Rating
    0
    atik.kazi is on a distinguished road

      0  

    Default facebook style animation

    facebook style animation


    My requirement is to achieve facebook style animation of homescreen. The animation should happen on tap...
    Its great to see this example working on drag event. How difficult it would be to use a tap event instead of a drag event and get the animation done. When I looked at the code I thought that it is a bit tightly coupled with list. Kindly let me know if anyone has any kind of progress on this ? :-)

  9. #9
    Sencha User tomalex0's Avatar
    Join Date
    Apr 2009
    Location
    San Jose, CA
    Posts
    589
    Vote Rating
    16
    tomalex0 will become famous soon enough

      0  

    Default


    Very well Done
    Sencha Touch Demos

    IosToggleField Forum - Github
    Form Validation
    Forum - Github
    Iphone Settings Menu
    Forum
    Sqlite Storage & Login Manifest
    Forum
    KitchenSink MVC
    Forum - Github
    SqliteProxy-v1 Forum - Github
    SqliteProxy-v2
    Forum - Github
    Arshaw Fullcalendar Forum - Github






  10. #10
    Touch Premium Member
    Join Date
    Nov 2011
    Posts
    42
    Vote Rating
    0
    atik.kazi is on a distinguished road

      0  

    Default facebook style animation

    facebook style animation


    My requirement is to achieve facebook style animation of homescreen. The animation should happen on tap...
    Its great to see this example working on drag event. How difficult it would be to use a tap event instead of a drag event and get the animation done. When I looked at the code I thought that it is a bit tightly coupled with list. Kindly let me know if anyone has any kind of progress on this ? :-)

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