hi all,
i'm looking for a lightweight javascript for displaying images the way lightbox does. it should be small + simple, no jquery/mootools plugin, no animations.
i just should be able to display an image when clicking on its thumbnail.
thanks
hi all,
i'm looking for a lightweight javascript for displaying images the way lightbox does. it should be small + simple, no jquery/mootools plugin, no animations.
i just should be able to display an image when clicking on its thumbnail.
thanks
If you're looking for something really light-weight, you might take a look at this script.
To convert all links whose URLs end in .jpg, .png or .gif, add the following lines to the bottom of your page:
<script src="minibox.js" type="text/javascript"></script>
<script type="text/javascript">
minibox.borderSize = 5;
minibox.borderType = 'solid red';
minibox.img.title = 'click to close image window';
minibox();
</script>
There is no documentation, but the code is reasonably clear.