back | css | thickbox | lightbox
This is a simple gallery using Thickbox, see how it compares with the Lightbox version. These two demos use the same images
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Flipflops.org - Lightbox vs Thickbox</title>
<style>
body {
font-size: 62.5%; /* Resets 1em to 10px */
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
/* background: #000000 url(/dev/daisy.gif) ; */
background: #ffffff url(/wp-content/themes/default/images/butterfly.gif);
background-position: left top;
color: #333;
}
</style>
<script type="text/javascript" src="/example/scripts/thickbox/jquery-latest.pack.js"></script>
<script type="text/javascript" src="/example/scripts/thickbox/thickbox.js"></script>
<link rel="stylesheet" href="/example/scripts/thickbox/thickbox.css" type="text/css" media="screen" />
<style>
#container {
margin: 42px auto 20px auto;
padding: 10px;
filter: alpha(Opacity=90);
opacity:.90;
background: #ffffff;
width: 600px;
}
.gallery {list-style-type: none;}
.gallery li {list-style-type: none; float: left; margin: 10px;}
a img {border: 0px;}
.cboth {clear: both;}
p {margin: 5px;}
</style>
</head>
<body>
<div id="container">
<h1>Thickbox</h1>
<p><a href="/" onclick="history.go(-1)">back</a> | <a href="#css">css</a> | <a href="/example/thickbox.html">thickbox</a> | <a href="/example/lightbox.html">lightbox</a> </p>
<p>This is a simple gallery using Thickbox, see how it compares with the Lightbox version. These two demos use the same images</p>
<ul class="gallery">
<li><a href="/example/pictures/image1.jpg" class="thickbox" rel="test"><img src="/example/pictures/thumb_image1.jpg" width="75" height="75" title="Test Image 1" /></a></li>
<li><a href="/example/pictures/image2.jpg" class="thickbox" rel="test"><img src="/example/pictures/thumb_image2.jpg" width="75" height="75" title="Test Image 2" /></a></li>
<li><a href="/example/pictures/image3.jpg" class="thickbox" rel="test"><img src="/example/pictures/thumb_image3.jpg" width="75" height="75" title="Test Image 3" /></a></li>
<li><a href="/example/pictures/image4.jpg" class="thickbox" rel="test"><img src="/example/pictures/thumb_image4.jpg" width="75" height="75" title="Test Image 4" /></a></li>
</ul>
</div>
</body>
</html>