ZJSK.COM
welcome to my space
X
Search:  
 HOME   Accordion events?
Accordion events?
Published by: smith 2010-03-17
Welcome to:zjsk.com

  • Schedule, Coupe Mondiale International Accordion Competition, 2009 ::
    7:30 PM, Pre-concert social event - To be Announced. 8:00 PM, Coupe Mondiale Digital Accordion Competition. 10:30 PM on, Festival Activity - To be Announced
    http://www.coupemondiale.org/2009/nz_schedule.htm
    HOME
    Hi folks...

    I have a showstopper problem that I'm trying to overcome. Simply stated, I need to fire a function any time a new Accordion pane is selected. If my read of the docs is correct, the Accordion exposes no events at all, and I've tracked back up the entire inheritance tree and none of its ancestors seems to either. Am I missing something?
    [2.0.2] Components inside of accordion do not fire hide/show ::
    3 posts - Last post: Apr 11When an accordion is expanded/collapsed, the inner panels do not fire hide and show events. I believe that the show event should be fired
    http://yui-ext.com/forum/showthread.php?t=32091
    HOME
    Accordion Yellow Pages::
    concert, competition, festival, workshop, masterclass, seminar, camp. Submit new Event. (C) 2007-2008 Accordion-YellowPages. All rights reserved.
    http://www.accordion-yellowpages.com/addlisting.aspx
    HOME

    This stops me dead in my tracks frankly because I foolishly got pretty far into a project assuming such an event was available (I should have confirmed that first), but it doesn't look like I can do it. Although I can think of some hacks (like a TaskRunner with a short interval that interrogates the Accordion's activeItem property and calls my function when it's changed), but they're ugly answers to be sure and I'd like something clean and proper.
    Accordion Phoenix, Accordions Phoenix, Accordionist Phoenix ::
    Local and National Listing of Accordion Musicians/entertainers For Parties, Weddings or Event Entertainment. featuring Accordionist Phoenix,
    http://www.partypop.com/Categories/Accordion_Players/Phoenix.htm
    HOME

    Thank in advance,
    Frank Zammetti

    FYI, I don't know if I'm allowed to say at this point frankly, but this is for a project that would I think be very interesting to the Ext JS community... if anyone recognizes my name you can take a pretty good guess what that project is :)


  • Tops. It would be handy if the accordion did have a 'change' event similar to the tab panel though. I'll check it out later to see how difficult it will be to add it.
  • Accordian Fest in Leavenworth WA::
    The 2008 Leavenworth International Accordion Celebration will be an exciting event – full of talented musicians, enthusiastic music lovers,
    http://www.icicleinn.com/festivals/accordianfest.htm
    HOME


  • Perfect, that works like a charm, thank you! As it turns out, while waiting for a reply I found the listeners config option, which I hadn't noticed before, and was just starting to go down that route, but you saved me the effort so I appreciate it! :)

    Frank


  • You'd need to listen to the expand event of the child panels in the accordion, you could do something like:


    myAccordion.add(myFunc('myTitle'));

    function myFunc(title)
    {
    return new Ext.Panel(
    {
    title: title,
    listeners: { 'expand': {fn: something, scope: foo}}
    }
    );
    }





  • Heres my question?
    Why would someone get bored with doing IT for 10 years?

    You are looking at:zjsk.com's Accordion events?, click zjsk.com to home
  • stock a photographers guide
  • sketchers first b w magazine
  • kirupa magazine
  • jonesmagazine
  • 3d master repost
  • magazine for the designers
  • flash street
  • iso400 concert photography magazine
  • flash street
  • hopeless romantics 2nd entry
  • taste buds 1st entry
  • sketchers first b w magazine
  • stonecold revisions
  •  
  • wheels magazine
  • wheels magazine
  • taste buds 1st entry
  • kirupa king
  • stock a photographers guide
  • snowboard city
  • lifestyle
  • culture magazine
  • kirupa magazine
  • kirupa king
  • snowboard city
  • culture magazine
  • 3d master repost
  • hopeless romantics 2nd entry
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 zjsk.com        Site made:CFZ