ho trovato un plug che sembra fare al caso mio ma non capisco le istruzioni che sono le seguenti:
This plugin loads the javascript library for the accordion functionality. There can be multiple accordion actions on a single page and can be anywhere you choose, including custom modules or any module which includes a textarea for frontend content display. Each will automatically close the other when opened.
No special container ID is used because each hyperlink opener will only open the next DDCONTAINER class it detects.Method: Add a class to the tag which will open the container like this
<a class=\ddopener\>Open Sesame</a >
The class can be added to any tag including <h1> and all the header tag series, <img>, <p> etc.
Then add
class=\ddcontainer\
to the hidden content container tag which can be any of these <p>, <div>, <table>, <tr>, <td>, <dt>, <dd> and so on
cosa dovrei fare?