[xwiki-users] Mindmap macro
I just discovered the Freemind macro and I'm very happy. This macro displays an attached freemind file in a wiki page using a flash component. It works fine, and the installation is straightforward. Thank you Fabio Mancinelli. A valuable enhancement would be to specify the height of the map as a parameter of the macro. I found a way to do it using the following snippet : (% id="flashcontent" style="height:800px" %)((( {{freemind map="FileName"/}} ))) It works but it's clearly dirty, it generates 2 div with the same id. If you have a better idea, I'll be happy to read you. Regards, Maxime
That is really great! :D Thank you Fabio Mancinelli. 2010/8/31 Maxime Mathieu <[email protected]>
I just discovered the Freemind macro and I'm very happy. This macro displays an attached freemind file in a wiki page using a flash component. It works fine, and the installation is straightforward. Thank you Fabio Mancinelli.
A valuable enhancement would be to specify the height of the map as a parameter of the macro. I found a way to do it using the following snippet :
(% id="flashcontent" style="height:800px" %)((( {{freemind map="FileName"/}} )))
It works but it's clearly dirty, it generates 2 div with the same id. If you have a better idea, I'll be happy to read you.
Regards, Maxime _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Atenciosamente, Erica Usui.
On 08/31/2010 12:20 PM, Maxime Mathieu wrote:
I just discovered the Freemind macro and I'm very happy. This macro displays an attached freemind file in a wiki page using a flash component. It works fine, and the installation is straightforward. Thank you Fabio Mancinelli.
A valuable enhancement would be to specify the height of the map as a parameter of the macro. I found a way to do it using the following snippet :
(% id="flashcontent" style="height:800px" %)((( {{freemind map="FileName"/}} )))
It works but it's clearly dirty, it generates 2 div with the same id. If you have a better idea, I'll be happy to read you.
Regards, Maxime
Hi Maxime, that was easy so I just modified the macro definition in order to take into account also width and height parameters. You can update it and it should work: {{freemind "map.mm" height="800px"}} Regards, Fabio
On 09/02/2010 02:54 PM, Fabio Mancinelli wrote:
Hi Maxime,
that was easy so I just modified the macro definition in order to take into account also width and height parameters.
You can update it and it should work: {{freemind "map.mm" height="800px"}}
Sorry, I typed too fast :) it should be {{freemind map="map.mm" height="800px"/}} Regards, Fabio
Great, it works fine. Thank you to find an answer so quickly. Just strange that the version is always the same ... Best regards, Maxime
participants (3)
-
Erica Usui -
Fabio Mancinelli -
Maxime Mathieu