Skip to main content
August 18, 2008
Question

cfajax accordion

  • August 18, 2008
  • 1 reply
  • 1894 views
Can anyone recommend a strategy to mimic the accordion component in cfform flash with cfajax?

I've been trying to use the cflayoutarea accordion, but it is not all that great. For example, when you close the panel the title goes away... and the whole "center" position element is odd and limiting.

I would simply like the functionality I built with the cfform flash accordion component using cfajax.

Any help would be appreciated.

thanks,
alex
    This topic has been closed for replies.

    1 reply

    Inspiring
    August 18, 2008
    CFLAYOUT doesn't even specify "accordion" as a possible type, just "border", "hbox", "tab", and "vbox"

    Where did you see a way to create accordion in CFLAYOUT?

    It could be possible you stumbled upon something that was not fully implemented and therefore may not be something simple to mimic in the AJAX version.

    I know I like the Flash version as well but there are abilities that it can not perform - so if there really is a way to make an AJAX version of accordion, that would be great.

    August 18, 2008
    Ah! true. Sorry about that, I'm messing around with the type="border".

    Unfortunately flash forms are not "keeping up with the jones" so to speak. all I want to do is use autosuggest and now I am forced to rewrite my entire ui. so painful! I've prototyped with extjs, dojo, and yui - and they all lack one thing or another (ie. unnecessarily painful to connect to databases).

    i may have to end up using nested tabs - it will work, but its just not the same thing. The appearance is more amatur and I know my users will be so-so about it.
    Inspiring
    August 19, 2008
    Have you considered using Spry ??

    It has both accordian and autosuggest
    Spry Framework

    Ken