Information
I have had many requests for a simple photo-gallery in which there is a horizontal row of numbers across the bottom of the gallery, and when your visitors click any of these numbers a corresponding full size image is displayed above.
Well this is about as simple as it gets. The text numbers and images are held in an unordered list without any extra markup (no 'ems' or 'spans' etc). The CSS just styles the text numbers so that they appears in a box and the images so that they are hidden until your visitor clicks a number square.
I have used both landscape and portrait images to show how these can be accommodated and have limited the sizes to 320 x 240 pixels and 240 x 320 pixels just to show the method. You can, of course, resize this to fit any size/combination of images.
Copyright
You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.
Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.
If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.
Recommended Sites
- web hosting, dedicated servers
web reseller, managed servers - Create Free Flash website
Create amazing websites with Wix.com - Web design in Dorset
Bournmouth based web design agency - CSS Menus
A CSSplay develoment - VPS Hosting
Virtuozzo VPS Hosting - $19.95/mo - SEO
First Rate - Australian SEO Company
"The
web site uses
CSS Play code for the site drop down menus.
This code works seamlessly in IE 6 & 7, and is an excellent solution to the Creative requirements of the site."
Damon Clark - Brandwidth
CSS play pages














