simple gallery
the script:
<script type="text/javascript">
$(document).ready(function() {
$("a.gallery").fancybox();
});
</script>
the html:
<div>
<a rel="group" class="gallery" title="title 1" href="images/01.jpg"
><img src="images/thumb _01.jpg" /></a>
<a rel="group" class="gallery" title="title 2" href="images/02.jpg"
><img src="images/thumb _02.jpg" /></a>
<a rel="group" class="gallery" title="title 3" href="images/03.jpg"
><img src="images/thumb _03.jpg" /></a>
...etc
</div>
the attribute 'rel' is very important to group the images within the
same gallery
the title will be shown as the caption of fancybox if exists
when you hover the current image (left or right) the navigation arrows
will show up
On Jun 9, 2:53 pm, Ben Andrew <
beand...@gmail.com> wrote:
> picture galleries. I want to have a group of thumbnails, click on them and
> the box pops up, and be able to click through to the next one.
>