Du ser en gammel version af denne side. Se den nuværende version.

Sammenlign med nuværende Vis sidehistorik

« Forrige Version 9 Næste »

Slimbox JS and jquery must bedownloaded from http://www.digitalia.be/software/slimbox2 and placed in something like /opt/confluence/confluence/slimbox

Update: 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

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="/slimbox/js/slimbox2.js"></script>
<link rel="stylesheet" href="/slimbox/css/slimbox2.css" type="text/css" media="screen" />

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. 

  • Ingen etiketter