I recently moved from Lightbox 2 to Slimbox2, whilst it is a little outdated, Slimbox2 offers many advantages;
- jQuery language – no need for Prototype/Scriptaculous
- page doesn’t need to be loaded completely before being run
- has its own API
Unfortunately, it is missing automatic image resizing, which I love.
With the help of Example 9 on Neil’s Slimbox Examples, I have managed to hack together this feature which I am happy about.
Modified Slimbox2 with auto resize JavaScript
Modified Slimbox2 with auto resize CSS
Example in the below Image Map;
Leave a Reply