Page 1 of 1

Floatbox extension

PostPosted: Sat Oct 31, 2009 1:53 am
by Schop
Hi,

I've finally updated my Floatbox extension to work with the latest PivotX 2.1.0 release (see attachment). the Floatbox documentation can be found here: http://randomous.com/floatbox/home.

It replaces thickbox, fancybox or whatever other boxes are there. You can use with the Gallery extension as well, just put something like this in your templates (and of course enable the gallery extension):
Code: Select all
<div class="gallery">
  [[gallery popup="floatbox"]]
    <a href='%imageurl%%filename%' class="floatbox" title="%title%" rel="gallery-%uid%" >
    <img src="%pivotxurl%includes/timthumb.php?src=%filename%&amp;w=106&amp;h=80&amp;zc=1" alt="%alttext%" />
    </a>
  [[/gallery]]
</div>


PS It's an older version of the floatbox.js script, because for newer versions you need to buy a license. This is version 2.42, which was released under a Creative Commons Attribution 3.0 License (http://creativecommons.org/licenses/by/3.0/)