On May 5, 2009, at 12:00 PM, Vincent Massol wrote:
On May 5, 2009, at 11:55 AM, Lewis Denizen wrote:
Hi xwiki-users,
Quick proposal - would it be possible to enhance the box macro so
that it
includes two extra (optional) parameters:
"hideable"=[true/false]
"initial"=[show/hide]
It would be useful to have a show/hide button on box macros (and
all its
children) using JavaScript (possibly based on
http://code.xwiki.org/xwiki/bin/view/Snippets/ShowHideDIVSnippet).
Thanks!
hmmm... whould it be better to add a showhide macro instead that
could be used around anything?
<slightly OT>
BTW in the future we'll be able to write macros in velocity (by adding
a Macro object to a page) and it'll appear and be usable as a standard
macro written in java.
This is currently planned for 2.0M1
</slightly OT>
Thanks
-Vincent