Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

Slimbox and jquery must bedownloaded from http://www.digitalia.be/software/slimbox2 and placed in something like /opt/confluence/confluence/slimboxUpdate: I have found it better to put the slimbox 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

Tip

If the OrangeBox is used widely on many pages, include the 2 files in the Custom HTML so its loaded for every page

Name

include-lightbox

Macro Body Processing

No macro body

Output formatCategories

HTMLConfluence Content

Usage

{include-lightbox}

 

Macro Code

Kodeblok
<script type="text/javascript" src="/slimbox/js/jquery.js"></script>## @noparams

<script type="text/javascript" src="/slimbox/js/slimbox2.js"></script>
<link rel="stylesheet" href="/slimbox/css/slimbox2.css" type="text/css" media="screen" />

...