Results 1 to 5 of 5

Thread: Dynamic accordion menu change

  1. #1
    Ext User
    Join Date
    Aug 2007
    Posts
    8
    Vote Rating
    0
      0  

    Default Dynamic accordion menu change

    Hi jsakalos,

    I really like the accordion you have created, bravo.

    I'm trying to implement dynamic load of different accordion menu. Do you know a way of doing that?

    Here's the context, I have a top horizontal menu with a 4 different category.

    I'm using the Ext. Complexe Layout with your accordion on the West panel.

    But, Based on the category I select on the top menu bar, I'd like to load different accordion menu in the West panel.

    Thanks in advance on any feedback you can provide me.

    Cheers,
    Francois

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664
    Vote Rating
    404
      0  

    Default

    Quote Originally Posted by hendersf View Post
    Hi jsakalos,

    I really like the accordion you have created, bravo.

    I'm trying to implement dynamic load of different accordion menu. Do you know a way of doing that?

    Here's the context, I have a top horizontal menu with a 4 different category.

    I'm using the Ext. Complexe Layout with your accordion on the West panel.

    But, Based on the category I select on the top menu bar, I'd like to load different accordion menu in the West panel.

    Thanks in advance on any feedback you can provide me.

    Cheers,
    Francois
    You can dynamically create Accordions and InfoPanels and you can dynamically load content of InfoPanels. There is the example of the last on http://aariadne.com/accordion-preview.

    There are also destroy methods on both InfoPanel and Accordion. You'd use these methods to destroy components if you need to.

    For creation, you only need to create container with DomHelper and then create an Accordion/InfoPanel(s) into it.

    Start with something simple, then build upon it.

    Cheers,
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  3. #3
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664
    Vote Rating
    404
      0  

    Default

    Francois,

    one more option: there are show/hide methods of InfoPanels.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  4. #4
    Ext User
    Join Date
    Aug 2007
    Posts
    8
    Vote Rating
    0
      0  

    Thumbs up show/hide does the work :)

    Thanks Saki,

    The show/hide method will do what I need. I'll may have to modify the code later on to use Auto-created panel, with no markup for optimization purpose.

    Thanks again

  5. #5
    Ext User
    Join Date
    Jun 2008
    Posts
    1
    Vote Rating
    0
      0  

    Default Dynamic accordion menu change

    I've noticed this with many CSS menus actually. That is to say, if my mouse is over a menu item and I click it to navigate to another page with the exact same menu in the same location without moving my mouse, IE doesn't know the mouse is over the link until I move out then back again over the link. It just seems to be the way IE behaves when it comes to this.
    fan of hank freid who posted his or her views

Posting Permissions

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