OrangeBox must bedownloaded from http://orangebox.davidpaulhamilton.net/ and placed in something like /opt/confluence/confluence/orangebox
Update: I have found it better to put the OrangeBox javascript-includes into the Main template (url: /admin/editdecorator.action?decoratorName=decorators/main.vmd) so I can use it with all stuff, like the {me-map} macro
Name | include-lightbox |
---|---|
Macro Body Processing | No macro body |
Output format | HTML |
Usage | {include-lightbox} |
Code
<script type="text/javascript" src="/slimbox/js/jquery.js"></script> <script type="text/javascript" src="/orangebox/js/orangebox.min.js"></script> <link rel="stylesheet" href="/orangebox/css/orangebox.css" type="text/css" />
This first line can often be omitted; in Confluence +v4.1 it collides with the jquery used by Confluence itself, so omitting it works just fine.