[TYPO3-mvc] Accordion widget

Martin Kutschker masi-no at spam-typo3.org
Fri Jan 15 10:12:31 CET 2010


Denyer Ec schrieb:
>> Let's start with a simple widget without any AJAX interaction:
>>
>> <f:widget.accordion>
>>  <f:widget.fold>Element A</f:widget.fold>
>>  <f:widget.fold>Element B</f:widget.fold>
>>  <f:widget.fold>Element C</f:widget.fold>
>> </f:widget.accordion>
>>
>> Possible attributes:
>>
>> * id
>> * class
>> * style
>>
>> Which other attributes does the widget need?
> 
> 
> Now I may well be missing the point here, but if you're talking about
> properties pertaining to an accordion widget, then:
> 
> * Default fold to open / no folds open to begin
> * Folds Remain Open / Only show one fold at once
> * Animation properties (Speed, style, etc)

That was the question.

> Of course, these might not live in the Fluid template, which is why I
> say I might be missing the point... :)

Why do you think they shouldn't be part of FLUID? The first two attributes should of course be added
to the widget. The last one is a bit tricky as it is probably not so easy to find FX attributes and
values that are portable to different JS frameworks.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list