Information
Building on my previous example of a simple slideshow, this one takes it a step further and it becomes a multi-tabbed slideshow.
The addition of the four tabs allows you to add up to 72 more photos making a total of 96 possible separate images. As you can see from this demonstration you do not have to populate all the possible positions, the styling can cope with any number from 1 to 24 on each tabbed page.
As with the previous example there is also the option to have a few lines of descriptive text which will appear beneath the thumbnails.
There are just two images used in the presentation which are:
The main background image.
The 'selected' arrow image.
This is known to work in IE6, IE7, Firefox, Netscape 8 with IE rendering and Opera (hold down the mouse button to see full size image).
Just to make it a little different I have use a couple of lines of php to choose a random default image each time the page is reloaded. If anyone is interested this is the php used:
<h3>2nd March 2007</h3> <?php $num = Rand (1,31); ?> <div class="photo"> <img class="default"
src="photo/pic_<?php echo $num; ?>v.jpg" alt="" title="" />
All the photographs in this slideshow have been purchased from dreamstime for use on CSS play. These are copyright the various photographers and should not be copied without their permission.
Copyright
Because of all the time and effort spent in producing this demonstration I would ask that you respect my copyright.
1. If you are using this on a personal web site then please add a link back to CSSplay and retain any copyright comment in the stylesheet.
A donation to the 'Support CSSplay' fund would be appreciated.
2. If you are using this on a commercial web site, or as a paying job for a client, then please email me asking for permission - stu{at}cssplay.co.uk and in this case a donation to the 'Support CSSplay' fund is required.
3. 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 design in Dorset
Bournmouth based web design agency - SEO
First Rate - Australian SEO Company - web hosting, dedicated servers
web reseller, managed servers - CSS Menus
A CSSplay develoment - VPS Hosting
Virtuozzo VPS Hosting - $19.95/mo - Create Free Flash website
Create amazing websites with Wix.com
"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

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Vestibulum dapibus posuere enim.
Curabitur vel dui. Donec libero.
Ipsum, feugiat a, ultricies sit amet, rutrum at, purus.
Nulla iaculis gravida turpis. Integer imperdiet.
Aliquam justo nulla, sagittis ac, aliquam in, accumsan quis, tortor.
Mauris id ante.
Sed eu orci feugiat ante auctor interdum.
Aenean auctor consequat tellus.
Cras vitae est at quam bibendum aliquet.
Nunc ullamcorper orci at mauris.
Fusce pharetra, nulla vel tincidunt tristique.
Tellus purus porttitor metus, eget sagittis sem sem sit amet nunc.
Vivamus nec metus et nunc auctor tristique.
Mauris tincidunt.
Nisl eget euismod molestie, magna eros tincidunt magna.
Et facilisis nisi nunc et eros.
Morbi vitae diam vitae elit ultrices placerat.
Maecenas magna pede, suscipit vitae, porttitor nec, malesuada sed, pede.
Sed lacus leo, ultrices vel.
Vivamus nec metus et nunc auctor tristique.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Sed lacus leo, ultrices vel.
Et facilisis nisi nunc et eros.
Cras vitae est at quam bibendum aliquet.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean auctor consequat tellus.
Fusce pharetra, nulla vel tincidunt tristique.
Nisl eget euismod molestie, magna eros tincidunt magna.
Mauris tincidunt.
Mauris id ante.
Nunc ullamcorper orci at mauris.
Class aptent taciti sociosqu ad litora torquent per conubia nostra.
Cras et nibh vel arcu tempus elementum.
Donec interdum, nisi eget faucibus condimentum.
Vivamus nec metus et nunc auctor tristique.
Et facilisis nisi nunc et eros.
Cras vitae est at quam bibendum aliquet.
Vestibulum dapibus posuere enim.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Fusce pharetra, nulla vel tincidunt tristique.
Sed lacus leo, ultrices vel.
Aenean auctor consequat tellus.
Nisl eget euismod molestie, magna eros tincidunt magna.
Mauris tincidunt.
Mauris id ante.
Morbi vitae diam vitae elit ultrices placerat.
Nunc ullamcorper orci at mauris.
Cras vitae est at quam bibendum aliquet.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
A portrait in black and white
Sed lacus leo, ultrices vel.
Vestibulum dapibus posuere enim.
Aenean auctor consequat tellus.
Fusce pharetra, nulla vel tincidunt tristique.
Vivamus nec metus et nunc auctor tristique.
Nisl eget euismod molestie, magna eros tincidunt magna.
Mauris tincidunt.
Mauris id ante.


