OrangeBox must bedownloaded from http://orangebox.davidpaulhamilton.net/ and placed in something like /opt/confluence/confluence/orangebox
If the OrangeBox is used widely on many pages, include the files in the Global HTML
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.