Wiki source code of User Macro: include-lightbox - Slimbox2 including
Version 1.1 by Normann P. Nielsen on 2026/11/15 15:43
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | Slimbox and jquery must bedownloaded from [[http://www.digitalia.be/software/slimbox2]] and placed in something like /opt/confluence/confluence/slimbox |
| 2 | |||
| 3 | {{success}}If the OrangeBox is used widely on many pages, include the 2 files in the [[Custom HTML>>Main.atlassian.atlassian-confluence.styling-confluence.custom-html]] so its loaded for every page{{/success}} | ||
| 4 | |||
| 5 | |= Name| include-lightbox | ||
| 6 | |= Macro Body Processing| No macro body | ||
| 7 | |= Categories| Confluence Content | ||
| 8 | |= Usage| {include-lightbox} | ||
| 9 | |||
| 10 | |||
| 11 | |||
| 12 | Macro Code | ||
| 13 | |||
| 14 | |||
| 15 | {{code}} | ||
| 16 | ## @noparams | ||
| 17 | |||
| 18 | <script type="text/javascript" src="/slimbox/js/slimbox2.js"></script> | ||
| 19 | <link rel="stylesheet" href="/slimbox/css/slimbox2.css" type="text/css" media="screen" /> | ||
| 20 | |||
| 21 | {{/code}} |