Wiki source code of User Macro: include-lightbox - Floatbox
Version 1.1 by Normann P. Nielsen on 2026/11/15 15:43
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | Floatbox must be downloaded (an licensed) from [[http://floatboxjs.com/]] and placed in something like /opt/confluence/confluence/floatbox |
| 2 | |||
| 3 | {{success}}If the Flotbox 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 | <link type="text/css" rel="stylesheet" href="/floatbox/floatbox.css" /> | ||
| 19 | <script type="text/javascript" src="/floatbox/floatbox.js"></script> | ||
| 20 | |||
| 21 | {{/code}} |