Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Add content item for a collapsable HTML part #110

Open
espaan opened this issue Nov 28, 2012 · 5 comments
Open

Add content item for a collapsable HTML part #110

espaan opened this issue Nov 28, 2012 · 5 comments
Labels
Milestone

Comments

@espaan
Copy link
Member

espaan commented Nov 28, 2012

Sometimes it is very convenient to have a part of a page by default collapsed or at least with the option of collapsing/expading that part.

This could be done via Zikula.UI with the Panels,but might be overkill, easier would be via JQuery (or Prototype).

The default HTML content item could also be extended to be collapsible yes/no and if yes by default open/closed.

@Guite
Copy link
Member

Guite commented Aug 7, 2018

Maybe something like this would be appropriate:
https://getbootstrap.com/docs/3.3/javascript/#collapse-example-accordion

Implementation could be done similar to the TabNavigation content type.

@Guite Guite modified the milestones: 5.0.0, Future Aug 7, 2018
@rallek
Copy link
Contributor

rallek commented Sep 5, 2018

Or may be to make section collapsable and show the angle-down or angle-right and a headline to manage the opening or closing action.

In this case we should have another button left of styling classes might be collapsing. In this configuration the collapsing can be activated and a headline should be possible to add.

@Guite
Copy link
Member

Guite commented Sep 5, 2018

a headline should be possible to add

No, I don't like that, because this would introduce another layer for translations.

@rallek
Copy link
Contributor

rallek commented Sep 5, 2018

That is true! I did not think about translation.

@rallek
Copy link
Contributor

rallek commented Sep 5, 2018

Maybe something like this would be appropriate:
https://getbootstrap.com/docs/3.3/javascript/#collapse-example-accordion

Implementation could be done similar to the TabNavigation content type.

I do not like accordeon because only one item can be opend in a time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants