Image Gallery

We can add any JavaScript that we like to a web page in an unobtrusive way. The image gallery script shows you how to set up image gallery rollovers in an unobtrusive way.

This script can be added unobtrusively to any web page simply by including the appropriate script and link tags in the head of your page in order to link the JavaScript to your page. The only other change needed is to add the image references into your web page. You will need to amend the code to add in as many image references as you need. If you attach title attributes to the thumbnail images then they will be displayed as captions under the corresponding main image.

Download a complete copy of the Image Gallery including sample HTML that shows you how to attach this unobtrusive JavaScript into your page.


This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow