Forum .LRN Q&A: Re: Integration of Shadowbox.js in Xowiki - Pages

Collapse
Posted by Stefan Sobernig on
Christian,


My goal is to have thumbnails (as image snapshots manually taken) or basic links on an xowiki - page and if the user clicks on those thumbnails the reffered webpage is shown like in section WEB on http://mjijackson.com/shadowbox/.

Let me rephrase (to make sure I understand correctly). You want to place shadowbox-empowered anchors on your wiki pages (ordinary ::xowiki::Pages), e.g.:

[[shadowbox:caveman.swf|A flash strip|-gallery Mixed -width 520 -height 390]]

which then embeds a thumbnail (in a gallery context) into the rendered state of the xowiki Page, such as:

swf

If so, then you would have to implement your own "typed link", in XOWiki terms that offers the [[shadowbox:...]] prefix. Doing this is described, roughly, in our last conference tutorial on XOWiki, see slides 6.5 pp., including code snippets.