Slimbox (Extended Version)
2007-02-21 (Wed)
Slimbox is Lightbox clone by Christophe Beyls. This extended version has additional features as follows.
- Support to show external content by iframe. You can assign url not only for image but also for general html document.
- Support to set content size. You can add width/height parameter in rev attribute of the anchor url.
e.g.) rev="width=500, height=300" (For image content, you can also use percent value.) - Some rendering problem with IE6 is fixed. Now you can use Slimbox in valid XHTML document with XML prolog.
- Of course, license is same as original.(MIT-style)
Demo (click to view)
iframe content
Google | Yahoo! | local iframe content
width/height parameter
Image1 (Original size) | Image2 (50% size) | Iframe (pixel value only)
Download
slimbox_ex_070221.zip [88kb, library and sample code is included]
last update: 2007-02-21
Requirements and Usage
See the original Slimbox page. You need to download mootools javascript library at least.
Release note
- You might fall on error when point external site using mootools.js. Do not assign external site in anchor when using Slimbox to avoid conflicts as much as possible.