NAVIGATION
This shows you the differences between two versions of the page.
english:phpwcms-system:admin:template:custom_blocks:accordion-mootools-example [2010/05/18 08:51] Knut Heermann (flip-flop) |
english:phpwcms-system:admin:template:custom_blocks:accordion-mootools-example [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 13: | Line 13: | ||
\\ | \\ | ||
+ | |||
+ | Have a look too: Using Accordion tabs (MooTools V1.2x) in the CP Register/Tabs. [[english/phpwcms-system/article/contentparts/register-tabs/accordion-tabs]] | ||
+ | |||
**Frontend output:** | **Frontend output:** | ||
Line 213: | Line 216: | ||
}); | }); | ||
</code> | </code> | ||
+ | |||
+ | |||
+ | E.g. to be able to close the active block by clicking on himself again: | ||
+ | |||
+ | <code js> | ||
+ | opacity: false, alwaysHide: true, show: -1, | ||
+ | </code> | ||
+ | |||
+ | Options: [[http://mootools.net/docs/more/Fx/Fx.Accordion|Class: Fx.Accordion]] | ||
Line 258: | Line 270: | ||
- | The custom block {ACCORDION} is now empty // not delete)// until the tag {ACCORDION}. | + | All content of the custom block {ACCORDION} is now emptied // not deleted)// but the tag {ACCORDION}. |
<note> | <note> | ||
Line 266: | Line 278: | ||
\\ | \\ | ||
- | **A third variant** would be the use of the CP (Register) tabs instead of HTMP CPs. | + | **A third variant** would be the use of the CP (Register) tabs instead of HTML CPs. |