Thursday, July 6th, 2006>p>Lightboxes seem to be as hot as auto complete widgets or mashups these days!
Jason Levine has modified Cody Lindley’s Thickbox code to create Slightly ThickerBox.
The modifications allow the script to generate “Previous Image” and “Next Image” links. The result is that you can use Slightly ThickerBox to create image galleries. In addition, you can create groups of galleries by setting a “rel” attribute on the links. (I also moved the Caption and Close link to the top and made the script case insensitive.)
To use Slightly ThickerBox, add the following HEAD section of your website.
- <link rel="stylesheet" href="css/thickbox.css" type="text/css" media="screen" />
Now, where you want the images to appear, add the following code:
- <a href="Filename.jpg" class="thickbox" rel="GroupName" title="Caption goes here" target="_blank"><img src="Thumbnail.jpg" /></a>
Posted by Dion Almaer at 10:34 pm