Submit your widget

Image Preview Gallery

Created 13 years ago   Views 19111   downloads 3683    Author n/a
Image Preview Gallery
View DemoDownload
Share |

Here we have a bunch of thumbnails. When each thumbnail is rolled over, script will load an image that we have linked in HREF attribute of an A tag. That makes this method accessible as well, because user can still access the target image even with disabled JavaScript.

<a href="1.jpg" class="preview"><img src="1s.jpg" alt="gallery thumbnail" /></a>


or if you want to use caption add a title attribute:

<a href="image.jpg" class="preview" title="Great looking landscape">Roll over to preview</a>