Stephane Caron wrote a very nice lightbox jQuery plugin called
prettyPhoto.
This plugin has been tested and is known to work in the following browsers:
• Firefox 3.0 (Mac/PC/Linux)
• Firefox 2.0 (Mac/PC)
• Safari 3.1.1 (Mac)
• Internet Explorer 6.0 (PC)
• Internet Explorer 7.0 (PC)
Simple to use it, just do like this:
Add rel="prettyPhoto" to any picture you want to activate the prettyPhoto feature.
This plugin has been tested and is known to work in the following browsers:
• Firefox 3.0 (Mac/PC/Linux)
• Firefox 2.0 (Mac/PC)
• Safari 3.1.1 (Mac)
• Internet Explorer 6.0 (PC)
• Internet Explorer 7.0 (PC)
Simple to use it, just do like this:
Add rel="prettyPhoto" to any picture you want to activate the prettyPhoto feature.
<a href="images/fullscreen/1.jpg" rel="prettyPhoto" title="Description">Then initialize prettyPhoto.
<img src="/images1.jpg" alt="Picture 1 title" />
</a>
<script type="text/javascript" charset="utf-8">For more details, please visit the site here.
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
});
</script>
How to encourage this blog if you like it:
- Promote our sponsors;
- Add any kind of comment or critic;
- Ask me directly by email if you prefer.