--
Jurian Sluiman
Soflomo.com
> Jurian Sluiman wrote:
> > With the display-group you could render things like fieldset (but also
> > any other element).
> >
> > I think what you want is dynamic behaviour which shouldn't be done with
> > html/css. This is behaviour meant for javascript. With the jQuery view
> > helper
> > it's really easy to accomplish.
>
> Display-group lends itself for easy wrapping. But a subform would do the
> same trick isn't it? Okay, that's less efficient of course.
> As I understand now, the purpose of a DisplayGroup is make it easy to
> decorate a set of elements as a whole.
> I conlude DisplayGroup would not fit this scenario, since you need to
> "decorate somehere between the elements rather than it's concatenated
> output".
>
>
> Well, of course I need JS to do the toggling. Deciding where to put the
> toggle-element could be off-loaded to Javascript of course. Good
> suggestion.
没有评论:
发表评论